WarpX & HiPACE++: Constrain FFTW for No-MPI (#27043)
Contrain FFTW for no-MPI to simplify builds and logic to handle.
This commit is contained in:
parent
7a6a232730
commit
5a7496eb82
2 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ class Hipace(CMakePackage):
|
|||
depends_on('openpmd-api +mpi', when='+mpi')
|
||||
with when('compute=omp'):
|
||||
depends_on('fftw@3: +openmp')
|
||||
depends_on('fftw ~mpi', when='~mpi')
|
||||
depends_on('fftw +mpi', when='+mpi')
|
||||
depends_on('pkgconfig', type='build')
|
||||
depends_on('llvm-openmp', when='%apple-clang')
|
||||
|
|
|
@ -90,6 +90,7 @@ class Warpx(CMakePackage):
|
|||
depends_on('blaspp +cuda', when='compute=cuda')
|
||||
with when('+psatd compute=omp'):
|
||||
depends_on('fftw@3: +openmp')
|
||||
depends_on('fftw ~mpi', when='~mpi')
|
||||
depends_on('fftw +mpi', when='+mpi')
|
||||
depends_on('pkgconfig', type='build')
|
||||
with when('+openpmd'):
|
||||
|
|
Loading…
Reference in a new issue