metall: add version 0.17 (#26694)

Co-authored-by: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>
This commit is contained in:
Keita Iwabuchi 2021-10-13 13:10:16 -07:00 committed by GitHub
parent 5782cb6083
commit 7c8c29a231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ class Metall(CMakePackage):
homepage = "https://github.com/LLNL/metall"
git = "https://github.com/LLNL/metall.git"
url = "https://github.com/LLNL/metall/archive/v0.16.tar.gz"
url = "https://github.com/LLNL/metall/archive/v0.17.tar.gz"
maintainers = ['KIwabuchi', 'rogerpearce', 'mayagokhale']
@ -18,6 +18,7 @@ class Metall(CMakePackage):
version('master', branch='master')
version('develop', branch='develop')
version('0.17', sha256='8de6ec2a430a141a2ad465ccd40ba9d0eb0c57d9f2f2de657fe837a73c466e61')
version('0.16', sha256='190fa6936cbbfad1844659eb1fcfd1ad8c5880f60e76e223e33c506d371ea3a3')
version('0.15', sha256='a1ea475ce1297b0c4cdf450544dc60ecf1b0a30c548b08ba77ccda5585df7248')
version('0.14', sha256='386a6db0cfd3b3693cf8b0de323dcb60d43777aa5c871b744c9e8c19a572a917')
@ -29,9 +30,12 @@ class Metall(CMakePackage):
depends_on('cmake@3.10:', type='build')
depends_on('boost@1.64:', type=('build', 'link'))
# googletest is required only for test
# 'make test' is executed if '--run-tests' or '--test=root' is specified
depends_on('googletest', type=('test'))
# GCC is also required only for test (Metall is a header-only library)
# Hint: Use 'spack install --test=root metall' or 'spack install --test=all metall'
# to run test (adds a call to 'make test' to the build)
depends_on('googletest %gcc@8.1.0:', type=('test'))
def cmake_args(self):
if self.run_tests: