From ba9be3cd73b20428e71839dbc540247b00429f5f Mon Sep 17 00:00:00 2001 From: Graham Markall <535640+gmarkall@users.noreply.github.com> Date: Tue, 30 Apr 2024 21:34:58 +0100 Subject: [PATCH] Run auditwheel on built wheels (#76) This should have been done anyway - it is being done now to ensure we have the correct platform tags. The scikit-build-core 0.9.0 release changed such that the platform tags were now "correct", but not what we need - `linux_x86-64` and `linux_aarch64` instead of `manylinux_2_17` and `manylinux_2_28`. Reference: https://github.com/scikit-build/scikit-build-core/pull/698#issuecomment-2082991257 --- ci/build_wheel.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/build_wheel.sh b/ci/build_wheel.sh index 881440cf..ce6a8c08 100755 --- a/ci/build_wheel.sh +++ b/ci/build_wheel.sh @@ -19,5 +19,7 @@ rapids-logger "Build wheel" mkdir -p ./dist python -m pip wheel . --wheel-dir=./dist -vvv --disable-pip-version-check --no-deps +python -m auditwheel repair -w ./final_dist ./dist/* + rapids-logger "Upload Wheel" -RAPIDS_PY_WHEEL_NAME="pynvjitlink_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 ./dist +RAPIDS_PY_WHEEL_NAME="pynvjitlink_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 ./final_dist