diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2017-08-15 12:14:07 +0200 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-08-15 12:14:07 +0200 |
commit | 43a634ca809195b81b935a1ddd083797af9b3a8f (patch) | |
tree | 4ea8bb63ca505a257a05adb158be39955cbfb012 /var | |
parent | 5712fbfeb033e41e8979809f651f5ed6bd228c6e (diff) | |
download | spack-43a634ca809195b81b935a1ddd083797af9b3a8f.tar.gz spack-43a634ca809195b81b935a1ddd083797af9b3a8f.tar.bz2 spack-43a634ca809195b81b935a1ddd083797af9b3a8f.tar.xz spack-43a634ca809195b81b935a1ddd083797af9b3a8f.zip |
gcc: Add 7.2.0 (#5098)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gcc/package.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 0d31ef0dfc..aef1158971 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -40,6 +40,7 @@ class Gcc(AutotoolsPackage): list_url = 'http://ftp.gnu.org/gnu/gcc/' list_depth = 1 + version('7.2.0', 'ff370482573133a7fcdd96cd2f552292') version('7.1.0', '6bf56a2bca9dac9dbbf8e8d1036964a8') version('6.4.0', '11ba51a0cfb8471927f387c8895fe232') version('6.3.0', '677a7623c7ef6ab99881bc4e048debb6') @@ -159,10 +160,10 @@ class Gcc(AutotoolsPackage): def url_for_version(self, version): url = 'http://ftp.gnu.org/gnu/gcc/gcc-{0}/gcc-{0}.tar.{1}' - suffix = 'bz2' + suffix = 'xz' - if version >= Version('6.4.0') and version < Version('7.1.0'): - suffix = 'xz' + if version < Version('6.4.0') or version == Version('7.1.0'): + suffix = 'bz2' return url.format(version, suffix) |