summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Thain <dthain@nd.edu>2022-05-09 13:50:00 -0400
committerGitHub <noreply@github.com>2022-05-09 10:50:00 -0700
commit1883fedae76ac41023a3693881bbafefd888a34b (patch)
treec1163621a1d882fb2a72d2b8534e2e95ca9053aa
parentc4412306da20e0ffa76c2cf3e6e0a2442291a138 (diff)
downloadspack-1883fedae76ac41023a3693881bbafefd888a34b.tar.gz
spack-1883fedae76ac41023a3693881bbafefd888a34b.tar.bz2
spack-1883fedae76ac41023a3693881bbafefd888a34b.tar.xz
spack-1883fedae76ac41023a3693881bbafefd888a34b.zip
cctools: add 7.4.2 (#28766)
* Update to cctools-7.4.2 * Add simple patch to remove broken test cases. * import unlink * add maintainers
-rw-r--r--var/spack/repos/builtin/packages/cctools/package.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cctools/package.py b/var/spack/repos/builtin/packages/cctools/package.py
index 5c67ec9511..c2f2f68975 100644
--- a/var/spack/repos/builtin/packages/cctools/package.py
+++ b/var/spack/repos/builtin/packages/cctools/package.py
@@ -3,6 +3,8 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import os
+
from spack import *
@@ -13,8 +15,10 @@ class Cctools(AutotoolsPackage):
"""
homepage = "https://cctools.readthedocs.io"
- url = "https://ccl.cse.nd.edu/software/files/cctools-7.2.4-source.tar.gz"
+ url = "https://ccl.cse.nd.edu/software/files/cctools-7.4.2-source.tar.gz"
+ maintainers = ['dthain', 'btovar']
+ version('7.4.2', sha256='7c8c86f09bcb9ad23ab44e52dfb5bf3a4e4a1ad84ef51e500a9c8c2371770f4b')
version('7.2.10', sha256='4a604329896ae5e0fad7451a3814f531ff2f00a41c96e971ac08276208aa1650')
version('7.2.4', sha256='36d36465a14b503a27c4739ebe0e11e00970ef6abb07c0365a46670753dddbd0')
version('7.2.3', sha256='c9d32f9e9d4886ef88b79cc7c898c26e8369a004132080697b8523560cb8765b')
@@ -56,6 +60,16 @@ class Cctools(AutotoolsPackage):
for m in makefiles:
filter_file('-fstack-protector-all', '', m)
+ # Remove two troublesome test cases:
+
+ # TR_parrot_dir.sh fails b/c of variations in how Linux kernels
+ # deal with open() on directories.
+ os.unlink("parrot/test/TR_parrot_dir.sh")
+
+ # TR_parrot_execve.sh fails b/c of the complexities of moving
+ # a python interpreter around.
+ os.unlink("parrot/test/TR_parrot_execve.sh")
+
def configure_args(self):
args = []