summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2019-08-14 09:38:45 +0900
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-13 19:38:45 -0500
commitc52f8478b2fcdd8dbf24c3198ccc227312bca477 (patch)
treec98431c79c951e7fadc526cc54cfa41af006a8b5
parent4119886cbc7fe395d977e256f3376c0a53a841c2 (diff)
downloadspack-c52f8478b2fcdd8dbf24c3198ccc227312bca477.tar.gz
spack-c52f8478b2fcdd8dbf24c3198ccc227312bca477.tar.bz2
spack-c52f8478b2fcdd8dbf24c3198ccc227312bca477.tar.xz
spack-c52f8478b2fcdd8dbf24c3198ccc227312bca477.zip
starce: new version and build on ARM. (#12401)
1. souce URL change to github. 2. Add version 5.1 and 5.2 3. enable build on ARM.
-rw-r--r--var/spack/repos/builtin/packages/strace/package.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/strace/package.py b/var/spack/repos/builtin/packages/strace/package.py
index 8a705e5579..ebf5bdd034 100644
--- a/var/spack/repos/builtin/packages/strace/package.py
+++ b/var/spack/repos/builtin/packages/strace/package.py
@@ -13,9 +13,19 @@ class Strace(AutotoolsPackage):
signal deliveries, and changes of process state."""
homepage = "https://strace.io"
- url = "https://strace.io/files/4.21/strace-4.21.tar.xz"
+ url = "https://github.com/strace/strace/releases/download/v5.2/strace-5.2.tar.xz"
conflicts('platform=darwin', msg='strace runs only on Linux.')
+ version('5.2', sha256='d513bc085609a9afd64faf2ce71deb95b96faf46cd7bc86048bc655e4e4c24d2')
+ version('5.1', sha256='f5a341b97d7da88ee3760626872a4899bf23cf8dee56901f114be5b1837a9a8b')
version('5.0', sha256='3b7ad77eb2b81dc6078046a9cc56eed5242b67b63748e7fc28f7c2daf4e647da')
version('4.21', '785b679a75e9758ebeb66816f315b9fe')
+
+ def configure_args(self):
+ args = []
+ if self.spec.satisfies('target=aarch64'):
+ args.append('--enable-mpers=no')
+ else:
+ args.append('--enable-mpers=yes')
+ return args