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 296053008: Build subzero with LLVM autoconf build (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: update to tip Created 6 years, 5 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/COMPONENT_REVISIONS ('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 f4085795aacad47396223ffc9a611ea3e1d5d46d..8d6463ddd664bf2bda93828b2cf7ab372a4b47cf 100755
--- a/toolchain_build/toolchain_build_pnacl.py
+++ b/toolchain_build/toolchain_build_pnacl.py
@@ -57,6 +57,7 @@ GIT_REPOS = {
'nacl-newlib': 'nacl-newlib.git',
'llvm-test-suite': 'pnacl-llvm-testsuite.git',
'compiler-rt': 'pnacl-compiler-rt.git',
+ 'subzero': 'pnacl-subzero.git',
}
GIT_BASE_URL = 'https://chromium.googlesource.com/native_client/'
@@ -266,6 +267,11 @@ def HostToolsSources(GetGitSyncCmds):
'output_dirname': 'llvm',
'commands': GetGitSyncCmds('llvm'),
},
+ 'subzero_src': {
+ 'type': 'source',
+ 'output_dirname': 'subzero',
+ 'commands': GetGitSyncCmds('subzero'),
+ },
}
return sources
@@ -398,7 +404,8 @@ def HostTools(host, options):
}
llvm_autoconf = {
H('llvm'): {
- 'dependencies': ['clang_src', 'llvm_src', 'binutils_pnacl_src'],
+ 'dependencies': ['clang_src', 'llvm_src', 'binutils_pnacl_src',
+ 'subzero_src'],
'type': 'build',
'output_subdir': HostSubdir(host),
'commands': [
@@ -421,6 +428,7 @@ def HostTools(host, options):
command.Command(MakeCommand(host) + [
'VERBOSE=1',
'NACL_SANDBOX=0',
+ 'SUBZERO_SRC_ROOT=%(abs_subzero_src)s',
'all']),
command.Command(MAKE_DESTDIR_CMD + ['install']),
command.Remove(*[os.path.join('%(output)s', 'lib', f) for f in
« no previous file with comments | « pnacl/COMPONENT_REVISIONS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698