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

Ensure CUDA architecture is set for targets #9

Closed
mlxd opened this issue Oct 8, 2021 · 0 comments
Closed

Ensure CUDA architecture is set for targets #9

mlxd opened this issue Oct 8, 2021 · 0 comments

Comments

@mlxd
Copy link

mlxd commented Oct 8, 2021

As part of JOSS review 3743, I am following the build guide for the library. As of CMake 3.18, the following warning/error will be reported, as per https://cmake.org/cmake/help/latest/policy/CMP0104.html

This may cause issues on newer systems building the library.

CMake Warning (dev) in spbla/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "spbla".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in spbla/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "spbla".
This warning is for project developers.  Use -Wno-dev to suppress it.
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

No branches or pull requests

2 participants