cmake: build with %nvhpc (#29851)

This commit is contained in:
Harmen Stoppels 2022-04-04 09:47:59 +02:00 committed by GitHub
parent 21cb859b4f
commit 28a9da9130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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