From 28a9da9130173fffa14b61de831c7e234b36b531 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 4 Apr 2022 09:47:59 +0200 Subject: cmake: build with %nvhpc (#29851) --- var/spack/repos/builtin/packages/cmake/package.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2