Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
panbingkun committed Apr 26, 2024
1 parent b0e03a1 commit 74fcdb4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,6 @@ object SparkBuild extends PomBuild {
(publishLocal / skip)).value,
publishLocal := Seq((MavenCompile / publishLocal), (SbtCompile / publishLocal)).dependOn.value,

javaOptions ++= {
val versionParts = System.getProperty("java.version").split("[+.\\-]+", 3)
val major = versionParts(0).toInt
if (major >= 21) {
Seq("--add-modules=jdk.incubator.vector", "-Dforeign.restricted=warn")
} else {
Seq("--add-modules=jdk.incubator.vector,jdk.incubator.foreign", "-Dforeign.restricted=warn")
}
},

(Compile / doc / javacOptions) ++= {
Seq("-Xdoclint:all", "-Xdoclint:-missing")
},
Expand Down

0 comments on commit 74fcdb4

Please sign in to comment.