summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Tooley <32297355+ptooley@users.noreply.github.com>2021-02-23 23:20:49 +0000
committerTodd Gamblin <tgamblin@llnl.gov>2021-05-10 23:11:29 -0700
commit566becbbfe56080498abd87216cb03eaea271a31 (patch)
treef09a0777fea85348af75d790545d6c5f5819eb30
parent8c05387ebcda7a556c24896d23795bd534f4f8b4 (diff)
downloadspack-566becbbfe56080498abd87216cb03eaea271a31.tar.gz
spack-566becbbfe56080498abd87216cb03eaea271a31.tar.bz2
spack-566becbbfe56080498abd87216cb03eaea271a31.tar.xz
spack-566becbbfe56080498abd87216cb03eaea271a31.zip
use package supplied autogen.sh (#20319)
-rw-r--r--var/spack/repos/builtin/packages/numactl/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/numactl/package.py b/var/spack/repos/builtin/packages/numactl/package.py
index 8fbfbdfeea..5070a9bfca 100644
--- a/var/spack/repos/builtin/packages/numactl/package.py
+++ b/var/spack/repos/builtin/packages/numactl/package.py
@@ -12,6 +12,8 @@ class Numactl(AutotoolsPackage):
homepage = "http://oss.sgi.com/projects/libnuma/"
url = "https://github.com/numactl/numactl/archive/v2.0.11.tar.gz"
+ force_autoreconf = True
+
version('2.0.14', sha256='1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035')
version('2.0.12', sha256='7c3e819c2bdeb883de68bafe88776a01356f7ef565e75ba866c4b49a087c6bdf')
version('2.0.11', sha256='3e099a59b2c527bcdbddd34e1952ca87462d2cef4c93da9b0bc03f02903f7089')
@@ -25,6 +27,10 @@ class Numactl(AutotoolsPackage):
depends_on('libtool', type='build')
depends_on('m4', type='build')
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')
+
def patch(self):
# Remove flags not recognized by the NVIDIA compiler
if self.spec.satisfies('%nvhpc'):