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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

View file

@ -46,7 +46,7 @@ packages:
szip: [libszip, libaec] szip: [libszip, libaec]
tbb: [intel-tbb] tbb: [intel-tbb]
unwind: [libunwind] unwind: [libunwind]
sycl: [hipsycl] yacc: [bison, byacc]
permissions: permissions:
read: world read: world
write: user write: user

View file

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

View file

@ -18,6 +18,8 @@ class Byacc(AutotoolsPackage):
version('master', branch='master') version('master', branch='master')
provides('yacc')
depends_on('m4', type='build') depends_on('m4', type='build')
depends_on('autoconf', type='build') depends_on('autoconf', type='build')
depends_on('automake', 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('autoconf', type='build', when=_version)
depends_on('automake', type='build', when=_version) depends_on('automake', type='build', when=_version)
depends_on('libtool', 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 # Need newer 'automake' to support newer platforms
for _target in ['ppc64le', 'aarch64']: for _target in ['ppc64le', 'aarch64']:
depends_on('automake@1.15:', type='build', when='target={0}:'.format(_target)) depends_on('automake@1.15:', type='build', when='target={0}:'.format(_target))