Skip to content

Commit 8338fd7

Browse files
committed
add cuda compiler for CMake tests of CUDA-enabled libtorch
1 parent 8a92b36 commit 8338fd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recipe/meta.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ test:
208208
# cmake needs a compiler to run package detection, see
209209
# https://discourse.cmake.org/t/questions-about-find-package-cli-msvc/6194
210210
- {{ compiler('cxx') }}
211+
- {{ compiler('cuda') }} # [cuda_compiler_version != "None"]
211212
- cmake
212213
- ninja
213214
- pkg-config

0 commit comments

Comments
 (0)