Skip to content

Commit ceda9f9

Browse files
Add suggestion to create conda environment with recent CMake to build nvbench
1 parent 5568b3f commit ceda9f9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

python/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ This package provides Python API to CUDA Kernel Benchmarking Library `NVBench`.
66

77
### Build `NVBench` project
88

9+
Since `nvbench` requires a rather new version of CMake (>=3.30.4), either build CMake from sources, or create a conda environment with a recent version of CMake, using
10+
11+
```
12+
conda create -n build_env --yes cmake ninja
13+
conda activate build_env
14+
```
15+
16+
Now switch to python folder, configure and install NVBench library, and install the package in editable mode:
17+
918
```
1019
cd nvbench/python
1120
cmake -B nvbench_build --preset nvbench-ci -S $(pwd)/.. -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DNVBench_ENABLE_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=$(pwd)/nvbench_install

0 commit comments

Comments
 (0)