spla: added version 1.3.0 (#22013)

This commit is contained in:
Simon Frasch 2021-03-01 21:15:16 +01:00 committed by GitHub
parent f5beee76c8
commit df42c0b4b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ class Spla(CMakePackage):
url = "https://github.com/eth-cscs/spla/archive/v1.0.0.tar.gz" url = "https://github.com/eth-cscs/spla/archive/v1.0.0.tar.gz"
git = 'https://github.com/eth-cscs/spla.git' git = 'https://github.com/eth-cscs/spla.git'
version('1.3.0', sha256='ff05a22bd655607ff941f3228ac8605a813e1eec6eaa49fbcf7b58a3a4cf5f00')
version('1.2.1', sha256='4d7237f752dc6257778c84ee19c9635072b1cb8ce8d9ab6e34a047f63a736b29') version('1.2.1', sha256='4d7237f752dc6257778c84ee19c9635072b1cb8ce8d9ab6e34a047f63a736b29')
version('1.2.0', sha256='96ddd13c155ef3d7e40f87a982cdb439cf9e720523e66b6d20125d346ffe8fca') version('1.2.0', sha256='96ddd13c155ef3d7e40f87a982cdb439cf9e720523e66b6d20125d346ffe8fca')
version('1.1.1', sha256='907c374d9c53b21b9f67ce648e7b2b09c320db234a1013d3f05919cd93c95a4b') version('1.1.1', sha256='907c374d9c53b21b9f67ce648e7b2b09c320db234a1013d3f05919cd93c95a4b')
@ -27,6 +28,7 @@ class Spla(CMakePackage):
variant('static', default=False, description="Build as static library") variant('static', default=False, description="Build as static library")
variant('cuda', default=False, description="CUDA backend") variant('cuda', default=False, description="CUDA backend")
variant('rocm', default=False, description="ROCm 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") conflicts("+cuda", when="+rocm", msg="+cuda and +rocm are mutually exclusive")
@ -43,6 +45,7 @@ class Spla(CMakePackage):
def cmake_args(self): def cmake_args(self):
args = [ args = [
self.define_from_variant('SPLA_OMP', 'openmp'), self.define_from_variant('SPLA_OMP', 'openmp'),
self.define_from_variant('SPLA_FORTRAN', 'fortran'),
self.define_from_variant('SPLA_STATIC', 'static') self.define_from_variant('SPLA_STATIC', 'static')
] ]