Skip to content

Commit

Permalink
use constraints instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Dec 17, 2024
1 parent 3a07f41 commit c753752
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/build_wheel_libcugraph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}/

Expand All @@ -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
Expand Down

0 comments on commit c753752

Please sign in to comment.