Add latest version of bdw-gc (#3539)
This commit is contained in:
parent
8a463c07ea
commit
a60210f6b2
@ -25,13 +25,14 @@
|
|||||||
from spack import *
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
class BdwGc(Package):
|
class BdwGc(AutotoolsPackage):
|
||||||
"""The Boehm-Demers-Weiser conservative garbage collector is a garbage
|
"""The Boehm-Demers-Weiser conservative garbage collector is a garbage
|
||||||
collecting replacement for C malloc or C++ new."""
|
collecting replacement for C malloc or C++ new."""
|
||||||
|
|
||||||
homepage = "http://www.hboehm.info/gc/"
|
homepage = "http://www.hboehm.info/gc/"
|
||||||
url = "http://www.hboehm.info/gc/gc_source/gc-7.4.4.tar.gz"
|
url = "http://www.hboehm.info/gc/gc_source/gc-7.6.0.tar.gz"
|
||||||
|
|
||||||
|
version('7.6.0', 'bf46ccbdaccfa3186c2ab87191c8855a')
|
||||||
version('7.4.4', '96d18b0448a841c88d56e4ab3d180297')
|
version('7.4.4', '96d18b0448a841c88d56e4ab3d180297')
|
||||||
|
|
||||||
variant('libatomic-ops', default=True,
|
variant('libatomic-ops', default=True,
|
||||||
@ -39,15 +40,12 @@ class BdwGc(Package):
|
|||||||
|
|
||||||
depends_on('libatomic-ops', when='+libatomic-ops')
|
depends_on('libatomic-ops', when='+libatomic-ops')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def configure_args(self):
|
||||||
|
spec = self.spec
|
||||||
|
|
||||||
config_args = [
|
config_args = [
|
||||||
'--prefix={0}'.format(prefix),
|
|
||||||
'--with-libatomic-ops={0}'.format(
|
'--with-libatomic-ops={0}'.format(
|
||||||
'yes' if '+libatomic-ops' in spec else 'no')
|
'yes' if '+libatomic-ops' in spec else 'no')
|
||||||
]
|
]
|
||||||
|
|
||||||
configure(*config_args)
|
return config_args
|
||||||
|
|
||||||
make()
|
|
||||||
make('check')
|
|
||||||
make('install')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user