Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/test_wheel_cuopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,5 @@ if [[ "${RAPIDS_BUILD_TYPE}" == "nightly" ]]; then
./ci/thirdparty-testing/run_jump_tests.sh
./ci/thirdparty-testing/run_cvxpy_tests.sh
fi

./ci/thirdparty-testing/run_cvxpy_tests.sh
8 changes: 8 additions & 0 deletions ci/thirdparty-testing/run_jump_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ git clone https://github.com/jump-dev/cuOpt.jl.git "${CUOPT_JL_DIR}"

cd $CUOPT_JL_DIR || exit 1

# Patch cuOpt.jl to bypass version check
rapids-logger "Patching cuOpt.jl to relax cuOpt version constraint..."
if [ -f src/cuOpt.jl ]; then
# Replace max version in pattern: min, max = v"X.Y", v"A.B" -> v"99.99"
sed -i 's/\(min.*max.*=.*v"[0-9]\+\.[0-9]\+"\),\s*v"[0-9]\+\.[0-9]\+"/\1, v"99.99"/g' src/cuOpt.jl
rapids-logger "Updated max cuOpt version to v\"99.99\" - all versions will pass"
fi

# Find libcuopt.so and add its directory to LD_LIBRARY_PATH
LIBCUOPT_PATH=$(find /pyenv/ -name "libcuopt.so" -type f 2>/dev/null | head -1)

Expand Down
Loading