Removed boost dependence and other outdated bits (#21394)

This commit is contained in:
kkauder 2021-02-07 06:06:59 -05:00 committed by GitHub
parent 7b38221798
commit 1b9be33f84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,15 +26,9 @@ class Lhapdf(AutotoolsPackage):
depends_on('python', type=('build', 'run')) depends_on('python', type=('build', 'run'))
depends_on('py-cython', type='build') depends_on('py-cython', type='build')
depends_on('py-setuptools', type='build') depends_on('py-setuptools', type='build')
depends_on('boost', type='build')
depends_on('yaml-cpp', type='build', when='@:6.1.5')
extends('python') extends('python')
def configure_args(self): def configure_args(self):
args = ['--with-boost=' + self.spec['boost'].prefix, args = ['FCFLAGS=-O3', 'CFLAGS=-O3', 'CXXFLAGS=-O3']
'FCFLAGS=-O3', 'CFLAGS=-O3', 'CXXFLAGS=-O3']
if self.spec.satisfies('@:6.1.5'):
args.append('--with-yaml-cpp=' + self.spec['yaml-cpp'].prefix)
return args return args