summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gcc
diff options
context:
space:
mode:
authorTom Scogland <scogland1@llnl.gov>2022-03-30 01:42:38 -0700
committerGitHub <noreply@github.com>2022-03-30 10:42:38 +0200
commit4898759eabf7dd053b9ee29e0a9e8742b0931b80 (patch)
tree9388f10e7f1e009befa48d017465792d59cd8309 /var/spack/repos/builtin/packages/gcc
parent295507129b114fab274f55cd650bb582b50a86ff (diff)
downloadspack-4898759eabf7dd053b9ee29e0a9e8742b0931b80.tar.gz
spack-4898759eabf7dd053b9ee29e0a9e8742b0931b80.tar.bz2
spack-4898759eabf7dd053b9ee29e0a9e8742b0931b80.tar.xz
spack-4898759eabf7dd053b9ee29e0a9e8742b0931b80.zip
gcc: add missing dependencies (#29671)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var/spack/repos/builtin/packages/gcc')
-rw-r--r--var/spack/repos/builtin/packages/gcc/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py
index df357dae7a..04c0e31ac0 100644
--- a/var/spack/repos/builtin/packages/gcc/package.py
+++ b/var/spack/repos/builtin/packages/gcc/package.py
@@ -113,6 +113,15 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# https://gcc.gnu.org/install/prerequisites.html
depends_on('gmp@4.3.2:')
+ # mawk is not sufficient for go support
+ depends_on('gawk@3.1.5:', type='build')
+ depends_on('texinfo@4.7:', type='build')
+ depends_on('libtool', type='build')
+ # dependencies required for git versions
+ depends_on('m4@1.4.6:', when='@master', type='build')
+ depends_on('automake@1.15.1:', when='@master', type='build')
+ depends_on('autoconf@2.69:', when='@master', type='build')
+
# 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', when='@:9.9')