diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2022-08-20 01:11:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 01:11:03 -0700 |
commit | 7db1c69945dacd797e3ef138a49dd1d71db4ed4f (patch) | |
tree | cdef1b3e384ee312e7a588ec81f814d083448979 /var | |
parent | 11a4f5e25df1ae137a13437d79d2eefdaf11bbfe (diff) | |
download | spack-7db1c69945dacd797e3ef138a49dd1d71db4ed4f.tar.gz spack-7db1c69945dacd797e3ef138a49dd1d71db4ed4f.tar.bz2 spack-7db1c69945dacd797e3ef138a49dd1d71db4ed4f.tar.xz spack-7db1c69945dacd797e3ef138a49dd1d71db4ed4f.zip |
Vis: macOS `llvm-openmp` (#32284)
Add some OpenMP lib provider for Apple-Clang to the vis packages.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/apcomp/package.py | 1 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/raja/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/vtk-m/package.py | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/apcomp/package.py b/var/spack/repos/builtin/packages/apcomp/package.py index a3ce86fba3..6fb043feaa 100644 --- a/var/spack/repos/builtin/packages/apcomp/package.py +++ b/var/spack/repos/builtin/packages/apcomp/package.py @@ -50,6 +50,7 @@ class Apcomp(Package): depends_on("cmake@3.9:", type="build") depends_on("mpi", when="+mpi") + depends_on("llvm-openmp", when="+openmp %apple-clang") root_cmakelists_dir = "src" diff --git a/var/spack/repos/builtin/packages/raja/package.py b/var/spack/repos/builtin/packages/raja/package.py index 12fc67d6e9..0355eceb82 100644 --- a/var/spack/repos/builtin/packages/raja/package.py +++ b/var/spack/repos/builtin/packages/raja/package.py @@ -66,6 +66,8 @@ class Raja(CachedCMakePackage, CudaPackage, ROCmPackage): depends_on("cmake@:3.20", when="+rocm", type="build") depends_on("cmake@3.14:", when="@2022.03.0:") + depends_on("llvm-openmp", when="+openmp %apple-clang") + with when("+rocm @0.12.0:"): depends_on("camp+rocm") for arch in ROCmPackage.amdgpu_targets: diff --git a/var/spack/repos/builtin/packages/vtk-m/package.py b/var/spack/repos/builtin/packages/vtk-m/package.py index 589bde1531..d99e0a1439 100644 --- a/var/spack/repos/builtin/packages/vtk-m/package.py +++ b/var/spack/repos/builtin/packages/vtk-m/package.py @@ -90,6 +90,7 @@ class VtkM(CMakePackage, CudaPackage, ROCmPackage): depends_on("cuda@10.1.0:", when="+cuda_native") depends_on("tbb", when="+tbb") depends_on("mpi", when="+mpi") + depends_on("llvm-openmp", when="+openmp %apple-clang") # VTK-m uses the default Kokkos backend depends_on("kokkos", when="+kokkos") |