Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 1 addition & 3 deletions conda/recipes/cuopt/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0
schema_version: 1

Expand Down Expand Up @@ -65,7 +65,6 @@ requirements:
- rapids-build-backend >=0.4.0,<0.5.0
- rmm =${{ minor_version }}
- scikit-build-core>=0.11.0
- cuda-cudart-dev
- if: cuda_major == "12"
then: cuda-python >=12.9.2,<13.0
else: cuda-python >=13.0.1,<14.0
Expand Down Expand Up @@ -94,7 +93,6 @@ requirements:
else: cuda-python >=13.0.1,<14.0
ignore_run_exports:
by_name:
- cuda-cudart
- cuda-version

tests:
Expand Down
6 changes: 0 additions & 6 deletions conda/recipes/libcuopt/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ cache:
- libcudss-dev >=0.7
- libcurand-dev
- libcusparse-dev
- cuda-cudart-dev
- libboost-devel
- tbb-devel
- zlib
Expand Down Expand Up @@ -107,7 +106,6 @@ outputs:
- bzip2
ignore_run_exports:
by_name:
- cuda-cudart
- cuda-nvtx
- cuda-version
- libcurand
Expand Down Expand Up @@ -149,7 +147,6 @@ outputs:
- cuda-version =${{ cuda_version }}
- rapids-logger =0.2
- librmm =${{ minor_version }}
- cuda-cudart-dev
- libcublas
- libcudss-dev >=0.7
- libcusparse-dev
Expand All @@ -162,7 +159,6 @@ outputs:
- libcudss
ignore_run_exports:
by_name:
- cuda-cudart
- cuda-nvtx
- cuda-version
- libcudss
Expand Down Expand Up @@ -199,7 +195,6 @@ outputs:
- ${{ pin_subpackage("libcuopt", exact=True) }}
- ${{ pin_subpackage("libmps-parser", exact=True) }}
- libboost-devel
- cuda-cudart-dev
- libcublas
- libcudss-dev >=0.7
- libcusparse-dev
Expand All @@ -208,7 +203,6 @@ outputs:
- ${{ pin_subpackage("libmps-parser", exact=True) }}
ignore_run_exports:
by_name:
- cuda-cudart
- cuda-nvtx
- cuda-version
- libcurand
Expand Down
5 changes: 2 additions & 3 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# cmake-format: off
# SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2021-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# cmake-format: on

Expand Down Expand Up @@ -41,7 +41,6 @@ rapids_cmake_build_type(Release)
option(CMAKE_CUDA_LINEINFO "Enable the -lineinfo option for nvcc useful for cuda-memcheck / profiler" ON)
option(BUILD_TESTS "Configure CMake to build tests" ON)
option(DISABLE_OPENMP "Disable OpenMP" OFF)
option(CUDA_STATIC_RUNTIME "Statically link the CUDA toolkit runtime and libraries" OFF)
option(BUILD_LP_ONLY "Build only linear programming components, exclude routing and MIP-specific files" OFF)
option(SKIP_C_PYTHON_ADAPTERS "Skip building C and Python adapter files (cython_solve.cu and cuopt_c.cpp)" OFF)
option(SKIP_ROUTING_BUILD "Skip building routing components" OFF)
Expand All @@ -62,7 +61,7 @@ message(VERBOSE "cuOpt: fatbin: ${WRITE_FATBIN}")
# - compiler options ------------------------------------------------------------------------------

# CUDA runtime
rapids_cuda_init_runtime(USE_STATIC ${CUDA_STATIC_RUNTIME})
rapids_cuda_init_runtime(USE_STATIC ON)

rapids_find_package(CUDAToolkit REQUIRED
BUILD_EXPORT_SET cuopt-exports
Expand Down
4 changes: 1 addition & 3 deletions python/cuopt/cuopt/linear_programming/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# cmake-format: off
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# cmake-format: on

Expand Down Expand Up @@ -38,8 +38,6 @@ if(NOT mps_parser_FOUND)

set(_exclude_from_all "")
if(CUOPT_BUILD_WHEELS)
# Statically link dependencies if building wheels
# set(CUDA_STATIC_RUNTIME ON)
# Don't install the cuopt C++ targets into wheels
set(_exclude_from_all EXCLUDE_FROM_ALL)
endif()
Expand Down
3 changes: 1 addition & 2 deletions python/libcuopt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# cmake-format: off
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# cmake-format: on

Expand Down Expand Up @@ -56,7 +56,6 @@ option(LUSOL "Disable LUSOL" OFF)
set(BUILD_TESTS OFF)
set(BUILD_BENCHMARKS OFF)
set(CUOPT_BUILD_TESTUTIL OFF)
set(CUDA_STATIC_RUNTIME ON)

add_subdirectory(../../cpp cuopt-cpp)

Expand Down