summaryrefslogtreecommitdiffstats
path: root/contrib/x265_10bit/module.defs
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/x265_10bit/module.defs
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/x265_10bit/module.defs')
-rw-r--r--contrib/x265_10bit/module.defs4
1 files changed, 4 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