From 8c613fadf04871d575ffeb71c3545879aed08c00 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 10 Mar 2021 01:12:04 -0800 Subject: [PATCH] BLAS++: OpenMP for AppleClang (#22211) We need to install OpenMP for Apple's Clang. --- var/spack/repos/builtin/packages/blaspp/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/var/spack/repos/builtin/packages/blaspp/package.py b/var/spack/repos/builtin/packages/blaspp/package.py index b103dd1d9d..5361013681 100644 --- a/var/spack/repos/builtin/packages/blaspp/package.py +++ b/var/spack/repos/builtin/packages/blaspp/package.py @@ -28,6 +28,7 @@ class Blaspp(CMakePackage, CudaPackage): depends_on('cmake@3.15.0:', type='build') depends_on('blas') + depends_on('llvm-openmp', when='%apple-clang +openmp') # only supported with clingo solver: virtual dependency preferences # depends_on('openblas threads=openmp', when='+openmp ^openblas')