Removed boost dependence and other outdated bits (#21394)
This commit is contained in:
parent
7b38221798
commit
1b9be33f84
1 changed files with 1 additions and 7 deletions
|
@ -26,15 +26,9 @@ class Lhapdf(AutotoolsPackage):
|
|||
depends_on('python', type=('build', 'run'))
|
||||
depends_on('py-cython', 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')
|
||||
|
||||
def configure_args(self):
|
||||
args = ['--with-boost=' + self.spec['boost'].prefix,
|
||||
'FCFLAGS=-O3', 'CFLAGS=-O3', 'CXXFLAGS=-O3']
|
||||
|
||||
if self.spec.satisfies('@:6.1.5'):
|
||||
args.append('--with-yaml-cpp=' + self.spec['yaml-cpp'].prefix)
|
||||
args = ['FCFLAGS=-O3', 'CFLAGS=-O3', 'CXXFLAGS=-O3']
|
||||
return args
|
||||
|
|
Loading…
Reference in a new issue