From feaaa8b1945090499da4f21981763106a952d8f6 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 26 Jan 2021 15:57:10 +0100 Subject: umpire's device allocator exports device functions, which requires static libs (#21264) --- var/spack/repos/builtin/packages/umpire/package.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/umpire/package.py b/var/spack/repos/builtin/packages/umpire/package.py index 8a1d6022e5..c069b8c812 100644 --- a/var/spack/repos/builtin/packages/umpire/package.py +++ b/var/spack/repos/builtin/packages/umpire/package.py @@ -74,6 +74,10 @@ class Umpire(CMakePackage, CudaPackage, ROCmPackage): conflicts('+numa', when='@:0.3.2') conflicts('~c', when='+fortran', msg='Fortran API requires C API') + # device allocator exports device code, which requires static libs + # currently only available for cuda. + conflicts('+shared', when='+cuda') + def cmake_args(self): spec = self.spec -- cgit v1.2.3-70-g09d2