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:
parent
252031a9f8
commit
6aa9866b79
4 changed files with 6 additions and 1 deletions
|
@ -46,7 +46,7 @@ packages:
|
|||
szip: [libszip, libaec]
|
||||
tbb: [intel-tbb]
|
||||
unwind: [libunwind]
|
||||
sycl: [hipsycl]
|
||||
yacc: [bison, byacc]
|
||||
permissions:
|
||||
read: world
|
||||
write: user
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue