diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2018-04-10 11:46:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 11:46:44 -0500 |
commit | 69f94f18a3bf4de9a98a25de75984ee9e62093d1 (patch) | |
tree | 80747d6aa1ebea090da832767e90a71eab6f402c | |
parent | ecc481a9a7fc538a82a06bd116a02cdc73ac9763 (diff) | |
download | spack-69f94f18a3bf4de9a98a25de75984ee9e62093d1.tar.gz spack-69f94f18a3bf4de9a98a25de75984ee9e62093d1.tar.bz2 spack-69f94f18a3bf4de9a98a25de75984ee9e62093d1.tar.xz spack-69f94f18a3bf4de9a98a25de75984ee9e62093d1.zip |
Fix GCC 6/7 build on APFS (#7696)
-rw-r--r-- | var/spack/repos/builtin/packages/gcc/package.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 00e31fe325..3620ebabce 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -102,13 +102,12 @@ class Gcc(AutotoolsPackage): # depends_on('ppl') # depends_on('cloog') - # TODO: Add a 'test' deptype - # https://github.com/spack/spack/issues/1279 - # depends_on('dejagnu@1.4.4', type='test') - # depends_on('expect', type='test') - # depends_on('tcl', type='test') - # depends_on('autogen@5.5.4:', type='test') - # depends_on('guile@1.4.1:', type='test') + # https://gcc.gnu.org/install/test.html + depends_on('dejagnu@1.4.4', type='test') + depends_on('expect', type='test') + depends_on('tcl', type='test') + depends_on('autogen@5.5.4:', type='test') + depends_on('guile@1.4.1:', type='test') # See https://golang.org/doc/install/gccgo#Releases provides('golang', when='languages=go @4.6:') @@ -158,7 +157,7 @@ class Gcc(AutotoolsPackage): # Fix parallel build on APFS filesystem # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 if macOS_version() >= Version('10.13'): - patch('darwin/apfs.patch', when='@7.2.0') + patch('darwin/apfs.patch', when='@6.1:6.4,7.1:7.3') patch('darwin/gcc-7.1.0-headerpad.patch', when='@5:') patch('darwin/gcc-6.1.0-jit.patch', when='@5:') patch('darwin/gcc-4.9.patch1', when='@4.9.0:4.9.3') |