fgsl: new version + fix for recent spack commit (#12790)
This commit is contained in:
parent
b1868f35ec
commit
3269f712f0
@ -16,6 +16,7 @@ class Fgsl(AutotoolsPackage):
|
||||
homepage = "https://github.com/reinh-bader/fgsl"
|
||||
url = "https://github.com/reinh-bader/fgsl/archive/v1.2.0.tar.gz"
|
||||
|
||||
version('1.3.0', '6d73d558c889d7ea23e510a436f28618624035e8ffa07692894f10968aa83a4b')
|
||||
version('1.2.0', 'e5a4ac08eb744c963e95a46a51d76c56593836077c5ad8c47e240cae57027002')
|
||||
version('1.1.0', 'a5adce3c3b279d2dacc05b74c598ff89be7ef3ae3ec59b3ec1355750c1bb4832')
|
||||
|
||||
@ -23,11 +24,16 @@ class Fgsl(AutotoolsPackage):
|
||||
depends_on('automake', type='build')
|
||||
depends_on('libtool', type='build')
|
||||
depends_on('m4', type='build')
|
||||
depends_on('gsl@2.4', when='@1.3.0')
|
||||
depends_on('gsl@2.3', when='@1.2.0')
|
||||
depends_on('gsl@2.2.1', when='@1.1.0')
|
||||
|
||||
parallel = False
|
||||
|
||||
@run_before('autoreconf')
|
||||
def create_m4_dir(self):
|
||||
mkdir('m4')
|
||||
|
||||
def setup_environment(self, spack_env, run_env):
|
||||
if self.compiler.name == 'gcc':
|
||||
spack_env.append_flags('FCFLAGS', "-ffree-line-length-none")
|
||||
|
Loading…
Reference in New Issue
Block a user