From a23e758fc2eae6dec0c0a57f1bf13718a606d2f9 Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 14:05:26 -0500 Subject: [PATCH 1/3] use EXCLUDE_FROM_ALL --- cpp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index ab18b6fab4..70c6ea0cc7 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -191,6 +191,7 @@ FetchContent_Declare( #we can switch to the main branch. GIT_TAG "741a2b9c8155b249d6df574d758b4d97d4417520" GIT_PROGRESS TRUE + EXCLUDE_FROM_ALL SYSTEM ) From 7626bfaeb8c0f9b50622b9b166b51368454ead6d Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 14:08:45 -0500 Subject: [PATCH 2/3] remove old changes --- ci/build_wheel_libcuopt.sh | 2 +- python/libcuopt/pyproject.toml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ci/build_wheel_libcuopt.sh b/ci/build_wheel_libcuopt.sh index 0bd218399f..75bf6ddc28 100755 --- a/ci/build_wheel_libcuopt.sh +++ b/ci/build_wheel_libcuopt.sh @@ -79,7 +79,7 @@ EXCLUDE_ARGS=( --exclude "librapids_logger.so" --exclude "libmps_parser.so" --exclude "librmm.so" - --exclude "libpapilo-core.a" + #--exclude "libpapilo-core.a" ) ci/build_wheel.sh libcuopt ${package_dir} diff --git a/python/libcuopt/pyproject.toml b/python/libcuopt/pyproject.toml index c4aa4e2cbf..62f8011dc1 100644 --- a/python/libcuopt/pyproject.toml +++ b/python/libcuopt/pyproject.toml @@ -82,10 +82,6 @@ sdist.reproducible = true wheel.packages = ["libcuopt"] wheel.install-dir = "libcuopt" wheel.py-api = "py3" -wheel.exclude = [ - "libcuopt/lib64/cmake/papilo/_deps/**", - "libcuopt/lib/cmake/papilo/_deps/**", -] [tool.scikit-build.metadata.version] provider = "scikit_build_core.metadata.regex" From 3c0e3a5fdfe413fe74f42b98f609b2168012e3bb Mon Sep 17 00:00:00 2001 From: Ramakrishna Prabhu Date: Tue, 21 Oct 2025 17:12:17 -0500 Subject: [PATCH 3/3] remove old and commented code --- ci/build_wheel_libcuopt.sh | 1 - conda/recipes/libcuopt/recipe.yaml | 2 -- 2 files changed, 3 deletions(-) diff --git a/ci/build_wheel_libcuopt.sh b/ci/build_wheel_libcuopt.sh index 75bf6ddc28..c0df81f1b8 100755 --- a/ci/build_wheel_libcuopt.sh +++ b/ci/build_wheel_libcuopt.sh @@ -79,7 +79,6 @@ EXCLUDE_ARGS=( --exclude "librapids_logger.so" --exclude "libmps_parser.so" --exclude "librmm.so" - #--exclude "libpapilo-core.a" ) ci/build_wheel.sh libcuopt ${package_dir} diff --git a/conda/recipes/libcuopt/recipe.yaml b/conda/recipes/libcuopt/recipe.yaml index 7f754f4d3a..8517fc45b7 100644 --- a/conda/recipes/libcuopt/recipe.yaml +++ b/conda/recipes/libcuopt/recipe.yaml @@ -131,8 +131,6 @@ outputs: script: content: | cmake --install cpp/build - # Remove papilo _deps directory from cmake files - rm -rf "${PREFIX}/lib/cmake/papilo/_deps" dynamic_linking: overlinking_behavior: "error" prefix_detection: