From 7c8c29a231dae29d102893b8bff21a83849e3e7d Mon Sep 17 00:00:00 2001 From: Keita Iwabuchi Date: Wed, 13 Oct 2021 13:10:16 -0700 Subject: [PATCH] metall: add version 0.17 (#26694) Co-authored-by: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> --- var/spack/repos/builtin/packages/metall/package.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/metall/package.py b/var/spack/repos/builtin/packages/metall/package.py index 5446f9b0a5..057e1f205e 100644 --- a/var/spack/repos/builtin/packages/metall/package.py +++ b/var/spack/repos/builtin/packages/metall/package.py @@ -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: