This is an automated email from the ASF dual-hosted git repository.

yangjie01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f9e09ce2148 [SPARK-48021][ML][BUILD][FOLLOWUP] add 
`--add-modules=jdk.incubator.vector` to maven compile args
1f9e09ce2148 is described below

commit 1f9e09ce2148dfc5e0fd9f3e43e5ceef8133414b
Author: panbingkun <panbing...@baidu.com>
AuthorDate: Sun Apr 28 16:24:43 2024 +0800

    [SPARK-48021][ML][BUILD][FOLLOWUP] add `--add-modules=jdk.incubator.vector` 
to maven compile args
    
    ### What changes were proposed in this pull request?
    The pr is following up https://github.com/apache/spark/pull/46246
    The pr aims to  add `--add-modules=jdk.incubator.vector` to maven `compile 
args`.
    
    ### Why are the changes needed?
    As commented by LuciferYang , we need to be consistent in `maven` compile.
    https://github.com/apache/spark/pull/46246#issuecomment-2081298219
    <img width="907" alt="image" 
src="https://github.com/apache/spark/assets/15246973/26163da2-f27d-4ec2-893f-d9282b68aec1";>
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    Pass GA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No.
    
    Closes #46259 from panbingkun/SPARK-48021.
    
    Authored-by: panbingkun <panbing...@baidu.com>
    Signed-off-by: yangjie01 <yangji...@baidu.com>
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index b916659fdbfa..efbf93856333 100644
--- a/pom.xml
+++ b/pom.xml
@@ -304,6 +304,7 @@
     <!-- SPARK-36796 for JDK-17 test-->
     <extraJavaTestArgs>
       -XX:+IgnoreUnrecognizedVMOptions
+      --add-modules=jdk.incubator.vector
       --add-opens=java.base/java.lang=ALL-UNNAMED
       --add-opens=java.base/java.lang.invoke=ALL-UNNAMED
       --add-opens=java.base/java.lang.reflect=ALL-UNNAMED


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to