summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/cmake/package.py6
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