From 8cfb0a0d52ef4469667e655bd5b2390f723221bb Mon Sep 17 00:00:00 2001 From: Iman Hosseini Date: Thu, 22 Jul 2021 02:34:06 -0400 Subject: nut: reflect conflict with nvhpc (#25023) 'random123' is a template library and cannot be compiled with nvhpc Co-authored-by: Massimiliano Culpo --- var/spack/repos/builtin/packages/nut/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/nut/package.py b/var/spack/repos/builtin/packages/nut/package.py index 1c833bc892..257adb8c21 100644 --- a/var/spack/repos/builtin/packages/nut/package.py +++ b/var/spack/repos/builtin/packages/nut/package.py @@ -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): -- cgit v1.2.3-60-g2f50