diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2018-10-30 21:26:41 +0100 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-10-30 13:26:41 -0700 |
commit | 33b65ecca08cfccebb0c8208b3c2fcf0da35cad8 (patch) | |
tree | 15a5bd81d3569c86e03ad39915474824b6e96586 /var | |
parent | 3c387bfa39ac39ccc3535a6990b67d4d7cdf330e (diff) | |
download | spack-33b65ecca08cfccebb0c8208b3c2fcf0da35cad8.tar.gz spack-33b65ecca08cfccebb0c8208b3c2fcf0da35cad8.tar.bz2 spack-33b65ecca08cfccebb0c8208b3c2fcf0da35cad8.tar.xz spack-33b65ecca08cfccebb0c8208b3c2fcf0da35cad8.zip |
GCC: ISL and mpfr upper bounds (#9513)
* GCC: constrain version 6, 7, and 8 to build with ISL version at
most 0.18
* GCC version 9 (not yet released) will be compatible with
ISL version 0.20 so future GCC releases are constrained to build
with ISL version at most 0.20
* ISL: Add v0.15, replace all md5 sums with sha256 sums for ISL
versions
* GCC versions before 6 were constrained to build with ISL 0.14
but have been confirmed to work with ISL 0.15
* GCC: Place an upper bound on GCC's mpfr dependency
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gcc/package.py | 13 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/isl/package.py | 7 |
2 files changed, 14 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index e6f9ad5d09..a029a9e0c5 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -71,10 +71,17 @@ class Gcc(AutotoolsPackage): # https://gcc.gnu.org/install/prerequisites.html depends_on('gmp@4.3.2:') - depends_on('mpfr@2.4.2:') + # GCC 7.3 does not compile with newer releases on some platforms, see + # https://github.com/spack/spack/issues/6902#issuecomment-433030376 + depends_on('mpfr@2.4.2:3.1.6') depends_on('mpc@0.8.1:', when='@4.5:') - depends_on('isl@0.14', when='@5:5.9') - depends_on('isl@0.15:', when='@6:') + # Already released GCC versions do not support any newer version of ISL + # GCC 5.4 https://github.com/spack/spack/issues/6902#issuecomment-433072097 + # GCC 7.3 https://github.com/spack/spack/issues/6902#issuecomment-433030376 + # GCC 9+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724 + depends_on('isl@0.15', when='@5:5.9') + depends_on('isl@0.15:0.18', when='@6:8.9') + depends_on('isl@0.15:0.20', when='@9:') depends_on('zlib', when='@6:') depends_on('gnat', when='languages=ada') depends_on('binutils~libiberty', when='+binutils') diff --git a/var/spack/repos/builtin/packages/isl/package.py b/var/spack/repos/builtin/packages/isl/package.py index 3efe4ad051..cca2ba21f3 100644 --- a/var/spack/repos/builtin/packages/isl/package.py +++ b/var/spack/repos/builtin/packages/isl/package.py @@ -13,9 +13,10 @@ class Isl(AutotoolsPackage): homepage = "http://isl.gforge.inria.fr" url = "http://isl.gforge.inria.fr/isl-0.19.tar.bz2" - version('0.19', '7850d46a96e5ea31e34913190895e154') - version('0.18', '11436d6b205e516635b666090b94ab32') - version('0.14', 'acd347243fca5609e3df37dba47fd0bb') + version('0.19', sha256='d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8') + version('0.18', sha256='6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b') + version('0.15', sha256='8ceebbf4d9a81afa2b4449113cee4b7cb14a687d7a549a963deb5e2a41458b6b') + version('0.14', sha256='7e3c02ff52f8540f6a85534f54158968417fd676001651c8289c705bd0228f36') depends_on('gmp') |