summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-10-01 20:28:25 +0200
committerGitHub <noreply@github.com>2021-10-01 18:28:25 +0000
commitda171bd5611355d7aa488a14d52b6ffff8ebd876 (patch)
tree74a97ef6f7d27603689646d4e27804465419e0f9
parentf878f769a2192c66045f10ab3044d54069e88cce (diff)
downloadspack-da171bd5611355d7aa488a14d52b6ffff8ebd876.tar.gz
spack-da171bd5611355d7aa488a14d52b6ffff8ebd876.tar.bz2
spack-da171bd5611355d7aa488a14d52b6ffff8ebd876.tar.xz
spack-da171bd5611355d7aa488a14d52b6ffff8ebd876.zip
uftrace(dynamic function graph tracer): bump version (#26224)
-rw-r--r--var/spack/repos/builtin/packages/uftrace/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/uftrace/package.py b/var/spack/repos/builtin/packages/uftrace/package.py
index b5c264d138..a20b297539 100644
--- a/var/spack/repos/builtin/packages/uftrace/package.py
+++ b/var/spack/repos/builtin/packages/uftrace/package.py
@@ -13,7 +13,7 @@ class Uftrace(AutotoolsPackage):
"""Dynamic function graph tracer for Linux which demangles C, C++ and Rust calls"""
homepage = 'https://uftrace.github.io/slide/'
- url = 'https://github.com/namhyung/uftrace/archive/v0.10.tar.gz'
+ url = 'https://github.com/namhyung/uftrace/archive/v0.11.tar.gz'
git = 'https://github.com/namhyung/uftrace.git'
executables = ['^uftrace$']
maintainers = ['bernhardkaindl']
@@ -21,6 +21,7 @@ class Uftrace(AutotoolsPackage):
# The build process uses 'git describe --tags' to get the package version
version('master', branch='master', get_full_repo=True)
+ version('0.11', sha256='101dbb13cb3320ee76525ec26426f2aa1de4e3ee5af74f79cb403ae4d2c6c871')
version('0.10', sha256='b8b56d540ea95c3eafe56440d6a998e0a140d53ca2584916b6ca82702795bbd9')
variant("doc", default=False, description="Build uftrace's documentation")
variant("python2", default=False, description="Build uftrace with python2 support")
@@ -37,6 +38,11 @@ class Uftrace(AutotoolsPackage):
depends_on('python@3.5:', when='+python3')
depends_on('lua-luajit')
+ # Fix the version string if building below another git repo. Submitted upstream:
+ @when('@:0.11')
+ def patch(self):
+ filter_file('shell git', 'shell test -e .git && git', 'Makefile')
+
def check(self):
make('test', *['V=1', '-j{0}'.format(max(int(make_jobs), 20))])
# In certain cases, tests using TCP/IP can hang. Ensure that spack can continue: