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
11 changes: 9 additions & 2 deletions rapids-cmake/cpm/nvbench.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ across all RAPIDS projects.
Will build nvbench statically. No local searching for a previously
built version will occur.

.. versionchanged:: v24.02.00

NVBench_ENABLE_CUPTI is set to OFF by default.

Result Targets
^^^^^^^^^^^^^^
nvbench::nvbench target will be created
Expand Down Expand Up @@ -93,8 +97,11 @@ function(rapids_cpm_nvbench)
GIT_SHALLOW ${shallow}
PATCH_COMMAND ${patch_command}
EXCLUDE_FROM_ALL ${exclude}
OPTIONS "NVBench_ENABLE_NVML ${nvbench_with_nvml}" "NVBench_ENABLE_EXAMPLES OFF"
"NVBench_ENABLE_TESTING OFF" "NVBench_ENABLE_INSTALL_RULES ${to_install}"
OPTIONS "NVBench_ENABLE_NVML ${nvbench_with_nvml}"
"NVBench_ENABLE_CUPTI OFF"
"NVBench_ENABLE_EXAMPLES OFF"
"NVBench_ENABLE_TESTING OFF"
"NVBench_ENABLE_INSTALL_RULES ${to_install}"
"BUILD_SHARED_LIBS ${build_shared}")

include("${rapids-cmake-dir}/cpm/detail/display_patch_status.cmake")
Expand Down
1 change: 0 additions & 1 deletion testing/cpm/cpm_nvbench-conda-fmt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ rapids_cuda_set_architectures(RAPIDS)

# Force shared libs so that nvbench doesn't have a chance to use a static fmt
set(BUILD_SHARED_LIBS ON)
set(NVBench_ENABLE_CUPTI OFF)
rapids_cpm_init()
rapids_cpm_rmm()
rapids_cpm_nvbench()
Expand Down
1 change: 0 additions & 1 deletion testing/cpm/cpm_nvbench-conda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ set(ENV{CONDA_BUILD} "1")
set(ENV{BUILD_PREFIX} "/usr/local/build_prefix")
set(ENV{PREFIX} "/opt/local/prefix")
set(ENV{CONDA_PREFIX} "/opt/conda/prefix")
set(NVBench_ENABLE_CUPTI OFF)
rapids_cpm_init()
rapids_cpm_nvbench()

Expand Down