diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-04-04 09:47:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 09:47:59 +0200 |
commit | 28a9da9130173fffa14b61de831c7e234b36b531 (patch) | |
tree | e890f1ed5635427f5ac0826c5fd82a82c53df088 | |
parent | 21cb859b4fedd548fe9c15e8a82cf8b4b189b9e1 (diff) | |
download | spack-28a9da9130173fffa14b61de831c7e234b36b531.tar.gz spack-28a9da9130173fffa14b61de831c7e234b36b531.tar.bz2 spack-28a9da9130173fffa14b61de831c7e234b36b531.tar.xz spack-28a9da9130173fffa14b61de831c7e234b36b531.zip |
cmake: build with %nvhpc (#29851)
-rw-r--r-- | var/spack/repos/builtin/packages/cmake/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py index 9978384fe2..0b8c63aea7 100644 --- a/var/spack/repos/builtin/packages/cmake/package.py +++ b/var/spack/repos/builtin/packages/cmake/package.py @@ -165,7 +165,11 @@ class Cmake(Package): msg='CMake <3.18 does not compile with GCC on macOS, ' 'please use %apple-clang or a newer CMake release. ' 'See: https://gitlab.kitware.com/cmake/cmake/-/issues/21135') - conflicts('%nvhpc') + + # Seems like the vendored dependencies do not build with nvhpc, and linking with + # ncurses runs into issues. + conflicts('+ownlibs %nvhpc') + conflicts('+ncurses %nvhpc') # Really this should conflict since it's enabling or disabling openssl for # CMake's internal copy of curl. Ideally we'd want a way to have the |