Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually overwrite the manylinux policy for rocky
Browse files Browse the repository at this point in the history
vyasr committed Oct 28, 2023
1 parent c6d2054 commit d92161e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/build_wheel_cudf.sh
Original file line number Diff line number Diff line change
@@ -10,6 +10,13 @@ export SKBUILD_CONFIGURE_OPTIONS="-DCUDF_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF"
./ci/build_wheel.sh cudf ${package_dir}

mkdir -p ${package_dir}/final_dist
if command -v dnf >/dev/null 2>&1 ; then
export POLICY="manylinux_2_28"
export REAL_ARCH=$(arch)
export AUDITWHEEL_POLICY=${POLICY}
export AUDITWHEEL_ARCH=${REAL_ARCH}
export AUDITWHEEL_PLAT=${POLICY}_${REAL_ARCH}
fi
python -m auditwheel repair -w ${package_dir}/final_dist ${package_dir}/dist/*

RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

0 comments on commit d92161e

Please sign in to comment.