Skip to content

[JVM] Drop support for glibc 2.17. - #12442

Merged
trivialfis merged 3 commits into
dmlc:masterfrom
trivialfis:jvm-glibc
Aug 11, 2026
Merged

trivialfis merged 3 commits into
dmlc:masterfrom
trivialfis:jvm-glibc

Conversation

@trivialfis

@trivialfis trivialfis commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

ref dmlc/xgboost-devops#102

  • Revert image tag.

changes

  • Use glibc 2.28.
  • Use openjdk 17.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CI pipeline for JVM and Python packaging to stop targeting glibc 2.17 / manylinux2014 and instead use the newer manylinux_2_28 (glibc 2.28) baseline, aligning JVM native builds with the repository’s newer manylinux target.

Changes:

  • Switch JVM manylinux build to manylinux_2_28 (glibc 2.28) and update the JVM tests workflow/job naming accordingly.
  • Improve JVM CI efficiency by stashing/unstashing the built libxgboost4j.so and skipping native rebuilds when testing JVM packages.
  • Thread Maven options (GPU / skip native build) through Spark compatibility builds and example tests.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ops/pipeline/get-image-tag.sh Adjusts CI image tag selection (currently hard-coded to a PR tag).
ops/pipeline/build-test-jvm-packages.sh Reorders logic so Spark matrix builds and example tests receive consistent Maven options.
ops/pipeline/build-python-wheels-cpu.sh Updates usage messaging to reflect manylinux_2_28 targeting.
ops/pipeline/build-jvm-manylinux.sh Switches JVM native build container from manylinux2014 to manylinux_2_28 and keeps the built .so in place for downstream steps.
.github/workflows/jvm_tests.yml Renames/rewires jobs for glibc 2.28 builds and adds S3 stash/unstash + integrity checks for the native library.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ops/pipeline/build-python-wheels-cpu.sh
Comment thread ops/pipeline/get-image-tag.sh Outdated
@trivialfis trivialfis changed the title [WIP][JVM] Drop support for glibc 2.17. [JVM] Drop support for glibc 2.17. Aug 11, 2026
@trivialfis
trivialfis requested a review from chyunsu3 August 11, 2026 10:09
@trivialfis
trivialfis marked this pull request as ready for review August 11, 2026 16:23
@trivialfis
trivialfis merged commit 8ca7d22 into dmlc:master Aug 11, 2026
82 of 83 checks passed
@trivialfis
trivialfis deleted the jvm-glibc branch August 11, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants