Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable implicit JDK profile activation [databricks] #9591

Merged
merged 25 commits into from
Nov 2, 2023

Conversation

gerashegalov
Copy link
Collaborator

@gerashegalov gerashegalov commented Oct 31, 2023

  • creates a generic pom to activate for all JDK9+
  • by default enforces usage of Java 8, 11, 17 tested by CI
  • documents how to experiment with other Java versions
  • removes hardcoding of -target/release in Scala 2.13 builds
  • removes explicit -Pjdk11,17 from github workflows

Test

JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 ./build/buildall --profile=330,350 --scala213
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 TEST_PARALLEL=0 SPARK_HOME=~/dist/spark-3.5.0-bin-hadoop3-scala2.13 ./integration_tests/run_pyspark_from_build.sh -s -k array_exists

Closes #9589

Signed-off-by: Gera Shegalov [email protected]

Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
- single profile to cover JDK9+

Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
@gerashegalov gerashegalov self-assigned this Oct 31, 2023
@gerashegalov gerashegalov added build Related to CI / CD or cleanly building Scala 2.13 Issues related to Scala 2.13 binaries labels Oct 31, 2023
@gerashegalov
Copy link
Collaborator Author

build

@gerashegalov
Copy link
Collaborator Author

build

jdk-profiles/pom.xml Show resolved Hide resolved
pom.xml Show resolved Hide resolved
@pxLi pxLi merged commit 525c73e into NVIDIA:branch-23.12 Nov 2, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building Scala 2.13 Issues related to Scala 2.13 binaries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Scala 2.13 build hard-codes Java 8 target
4 participants