9 Commits

Author SHA1 Message Date
Allison Piper
e6283df79c Build native arch by default, update rapids-cmake. (#280)
* Build native arch by default, update rapids-cmake.
* Add check that CXX and CUDA_HOST compiler match.
  Similar to CCCL, we need these to match to ensure that our warning flag detection functions properly.
* GCC only recognizes `unused-local-typedefs`.
  Clang recognizes both. Ensure that we set this for both compilers.
2025-10-21 10:41:36 -04:00
Allison Piper
8e3e0ad117 Include RAPIDS.cmake to WAR network issues on CI. (#236)
See also https://github.com/rapidsai/rmm/pull/1886
2025-06-24 17:03:30 -04:00
Allison Piper
109449438b Use the new(ish) PREFIX option of rapids-cmake version, git revision header utils.
Generate macros prefixed with NVBENCH instead of redefining them from NVBench.
2025-04-15 20:33:06 +00:00
Allison Piper
5aa5a3c225 Update rapids-cmake to 25.04. 2025-04-04 17:44:33 -04:00
Robert Maynard
e47d7ac354 write_git_revision_file must be used in same CMakeLists as consumer (#143)
* write_git_revision_file must be used in same CMakeLists as consumer

So we can't have this in the rapids-cmake init function.

* Fix whitespace damage

---------

Co-authored-by: Michael Schellenberger Costa <miscco@nvidia.com>
2023-10-19 06:52:17 +02:00
Robert Maynard
0eab168664 Support users which want static builds of nvbench (#140) 2023-10-17 13:55:30 -04:00
Robert Maynard
8919728d32 Update to latest version of rapids
Also ensure that we don't clobber any existing rapids.cmake file
2022-08-08 13:24:29 -04:00
Allison Vacanti
f984efdc26 Don't explicitly link with cudart.
This is implicitly added by nvcc, and the explicit setting was breaking
environments where cudart_static is unavailable, e.g. conda.
2021-10-27 12:13:32 -04:00
Allison Vacanti
ef36d3a558 Port to rapids-cmake.
- Add export sets
- Add install rules
- Remove manual CPM import, port to rapids_cpm_*, etc
- Organize CMake code into cmake/*.cmake files.
- NVBench is now a shared library.
2021-10-20 14:02:16 -04:00