summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJoseph Ciurej <ciurej1@llnl.gov>2020-06-22 08:44:29 -0700
committerGitHub <noreply@github.com>2020-06-22 10:44:29 -0500
commit42f2c168d2374a041d9bbe7b2246a8cae56bb369 (patch)
tree367504b353ed6f270470e216d5e359fae35d9b2c /var
parent4e9a98997aea9365fc46c4503d813947cbead088 (diff)
downloadspack-42f2c168d2374a041d9bbe7b2246a8cae56bb369.tar.gz
spack-42f2c168d2374a041d9bbe7b2246a8cae56bb369.tar.bz2
spack-42f2c168d2374a041d9bbe7b2246a8cae56bb369.tar.xz
spack-42f2c168d2374a041d9bbe7b2246a8cae56bb369.zip
swig: fix older builds on newer platforms by updating config files (#16854)
* swig: revise 'autotools' automated 'config.*' update mechanism to support 'config.sub' and adapt 'swig' accordingly
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/swig/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/swig/package.py b/var/spack/repos/builtin/packages/swig/package.py
index c6c9824a63..59a535fb74 100644
--- a/var/spack/repos/builtin/packages/swig/package.py
+++ b/var/spack/repos/builtin/packages/swig/package.py
@@ -43,6 +43,9 @@ class Swig(AutotoolsPackage, SourceforgePackage):
depends_on('autoconf', type='build', when=_version)
depends_on('automake', type='build', when=_version)
depends_on('libtool', type='build', when=_version)
+ # Need newer 'automake' to support newer platforms
+ for _target in ['ppc64le', 'aarch64']:
+ depends_on('automake@1.15:', type='build', when='target={0}:'.format(_target))
depends_on('pkgconfig', type='build')
build_directory = 'spack-build'