Add yacc provider and add dependency to swig (#19087)

* Add byacc dependency to swig when building an autoconf version

* Add yacc provider

Removed extra sycl provider default
This commit is contained in:
Andrew Gaspar
2020-10-01 14:09:24 -06:00
committed by GitHub
parent 252031a9f8
commit 6aa9866b79
4 changed files with 6 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ class Bison(AutotoolsPackage, GNUMirrorPackage):
# https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00008.html
patch('parallel.patch', when='@3.4.2')
provides('yacc')
depends_on('diffutils', type='build')
depends_on('m4', type=('build', 'run'))
depends_on('perl', type='build')

View File

@@ -18,6 +18,8 @@ class Byacc(AutotoolsPackage):
version('master', branch='master')
provides('yacc')
depends_on('m4', type='build')
depends_on('autoconf', type='build')
depends_on('automake', type='build')

View File

@@ -49,6 +49,7 @@ class Swig(AutotoolsPackage, SourceforgePackage):
depends_on('autoconf', type='build', when=_version)
depends_on('automake', type='build', when=_version)
depends_on('libtool', type='build', when=_version)
depends_on('yacc', type='build', when=_version)
# Need newer 'automake' to support newer platforms
for _target in ['ppc64le', 'aarch64']:
depends_on('automake@1.15:', type='build', when='target={0}:'.format(_target))