Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: toolchain_build/toolchain_build_pnacl.py

Issue 1082953002: Add configure/CMake flags for conditionally building subzero targets. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« pnacl/build.sh ('K') | « pnacl/build.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: toolchain_build/toolchain_build_pnacl.py
diff --git a/toolchain_build/toolchain_build_pnacl.py b/toolchain_build/toolchain_build_pnacl.py
index 79cefb05860ef3b19a438add5bfb4fb905c1f960..63e170f71832dbc45df554fc0ff2be08f47a124a 100755
--- a/toolchain_build/toolchain_build_pnacl.py
+++ b/toolchain_build/toolchain_build_pnacl.py
@@ -672,6 +672,7 @@ def HostTools(host, options):
'-DLLVM_EXTERNAL_SUBZERO_SOURCE_DIR=%(subzero_src)s',
'-DLLVM_INSTALL_UTILS=ON',
'-DLLVM_TARGETS_TO_BUILD=X86;ARM;Mips;JSBackend',
+ '-DSUBZERO_TARGETS_TO_BUILD=X8632;ARM32',
'%(llvm_src)s'],
# Older CMake ignore CMAKE_*_LINKER_FLAGS during config step.
# https://public.kitware.com/Bug/view.php?id=14066
@@ -716,6 +717,7 @@ def HostTools(host, options):
'--enable-debug=' + ('yes' if HostIsDebug(options)
else 'no'),
'--enable-targets=x86,arm,mips,js',
+ '--enable-subzero-targets=X8632,ARM32',
'--enable-werror=' + ('yes' if llvm_do_werror else 'no'),
'--prefix=/',
'--program-prefix=',
« pnacl/build.sh ('K') | « pnacl/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698