Skip to content

Commit

Permalink
Modifies wheel upload based on if auditwheel needs to be run or not.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlratzel committed Sep 22, 2023
1 parent f79f231 commit 0fbddeb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ cd "${package_dir}"

python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check

mkdir -p final_dist

# nx-cugraph is a pure-python package and should not have auditwheel run on it.
# pure-python packages should not have auditwheel run on them.
if [[ ${package_name} != "nx-cugraph" ]]; then
mkdir -p final_dist
python -m auditwheel repair -w final_dist dist/*
RAPIDS_PY_WHEEL_NAME="${package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 final_dist
else
RAPIDS_PY_WHEEL_NAME="${package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 dist
fi

RAPIDS_PY_WHEEL_NAME="${package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 final_dist

0 comments on commit 0fbddeb

Please sign in to comment.