numactl: no-op needed if configure can't find TLS (#21894)

* numactl: Bash needs no-op if configure can't find TLS

* Upstream has fix, will be out in next version.

https://github.com/numactl/numactl/pull/103
This commit is contained in:
Robert Blake 2021-02-23 19:13:22 -08:00 committed by GitHub
parent 61c8bc2b19
commit 0389f51bd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index ef39707..659a765 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ AC_PROG_CC
# Override CFLAGS so that we can specify custom CFLAGS for numademo.
AX_AM_OVERRIDE_VAR([CFLAGS])
-AX_TLS
+AX_TLS([:],[:])
AX_CHECK_COMPILE_FLAG([-ftree-vectorize], [tree_vectorize="true"])
AM_CONDITIONAL([HAVE_TREE_VECTORIZE], [test x"${tree_vectorize}" = x"true"])

View file

@ -21,6 +21,7 @@ class Numactl(AutotoolsPackage):
patch('numactl-2.0.11-sysmacros.patch', when="@2.0.11")
# https://github.com/numactl/numactl/issues/94
patch('numactl-2.0.14-symver.patch', when="@2.0.14")
patch('fix-empty-block.patch', when="@2.0.10:2.0.14")
depends_on('autoconf', type='build')
depends_on('automake', type='build')