Skip to content

Commit f38ff20

Browse files
authored
[CI] Migrate to rockylinux8 / manylinux_2_28_x86_64 (dmlc#10399) (dmlc#10436)
1 parent 63b49f3 commit f38ff20

25 files changed

+142
-182
lines changed

dev/release-artifacts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def download_py_packages(
123123
) -> None:
124124
platforms = [
125125
"win_amd64",
126-
"manylinux2014_x86_64",
127-
"manylinux2014_aarch64",
126+
"manylinux_2_28_x86_64",
127+
"manylinux_2_28_aarch64",
128128
"macosx_10_15_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64",
129129
"macosx_12_0_arm64",
130130
]

python-package/xgboost/testing/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,6 @@ def skip_win() -> PytestSkip:
195195
return {"reason": "Unsupported platform.", "condition": is_windows()}
196196

197197

198-
def skip_s390x() -> PytestSkip:
199-
condition = platform.machine() == "s390x"
200-
reason = "Known to fail on s390x"
201-
return {"condition": condition, "reason": reason}
202-
203-
204198
class IteratorForTest(xgb.core.DataIter):
205199
"""Iterator for testing streaming DMatrix. (external memory, quantile)"""
206200

@@ -523,7 +517,6 @@ def make_sparse_regression(
523517
524518
"""
525519
if not hasattr(np.random, "default_rng"):
526-
# old version of numpy on s390x
527520
rng = np.random.RandomState(1994)
528521
X = sparse.random(
529522
m=n_samples,

tests/buildkite/build-containers.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ case "${container}" in
2020
cpu)
2121
;;
2222

23-
gpu)
24-
BUILD_ARGS="$BUILD_ARGS --build-arg CUDA_VERSION_ARG=$CUDA_VERSION"
25-
BUILD_ARGS="$BUILD_ARGS --build-arg NCCL_VERSION_ARG=$NCCL_VERSION"
26-
BUILD_ARGS="$BUILD_ARGS --build-arg RAPIDS_VERSION_ARG=$RAPIDS_VERSION"
27-
;;
28-
29-
gpu_build_centos7)
23+
gpu|gpu_build_rockylinux8)
3024
BUILD_ARGS="$BUILD_ARGS --build-arg CUDA_VERSION_ARG=$CUDA_VERSION"
3125
BUILD_ARGS="$BUILD_ARGS --build-arg NCCL_VERSION_ARG=$NCCL_VERSION"
3226
BUILD_ARGS="$BUILD_ARGS --build-arg RAPIDS_VERSION_ARG=$RAPIDS_VERSION"

tests/buildkite/build-cpu-arm64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
WHEEL_TAG=manylinux2014_aarch64
5+
WHEEL_TAG=manylinux_2_28_aarch64
66

77
echo "--- Build CPU code targeting ARM64"
88

@@ -24,7 +24,7 @@ $command_wrapper python tests/ci_build/rename_whl.py \
2424
--commit-hash ${BUILDKITE_COMMIT} \
2525
--platform-tag ${WHEEL_TAG}
2626

27-
echo "--- Audit binary wheel to ensure it's compliant with manylinux2014 standard"
27+
echo "--- Audit binary wheel to ensure it's compliant with ${WHEEL_TAG} standard"
2828
$command_wrapper auditwheel repair --plat ${WHEEL_TAG} python-package/dist/*.whl
2929
$command_wrapper python tests/ci_build/rename_whl.py \
3030
--wheel-path wheelhouse/*.whl \

tests/buildkite/build-cuda-with-rmm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
WHEEL_TAG=manylinux2014_x86_64
5+
WHEEL_TAG=manylinux_2_28_x86_64
66

77
source tests/buildkite/conftest.sh
88

@@ -15,7 +15,7 @@ else
1515
arch_flag=""
1616
fi
1717

18-
command_wrapper="tests/ci_build/ci_build.sh gpu_build_centos7 --build-arg "`
18+
command_wrapper="tests/ci_build/ci_build.sh gpu_build_rockylinux8 --build-arg "`
1919
`"CUDA_VERSION_ARG=$CUDA_VERSION --build-arg "`
2020
`"NCCL_VERSION_ARG=$NCCL_VERSION --build-arg "`
2121
`"RAPIDS_VERSION_ARG=$RAPIDS_VERSION"
@@ -41,7 +41,7 @@ $command_wrapper python tests/ci_build/rename_whl.py \
4141
--commit-hash ${BUILDKITE_COMMIT} \
4242
--platform-tag ${WHEEL_TAG}
4343

44-
echo "--- Audit binary wheel to ensure it's compliant with manylinux2014 standard"
44+
echo "--- Audit binary wheel to ensure it's compliant with ${WHEEL_TAG} standard"
4545
tests/ci_build/ci_build.sh auditwheel_x86_64 auditwheel repair \
4646
--plat ${WHEEL_TAG} python-package/dist/*.whl
4747
$command_wrapper python tests/ci_build/rename_whl.py \

tests/buildkite/build-cuda.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
WHEEL_TAG=manylinux2014_x86_64
5+
WHEEL_TAG=manylinux_2_28_x86_64
66

77
source tests/buildkite/conftest.sh
88

@@ -15,7 +15,7 @@ else
1515
arch_flag=""
1616
fi
1717

18-
command_wrapper="tests/ci_build/ci_build.sh gpu_build_centos7 --build-arg "`
18+
command_wrapper="tests/ci_build/ci_build.sh gpu_build_rockylinux8 --build-arg "`
1919
`"CUDA_VERSION_ARG=$CUDA_VERSION --build-arg "`
2020
`"NCCL_VERSION_ARG=$NCCL_VERSION --build-arg "`
2121
`"RAPIDS_VERSION_ARG=$RAPIDS_VERSION"
@@ -40,7 +40,7 @@ $command_wrapper python tests/ci_build/rename_whl.py \
4040
--commit-hash ${BUILDKITE_COMMIT} \
4141
--platform-tag ${WHEEL_TAG}
4242

43-
echo "--- Audit binary wheel to ensure it's compliant with manylinux2014 standard"
43+
echo "--- Audit binary wheel to ensure it's compliant with ${WHEEL_TAG} standard"
4444
tests/ci_build/ci_build.sh auditwheel_x86_64 auditwheel repair \
4545
--plat ${WHEEL_TAG} python-package/dist/*.whl
4646
$command_wrapper python tests/ci_build/rename_whl.py \

tests/buildkite/build-gpu-rpkg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source tests/buildkite/conftest.sh
66

77
echo "--- Build XGBoost R package with CUDA"
88

9-
tests/ci_build/ci_build.sh gpu_build_r_centos7 \
9+
tests/ci_build/ci_build.sh gpu_build_r_rockylinux8 \
1010
--build-arg CUDA_VERSION_ARG=${CUDA_VERSION} \
1111
--build-arg R_VERSION_ARG=${R_VERSION} \
1212
tests/ci_build/build_r_pkg_with_cuda.sh \

tests/buildkite/conftest.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ set -x
2525
CUDA_VERSION=11.8.0
2626
NCCL_VERSION=2.16.5-1
2727
RAPIDS_VERSION=24.04
28-
SPARK_VERSION=3.4.0
28+
DEV_RAPIDS_VERSION=24.06
29+
SPARK_VERSION=3.5.1
2930
JDK_VERSION=8
3031
R_VERSION=4.3.2
3132

tests/buildkite/pipeline-mgpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ steps:
1717
- label: ":docker: Build containers"
1818
commands:
1919
- "tests/buildkite/build-containers.sh gpu"
20-
- "tests/buildkite/build-containers.sh gpu_build_centos7"
20+
- "tests/buildkite/build-containers.sh gpu_build_rockylinux8"
2121
- "tests/buildkite/build-containers.sh jvm_gpu_build"
2222
key: build-containers
2323
agents:

tests/buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
commands:
1616
- "tests/buildkite/build-containers.sh cpu"
1717
- "tests/buildkite/build-containers.sh gpu"
18-
- "tests/buildkite/build-containers.sh gpu_build_centos7"
18+
- "tests/buildkite/build-containers.sh gpu_build_rockylinux8"
1919
key: build-containers
2020
agents:
2121
queue: linux-amd64-cpu

0 commit comments

Comments
 (0)