From c753752233d5ce66b09b512ffb9e10085f032fcc Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 17 Dec 2024 14:46:14 -0800 Subject: [PATCH] use constraints instead --- ci/build_wheel_libcugraph.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/build_wheel_libcugraph.sh b/ci/build_wheel_libcugraph.sh index 55e6dcc553..47b9b9a64f 100755 --- a/ci/build_wheel_libcugraph.sh +++ b/ci/build_wheel_libcugraph.sh @@ -22,7 +22,8 @@ RAFT_COMMIT="6bf5ebacd362a898d2580e88e17113ddcfeafdae" LIBRAFT_CHANNEL=$( RAPIDS_PY_WHEEL_NAME="libraft_${RAPIDS_PY_CUDA_SUFFIX}" rapids-get-pr-wheel-artifact raft 2531 cpp "${RAFT_COMMIT:0:7}" ) -echo "libraft-${RAPIDS_PY_CUDA_SUFFIX} @ file://$(echo ${LIBRAFT_CHANNEL}/libraft_*.whl)" >> /tmp/requirements-build.txt +echo "libraft-${RAPIDS_PY_CUDA_SUFFIX} @ file://$(echo ${LIBRAFT_CHANNEL}/libraft_*.whl)" >> /tmp/constraints.txt +export PIP_CONSTRAINT=/tmp/constraints.txt ls ${LIBRAFT_CHANNEL}/ @@ -35,6 +36,8 @@ python -m pip install \ --prefer-binary \ -r /tmp/requirements-build.txt +rapids-logger "Done build requirements" + # build with '--no-build-isolation', for better sccache hit rate # 0 really means "add --no-build-isolation" (ref: https://github.com/pypa/pip/issues/5735) export PIP_NO_BUILD_ISOLATION=0