diff options
author | John Stebbins <[email protected]> | 2019-04-15 10:48:56 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-15 10:48:56 -0600 |
commit | a144fd366bd8ca1030aa785f7cbfa27e84a0b428 (patch) | |
tree | 218cb9a2d9856d6c83f5d2414d457ff5090eacc9 /make | |
parent | d572956c90cffd6c221368af69ad129e2bc84bdb (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 'make')
-rw-r--r-- | make/configure.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py index 89c94c18c..ef55c05c0 100644 --- a/make/configure.py +++ b/make/configure.py @@ -1238,6 +1238,10 @@ def createCLI( cross = None ): grp.add_argument( '--enable-x265', dest="enable_x265", default=True, action='store_true', help=(( 'enable %s' %h ) if h != argparse.SUPPRESS else h) ) grp.add_argument( '--disable-x265', dest="enable_x265", action='store_false', help=(( 'disable %s' %h ) if h != argparse.SUPPRESS else h) ) + h = IfHost( 'x265 NUMA support', '*-*-linux', none=argparse.SUPPRESS ).value + grp.add_argument( '--enable-numa', dest="enable_numa", default=True, action='store_true', help=(( 'enable %s' %h ) if h != argparse.SUPPRESS else h) ) + grp.add_argument( '--disable-numa', dest="enable_numa", action='store_false', help=(( 'disable %s' %h ) if h != argparse.SUPPRESS else h) ) + h = IfHost( 'FDK AAC audio encoder', '*-*-*', none=argparse.SUPPRESS ).value grp.add_argument( '--enable-fdk-aac', dest="enable_fdk_aac", default=False, action='store_true', help=(( 'enable %s' %h ) if h != argparse.SUPPRESS else h) ) grp.add_argument( '--disable-fdk-aac', dest="enable_fdk_aac", action='store_false', help=(( 'disable %s' %h ) if h != argparse.SUPPRESS else h) ) @@ -1821,6 +1825,7 @@ int main() doc.add( 'FEATURE.vce', int( options.enable_vce )) doc.add( 'FEATURE.x265', int( options.enable_x265 )) + doc.add( 'FEATURE.numa', int( options.enable_x265 and options.enable_numa )) if host.match( '*-*-darwin*' ) and options.cross is None: doc.add( 'FEATURE.xcode', int( not (Tools.xcodebuild.fail or options.disable_xcode) )) |