nvhpc: gcc is a direct dep (#29963)

This commit is contained in:
Harmen Stoppels 2022-04-19 14:17:58 +02:00 committed by GitHub
parent 1c13b3707c
commit 9a05a7a714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,13 @@ class Nvhpc(Package):
provides('lapack', when='+lapack')
provides('mpi', when='+mpi')
# TODO: effectively gcc is a direct dependency of nvhpc, but we cannot
# express that properly. For now, add conflicts for popular non-gcc
# compilers instead.
conflicts('%clang')
conflicts('%intel')
conflicts('%xl')
def install(self, spec, prefix):
# Enable the silent installation feature
os.environ['NVHPC_SILENT'] = "true"