Fixed constraints in recipes for packages that depends on fftw (#13125)

This commit is contained in:
Massimiliano Culpo
2019-10-11 07:55:15 +02:00
committed by GitHub
parent 884964d551
commit fd97f5c491
4 changed files with 6 additions and 5 deletions

View File

@@ -71,8 +71,9 @@ class Abinit(AutotoolsPackage):
# depends_on('elpa~openmp', when='+elpa+mpi~openmp')
# depends_on('elpa+openmp', when='+elpa+mpi+openmp')
depends_on('fftw+float', when='~openmp')
depends_on('fftw+float+openmp', when='+openmp')
depends_on('fftw precision=float')
depends_on('fftw~openmp', when='~openmp')
depends_on('fftw+openmp', when='+openmp')
depends_on('netcdf-fortran', when='+hdf5')
depends_on('hdf5+mpi', when='+mpi+hdf5') # required for NetCDF-4 support

View File

@@ -20,7 +20,7 @@ class Accfft(CMakePackage, CudaPackage):
variant('shared', default=True, description='Enables the build of shared libraries')
# See: http://accfft.org/articles/install/#installing-dependencies
depends_on('fftw+float+double~mpi+openmp')
depends_on('fftw precision=float,double ~mpi+openmp')
depends_on('parallel-netcdf', when='+pnetcdf')

View File

@@ -28,7 +28,7 @@ class Libemos(CMakePackage):
depends_on('eccodes', when='grib=eccodes')
depends_on('grib-api', when='grib=grib-api')
depends_on('fftw+float+double')
depends_on('fftw precision=float,double')
depends_on('cmake@2.8.11:', type='build')
depends_on('pkgconfig', type='build')

View File

@@ -37,7 +37,7 @@ class Relion(CMakePackage, CudaPackage):
# relion will not build with newer versions of cmake
# per https://github.com/3dem/relion/issues/380
depends_on('cmake@3:3.9.4', type='build')
depends_on('fftw+float+double')
depends_on('fftw precision=float,double')
depends_on('fltk', when='+gui')
depends_on('libtiff')