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

Unified Diff: tests_lit/lit.cfg

Issue 644143002: Generate a minimal llvm2ice. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 2 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
Index: tests_lit/lit.cfg
diff --git a/tests_lit/lit.cfg b/tests_lit/lit.cfg
index 825f7d2b3051d4bc366080b71cdbb696fc540b91..de8c1317d3d917cbe0632bb276ee3900de452f11 100644
--- a/tests_lit/lit.cfg
+++ b/tests_lit/lit.cfg
@@ -39,15 +39,24 @@ llvmbinpath = os.path.abspath(os.environ.get('LLVM_BIN_PATH'))
# Finding Subzero tools
llvm2icetool = os.path.join(bin_root, 'llvm2ice')
+minllvm2icetool = os.path.join(bin_root, 'minllvm2ice')
# Convert LLVM source to PNaCl bitcode, read using the
# Subzero bitcode reader, and then translate.
config.substitutions.append(
('%p2i', ' '.join([os.path.join(pydir, 'run-llvm2ice.py'),
'--llvm2ice', llvm2icetool,
- '--llvm-bin-path', llvmbinpath
+ '--llvm-bin-path', llvmbinpath
])))
+# Using min Subzero, convert LLVM source to PNaCl bitcode, read using
+# the Subzero bitcode reader, and then translate.
+config.substitutions.append(
+ ('%minp2i', ' '.join([os.path.join(pydir, 'run-llvm2ice.py'),
+ '--llvm2ice', minllvm2icetool,
+ '--llvm-bin-path', llvmbinpath
+ ])))
+
# Convert LLVM source to PNaCl bitcode, read using the PNaCl bitcode reader,
# convert to ICE using the ICE Converter, and then translate.
# TODO(kschimpf) Deprecated, remove once p2i working.
« Makefile.standalone ('K') | « Makefile.standalone ('k') | tests_lit/reader_tests/binops.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698