Skip to content

Commit 10f116b

Browse files
Remove papilo from getting added to packaging (NVIDIA#521)
A follow-up PR for NVIDIA#507, this PR uses EXCLUDE_FROM_ALL on papilo. Authors: - Ramakrishnap (https://github.com/rgsl888prabhu) Approvers: - Trevor McKay (https://github.com/tmckayus) - Vyas Ramasubramani (https://github.com/vyasr) URL: NVIDIA#521
1 parent 92bcb0d commit 10f116b

4 files changed

Lines changed: 1 addition & 7 deletions

File tree

ci/build_wheel_libcuopt.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ EXCLUDE_ARGS=(
7979
--exclude "librapids_logger.so"
8080
--exclude "libmps_parser.so"
8181
--exclude "librmm.so"
82-
--exclude "libpapilo-core.a"
8382
)
8483

8584
ci/build_wheel.sh libcuopt ${package_dir}

conda/recipes/libcuopt/recipe.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ outputs:
131131
script:
132132
content: |
133133
cmake --install cpp/build
134-
# Remove papilo _deps directory from cmake files
135-
rm -rf "${PREFIX}/lib/cmake/papilo/_deps"
136134
dynamic_linking:
137135
overlinking_behavior: "error"
138136
prefix_detection:

cpp/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ FetchContent_Declare(
191191
#we can switch to the main branch.
192192
GIT_TAG "741a2b9c8155b249d6df574d758b4d97d4417520"
193193
GIT_PROGRESS TRUE
194+
EXCLUDE_FROM_ALL
194195
SYSTEM
195196
)
196197

python/libcuopt/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ sdist.reproducible = true
8282
wheel.packages = ["libcuopt"]
8383
wheel.install-dir = "libcuopt"
8484
wheel.py-api = "py3"
85-
wheel.exclude = [
86-
"libcuopt/lib64/cmake/papilo/_deps/**",
87-
"libcuopt/lib/cmake/papilo/_deps/**",
88-
]
8985

9086
[tool.scikit-build.metadata.version]
9187
provider = "scikit_build_core.metadata.regex"

0 commit comments

Comments
 (0)