memkind: remove custom phases, add v1.13.0
This commit is contained in:
parent
a9a7ac71fa
commit
b9d12df7a9
1 changed files with 3 additions and 4 deletions
|
@ -24,6 +24,7 @@ class Memkind(AutotoolsPackage):
|
||||||
homepage = "https://github.com/memkind/memkind"
|
homepage = "https://github.com/memkind/memkind"
|
||||||
url = "https://github.com/memkind/memkind/archive/v1.7.0.tar.gz"
|
url = "https://github.com/memkind/memkind/archive/v1.7.0.tar.gz"
|
||||||
|
|
||||||
|
version('1.13.0', sha256='3f0d919b61fdd4d2ebce14e0b7dbb856e2144138778940107c13549523f3bdc0')
|
||||||
version('1.12.0', sha256='b0781d493dec0da0089884fd54bcfdde03311019c56f90505ed0b884100bfbad')
|
version('1.12.0', sha256='b0781d493dec0da0089884fd54bcfdde03311019c56f90505ed0b884100bfbad')
|
||||||
version('1.10.1', sha256='c203615d964a0bb151756ad8a5c9565391ee77d79c1f8b59d2ea8ff87989b294')
|
version('1.10.1', sha256='c203615d964a0bb151756ad8a5c9565391ee77d79c1f8b59d2ea8ff87989b294')
|
||||||
version('1.10.0', sha256='0399a1d6a179d065cdbc59bb687fcd00d09dfbb1789334acfdf7431a48707d26')
|
version('1.10.0', sha256='0399a1d6a179d065cdbc59bb687fcd00d09dfbb1789334acfdf7431a48707d26')
|
||||||
|
@ -37,14 +38,12 @@ class Memkind(AutotoolsPackage):
|
||||||
depends_on('m4', type='build')
|
depends_on('m4', type='build')
|
||||||
depends_on('numactl')
|
depends_on('numactl')
|
||||||
|
|
||||||
phases = ['build_jemalloc', 'autoreconf', 'configure', 'build',
|
|
||||||
'install']
|
|
||||||
|
|
||||||
def patch(self):
|
def patch(self):
|
||||||
with open('VERSION', 'w') as version_file:
|
with open('VERSION', 'w') as version_file:
|
||||||
version_file.write('{0}\n'.format(self.version))
|
version_file.write('{0}\n'.format(self.version))
|
||||||
|
|
||||||
def build_jemalloc(self, spec, prefix):
|
@run_before('autoreconf')
|
||||||
|
def build_jemalloc(self):
|
||||||
if os.path.exists('build_jemalloc.sh'):
|
if os.path.exists('build_jemalloc.sh'):
|
||||||
bash = which('bash')
|
bash = which('bash')
|
||||||
bash('./build_jemalloc.sh')
|
bash('./build_jemalloc.sh')
|
||||||
|
|
Loading…
Reference in a new issue