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

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: Update LLVM too 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
« no previous file with comments | « 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 bdb2d895f0d835d8af5734130c815133ee7afbb0..9d0944a6332e80aa7994a8dc07cd969d1f7537f6 100755
--- a/toolchain_build/toolchain_build_pnacl.py
+++ b/toolchain_build/toolchain_build_pnacl.py
@@ -692,6 +692,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
@@ -736,6 +737,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=',
« no previous file with comments | « pnacl/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698