diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hipace/package.py | 4 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/warpx/package.py | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hipace/package.py b/var/spack/repos/builtin/packages/hipace/package.py index d90fa64b1a..c0dd7b84dc 100644 --- a/var/spack/repos/builtin/packages/hipace/package.py +++ b/var/spack/repos/builtin/packages/hipace/package.py @@ -42,6 +42,10 @@ class Hipace(CMakePackage): depends_on('openpmd-api@0.14.2:') depends_on('openpmd-api ~mpi', when='~mpi') depends_on('openpmd-api +mpi', when='+mpi') + with when('compute=noacc'): + depends_on('fftw@3: ~mpi', when='~mpi') + depends_on('fftw@3: +mpi', when='+mpi') + depends_on('pkgconfig', type='build') with when('compute=omp'): depends_on('fftw@3: +openmp') depends_on('fftw ~mpi', when='~mpi') diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py index e1c6f1a5e0..4ef95c7f7d 100644 --- a/var/spack/repos/builtin/packages/warpx/package.py +++ b/var/spack/repos/builtin/packages/warpx/package.py @@ -95,6 +95,11 @@ class Warpx(CMakePackage): depends_on('rocfft', when='+psatd') depends_on('rocprim') depends_on('rocrand') + with when('compute=noacc'): + with when('+psatd'): + depends_on('fftw@3: ~mpi', when='~mpi') + depends_on('fftw@3: +mpi', when='+mpi') + depends_on('pkgconfig', type='build') with when('compute=omp'): depends_on('llvm-openmp', when='%apple-clang') with when('+psatd'): |