summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Pintarelli <1237199+simonpintarelli@users.noreply.github.com>2020-01-13 14:45:36 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-01-13 14:45:36 +0100
commit465577847df42353cb02ad64e51cf58776b8d727 (patch)
tree73cedadeba5e65c95e4749e2d83fbf6f4b3e754d
parent6edc7a2558898aa961f9f15d431ea72186010ab8 (diff)
downloadspack-465577847df42353cb02ad64e51cf58776b8d727.tar.gz
spack-465577847df42353cb02ad64e51cf58776b8d727.tar.bz2
spack-465577847df42353cb02ad64e51cf58776b8d727.tar.xz
spack-465577847df42353cb02ad64e51cf58776b8d727.zip
SIRIUS, SpFFT: updated package recipes and versions (#14469)
-rw-r--r--var/spack/repos/builtin/packages/sirius/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spfft/package.py12
2 files changed, 11 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/sirius/package.py b/var/spack/repos/builtin/packages/sirius/package.py
index 6ee33c9b51..5ac903e263 100644
--- a/var/spack/repos/builtin/packages/sirius/package.py
+++ b/var/spack/repos/builtin/packages/sirius/package.py
@@ -19,6 +19,8 @@ class Sirius(CMakePackage, CudaPackage):
version('develop', branch='develop')
version('master', branch='master')
+ version('6.4.3', sha256='4d1effeadb84b3e1efd7d9ac88018ef567aa2e0aa72e1112f0abf2e493e2a189')
+ version('6.4.2', sha256='40b9b66deebb6538fc0f4cd802554d0d763ea6426b9b2f0e8db8dc617e494479')
version('6.4.1', sha256='86f25c71517952a63e92e0a9bcf66d27e4afb2b0d67cf84af480f116b8e7f53c')
version('6.4.0', sha256='bc61758b71dd2996e2ff515b8c3560b2c69c00931cb2811a163a31bcfea4436e')
version('6.3.4', sha256='8839e988b4bb6ef99b6180f7fba03a5537e31fce51bb3e4c2298b513d6a07e0a')
diff --git a/var/spack/repos/builtin/packages/spfft/package.py b/var/spack/repos/builtin/packages/spfft/package.py
index cb380fed6e..0f680564a8 100644
--- a/var/spack/repos/builtin/packages/spfft/package.py
+++ b/var/spack/repos/builtin/packages/spfft/package.py
@@ -13,6 +13,8 @@ class Spfft(CMakePackage):
homepage = "https://github.com/eth-cscs/SpFFT"
url = "https://github.com/eth-cscs/SpFFT/archive/v0.9.8.zip"
+ version('0.9.10', sha256='9cbbb7ba5e53e17eeb45e809841d8272e5333f739c2442a99c3e255c1ddec3e9')
+ version('0.9.9', sha256='a8fd7a2d767716bb73185ca03bf4c106c6981b79130f3e456e5d2e744a2b3ba0')
version('0.9.8', sha256='f49fa51316bbfa68309e951d2375e1f6904120c93868cbe13bc2974c0b801a3f')
variant('openmp', default=True, description="Build with OpenMP support")
@@ -21,6 +23,7 @@ class Spfft(CMakePackage):
variant('gpu_direct', default=False, description="GPU aware MPI")
variant('static', default=False, description="build static library")
variant('cuda', default=False, description="CUDA")
+ variant('fortran', default=False, description="enable fortran")
variant('build_type', default='Release', description='CMake build type',
values=('Debug', 'Release', 'RelWithDebInfo'))
depends_on('fftw')
@@ -38,7 +41,10 @@ class Spfft(CMakePackage):
if self.spec.satisfies('+gpu_direct'):
args += ["-DSPFFT_GPU_DIRECT=On"]
if self.spec.satisfies('+cuda'):
- args += ["-DSPFFT_BACKEND=CUDA"]
- if self.spec.satisfies('+cuda'):
- args += ["-DSPFFT_BACKEND=CUDA"]
+ args += ["-DSPFFT_GPU_BACKEND=CUDA"]
+ if self.spec.satisfies('+fortran'):
+ args += ["-DSPFFT_FORTAN=On"]
+ if self.spec.satisfies('+static'):
+ args += ["-DSPFFT_STATIC=On"]
+
return args