summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/spla/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/spla/package.py b/var/spack/repos/builtin/packages/spla/package.py
index bcf242f885..fd67e517d1 100644
--- a/var/spack/repos/builtin/packages/spla/package.py
+++ b/var/spack/repos/builtin/packages/spla/package.py
@@ -15,6 +15,7 @@ class Spla(CMakePackage):
url = "https://github.com/eth-cscs/spla/archive/v1.0.0.tar.gz"
git = 'https://github.com/eth-cscs/spla.git'
+ version('1.3.0', sha256='ff05a22bd655607ff941f3228ac8605a813e1eec6eaa49fbcf7b58a3a4cf5f00')
version('1.2.1', sha256='4d7237f752dc6257778c84ee19c9635072b1cb8ce8d9ab6e34a047f63a736b29')
version('1.2.0', sha256='96ddd13c155ef3d7e40f87a982cdb439cf9e720523e66b6d20125d346ffe8fca')
version('1.1.1', sha256='907c374d9c53b21b9f67ce648e7b2b09c320db234a1013d3f05919cd93c95a4b')
@@ -27,6 +28,7 @@ class Spla(CMakePackage):
variant('static', default=False, description="Build as static library")
variant('cuda', default=False, description="CUDA backend")
variant('rocm', default=False, description="ROCm backend")
+ variant('fortran', default=False, description="Build fortran module")
conflicts("+cuda", when="+rocm", msg="+cuda and +rocm are mutually exclusive")
@@ -43,6 +45,7 @@ class Spla(CMakePackage):
def cmake_args(self):
args = [
self.define_from_variant('SPLA_OMP', 'openmp'),
+ self.define_from_variant('SPLA_FORTRAN', 'fortran'),
self.define_from_variant('SPLA_STATIC', 'static')
]