nut: reflect conflict with nvhpc (#25023)

'random123' is a template library and cannot be compiled with nvhpc

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Iman Hosseini 2021-07-22 02:34:06 -04:00 committed by GitHub
parent 7011608be0
commit 8cfb0a0d52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,11 +24,13 @@ class Nut(CMakePackage):
depends_on('cmake@3.0:', type='build')
depends_on('random123')
# The conflict with %nvhpc is inherited from random123,
# which is a C++ template library
conflicts('%nvhpc')
conflicts('%intel', when='@serial')
conflicts('%pgi', when='@serial')
conflicts('%xl', when='@serial')
conflicts('%nag', when='@serial')
build_targets = ['VERBOSE=on']
def setup_build_environment(self, env):