diff options
author | Peter Brady <ptb@lanl.gov> | 2022-04-07 10:44:55 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 18:44:55 +0200 |
commit | fa6f1336c160ede301344ed5e99dedbeeca1d6ea (patch) | |
tree | bcf0d9b375e3a3d15e641ab3a3ccfe559038809d | |
parent | b2eda32e55601dd80bd0602527e5736e24ef8544 (diff) | |
download | spack-fa6f1336c160ede301344ed5e99dedbeeca1d6ea.tar.gz spack-fa6f1336c160ede301344ed5e99dedbeeca1d6ea.tar.bz2 spack-fa6f1336c160ede301344ed5e99dedbeeca1d6ea.tar.xz spack-fa6f1336c160ede301344ed5e99dedbeeca1d6ea.zip |
petaca: add v22.03, update variants (#29752)
-rw-r--r-- | var/spack/repos/builtin/packages/petaca/package.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/petaca/package.py b/var/spack/repos/builtin/packages/petaca/package.py index 1d9214dc41..8a2ec10292 100644 --- a/var/spack/repos/builtin/packages/petaca/package.py +++ b/var/spack/repos/builtin/packages/petaca/package.py @@ -21,11 +21,13 @@ class Petaca(CMakePackage): homepage = "https://petaca.readthedocs.io/en/master" git = "https://github.com/nncarlson/petaca.git" + url = "https://github.com/nncarlson/petaca/archive/refs/tags/v22.03.tar.gz" maintainers = ['pbrady'] version('develop', branch="master") - version('develop-2021-03-31', commit='f17df95193ca1a3879687a59a91a123be25e3efa', preferred=True) + version('22.03', sha256='e6559e928c7cca6017ef0582c204eee775f6bb3f927f1c224c515c2ad574cc32') + version('21.03', commit='f17df95193ca1a3879687a59a91a123be25e3efa') depends_on('cmake@3.3:', type='build') depends_on('yajl@2.0.1:') @@ -37,6 +39,8 @@ class Petaca(CMakePackage): variant('shared', default=False, description='build shared libraries') + variant('std_name', default=False, description='enables std_mod_proc_name with intel') + # copied from openmpi/package.py to ensure fortran support @run_before('cmake') def die_without_fortran(self): @@ -48,5 +52,6 @@ class Petaca(CMakePackage): def cmake_args(self): return [ self.define('ENABLE_TESTS', self.run_tests), - self.define_from_variant("BUILD_SHARED_LIBS", "shared") + self.define_from_variant("BUILD_SHARED_LIBS", "shared"), + self.define_from_variant("ENABLE_STD_MOD_PROC_NAME", "std_name") ] |