Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Ensure Autoscoper inner-build is built with expected CUDA compiler on Linux #266

Merged

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented Mar 6, 2024

Follow-up 6444737 ("COMP: Ensure Autoscoper inner-build is built with expected CUDA toolkit", 2023-12-15) and 57604ce ("COMP: Modernize CUDA integration using FindCUDAToolkit CMake module", 2023-12-11) fixing the following configuration error associated with the inner-build:

CMake Error at /path/to/cmake-3.28.1-linux-x86_64/share/cmake-3.28/Modules/Internal/CMakeCUDAFindToolkit.cmake:104 (message):
  Failed to find nvcc.

  Compiler requires the CUDA toolkit.  Please set the CUDAToolkit_ROOT
  variable.
Call Stack (most recent call first):
  /path/to/cmake-3.28.1-linux-x86_64/share/cmake-3.28/Modules/CMakeDetermineCUDACompiler.cmake:89 (cmake_cuda_find_toolkit)
  libautoscoper/CMakeLists.txt:88 (enable_language)

…ler on Linux

Follow-up 6444737 ("COMP: Ensure Autoscoper inner-build is built with
expected CUDA toolkit", 2023-12-15) and 57604ce ("COMP: Modernize CUDA
integration using FindCUDAToolkit CMake module", 2023-12-11) fixing
the following configuration error associated with the inner-build:

```
CMake Error at /path/to/cmake-3.28.1-linux-x86_64/share/cmake-3.28/Modules/Internal/CMakeCUDAFindToolkit.cmake:104 (message):
  Failed to find nvcc.

  Compiler requires the CUDA toolkit.  Please set the CUDAToolkit_ROOT
  variable.
Call Stack (most recent call first):
  /path/to/cmake-3.28.1-linux-x86_64/share/cmake-3.28/Modules/CMakeDetermineCUDACompiler.cmake:89 (cmake_cuda_find_toolkit)
  libautoscoper/CMakeLists.txt:88 (enable_language)
```
@jcfr jcfr merged commit cebc017 into BrownBiomechanics:main Mar 6, 2024
3 checks passed
@jcfr jcfr deleted the fix-linux-build-with-cuda-backend-enabled branch March 6, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant