Skip to content

Commit c130bf2

Browse files
committed
added wheel build location
1 parent a123a5d commit c130bf2

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
sha: ${{ inputs.sha }}
5353
date: ${{ inputs.date }}
5454
script: ci/build_wheel.sh
55+
package-type: python
56+
wheel-name: ucx_py
5557
wheel-publish:
5658
needs: wheel-build
5759
secrets: inherit

.github/workflows/pr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
with:
6060
build_type: pull-request
6161
script: ci/build_wheel.sh
62+
package-type: python
63+
wheel-name: ucx_py
6264
wheel-tests:
6365
needs: wheel-build
6466
secrets: inherit

ci/build_wheel.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -euo pipefail
55

66
source rapids-date-string
77

8+
wheel_dir=${RAPIDS_WHEEL_BLD_OUTPUT_DIR}
9+
810
rapids-generate-version > ./VERSION
911

1012
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
@@ -17,16 +19,15 @@ rapids-pip-retry wheel \
1719
--config-settings rapidsai.disable-cuda=false \
1820
.
1921

20-
mkdir -p final_dist
2122
python -m auditwheel repair \
22-
-w final_dist \
23+
-w "${wheel_dir}" \
2324
--exclude "libucm.so.0" \
2425
--exclude "libucp.so.0" \
2526
--exclude "libucs.so.0" \
2627
--exclude "libucs_signal.so.0" \
2728
--exclude "libuct.so.0" \
2829
dist/*
2930

30-
./ci/validate_wheel.sh final_dist
31+
./ci/validate_wheel.sh "${wheel_dir}"
3132

32-
RAPIDS_PY_WHEEL_NAME="ucx_py_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 python final_dist
33+
RAPIDS_PY_WHEEL_NAME="ucx_py_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 python "${wheel_dir}"

0 commit comments

Comments
 (0)