Closed bigsky77 closed 11 months ago
@bigsky77 What cmake and c++ versions are you using?
I am using cmake 3.22.1 and c++ is (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
hi - what is Cuda version you are compiling with? We had exactly the same error on one system when compiling for Fast danksharding. Unfortunately, I don't remember the exact fix - will try to find out, but I recall it was two-step - one was making it compile with the correct nvcc version. Another was the correct С compiler version - in paticular gcc or g++ or both (9.4+ or newer?)
Issue resolved.
Summary:
Changes Made:
- set(CMAKE_CUDA_COMPILER /usr/local/cuda-12/nvvm/bin)
+ set(CMAKE_CUDA_COMPILER /usr/local/cuda-12/bin/nvcc)
The aforementioned change updates CMake with the correct CUDA compiler location, rectifying the build failure.
Description
I'm getting a "parameter packs not expanded" error compiling Icicle using CMake.
Reproduce
1) Clone Directory 2)
cd icicle/icicle
3)mkdir -p build; cmake -S . -B build; cmake --build build; cd build && ctest; cd ..
Compilation fails during
cmake --build build
.Environment
Please complete the following information:
OS + Version: Ubuntu 22.04
Cargo Version: 1.66.1
GPU type: TU117M [GeForce GTX 1650 Ti Mobile
Additional context
Screenshot included for context.