summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMark W. Krentel <krentel@rice.edu>2022-01-18 03:41:11 -0600
committerGitHub <noreply@github.com>2022-01-18 10:41:11 +0100
commitd642a396afac5d792ac233b81492ad1f329491a6 (patch)
tree650f0eaf98273f3f36e245e1f92d267817d0eda1 /var
parent5ca6ba6c8b630035f3851c4f07a482b06d6bec31 (diff)
downloadspack-d642a396afac5d792ac233b81492ad1f329491a6.tar.gz
spack-d642a396afac5d792ac233b81492ad1f329491a6.tar.bz2
spack-d642a396afac5d792ac233b81492ad1f329491a6.tar.xz
spack-d642a396afac5d792ac233b81492ad1f329491a6.zip
hpctoolkit: add version 2022.01.15 (#28473)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hpctoolkit/package.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py
index ca3f3bb675..d6a0d5062b 100644
--- a/var/spack/repos/builtin/packages/hpctoolkit/package.py
+++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py
@@ -26,6 +26,7 @@ class Hpctoolkit(AutotoolsPackage):
version('develop', branch='develop')
version('master', branch='master')
+ version('2022.01.15', commit='0238e9a052a696707e4e65b2269f342baad728ae')
version('2021.10.15', commit='a8f289e4dc87ff98e05cfc105978c09eb2f5ea16')
version('2021.05.15', commit='004ea0c2aea6a261e7d5d216c24f8a703fc6c408')
version('2021.03.01', commit='68a051044c952f0f4dac459d9941875c700039e7')
@@ -216,26 +217,26 @@ class Hpctoolkit(AutotoolsPackage):
@run_after('install')
@on_package_attributes(run_tests=True)
def check_install(self):
- if self.spec.satisfies('@master'):
+ if self.spec.satisfies('@2022:'):
with working_dir('tests'):
make('check')
else:
- tty.warn('spack test for hpctoolkit requires branch master')
+ tty.warn('spack test for hpctoolkit requires 2022.01.15 or later')
# Post-Install tests (spack test run). These are the same tests
# but with a different Makefile that works outside the build
# directory.
@run_after('install')
def copy_test_files(self):
- if self.spec.satisfies('@master'):
+ if self.spec.satisfies('@2022:'):
self.cache_extra_test_sources(['tests'])
def test(self):
test_dir = join_path(self.test_suite.current_test_cache_dir, 'tests')
- if self.spec.satisfies('@master'):
+ if self.spec.satisfies('@2022:'):
with working_dir(test_dir):
make('-f', 'Makefile.spack', 'all')
self.run_test('./run-sort', status=[0], installed=False,
purpose='selection sort unit test')
else:
- tty.warn('spack test for hpctoolkit requires branch master')
+ tty.warn('spack test for hpctoolkit requires 2022.01.15 or later')