gcc: add missing dependencies (#29671)

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Tom Scogland 2022-03-30 01:42:38 -07:00 committed by GitHub
parent 295507129b
commit 4898759eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,15 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# https://gcc.gnu.org/install/prerequisites.html # https://gcc.gnu.org/install/prerequisites.html
depends_on('gmp@4.3.2:') 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 # GCC 7.3 does not compile with newer releases on some platforms, see
# https://github.com/spack/spack/issues/6902#issuecomment-433030376 # https://github.com/spack/spack/issues/6902#issuecomment-433030376
depends_on('mpfr@2.4.2:3.1.6', when='@:9.9') depends_on('mpfr@2.4.2:3.1.6', when='@:9.9')