summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-04-15 10:48:56 -0600
committerJohn Stebbins <[email protected]>2019-04-15 10:48:56 -0600
commita144fd366bd8ca1030aa785f7cbfa27e84a0b428 (patch)
tree218cb9a2d9856d6c83f5d2414d457ff5090eacc9 /contrib
parentd572956c90cffd6c221368af69ad129e2bc84bdb (diff)
configure: add option to enable/disable libnuma
It is not supported or not useful in some Linux environments, so allow disabling it.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/x265_10bit/module.defs4
-rw-r--r--contrib/x265_12bit/module.defs4
-rw-r--r--contrib/x265_8bit/module.defs4
3 files changed, 12 insertions, 0 deletions
diff --git a/contrib/x265_10bit/module.defs b/contrib/x265_10bit/module.defs
index 252ef50e5..8b950709a 100644
--- a/contrib/x265_10bit/module.defs
+++ b/contrib/x265_10bit/module.defs
@@ -19,6 +19,10 @@ X265_10.CONFIGURE.static =
X265_10.CONFIGURE.shared = -DENABLE_SHARED=OFF
X265_10.CONFIGURE.extra = -DENABLE_CLI=OFF -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF
+ifneq (1,$(FEATURE.numa))
+ X265_10.CONFIGURE.extra += -DENABLE_LIBNUMA=OFF
+endif
+
ifneq (none,$(X265_10.GCC.g))
X265_10.CONFIGURE.extra += -DCMAKE_BUILD_TYPE=Debug
else
diff --git a/contrib/x265_12bit/module.defs b/contrib/x265_12bit/module.defs
index f350fff5d..b8827a93a 100644
--- a/contrib/x265_12bit/module.defs
+++ b/contrib/x265_12bit/module.defs
@@ -19,6 +19,10 @@ X265_12.CONFIGURE.static =
X265_12.CONFIGURE.shared = -DENABLE_SHARED=OFF
X265_12.CONFIGURE.extra = -DENABLE_CLI=OFF -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DMAIN12=ON
+ifneq (1,$(FEATURE.numa))
+ X265_12.CONFIGURE.extra += -DENABLE_LIBNUMA=OFF
+endif
+
ifneq (none,$(X265_12.GCC.g))
X265_12.CONFIGURE.extra += -DCMAKE_BUILD_TYPE=Debug
else
diff --git a/contrib/x265_8bit/module.defs b/contrib/x265_8bit/module.defs
index 173a95fca..4a4411517 100644
--- a/contrib/x265_8bit/module.defs
+++ b/contrib/x265_8bit/module.defs
@@ -16,6 +16,10 @@ X265_8.CONFIGURE.static =
X265_8.CONFIGURE.shared = -DENABLE_SHARED=OFF
X265_8.CONFIGURE.extra = -DENABLE_CLI=OFF -DHIGH_BIT_DEPTH=OFF -DEXTRA_LIB="x265_main10.a;x265_main12.a" -DEXTRA_LINK_FLAGS=-L. -DLINKED_10BIT=ON -DLINKED_12BIT=ON
+ifneq (1,$(FEATURE.numa))
+ X265_8.CONFIGURE.extra += -DENABLE_LIBNUMA=OFF
+endif
+
ifneq (none,$(X265_8.GCC.g))
X265_8.CONFIGURE.extra += -DCMAKE_BUILD_TYPE=Debug
else