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

Unified Diff: pydir/build-pnacl-ir.py

Issue 317963002: Make py import not assume dir is "pnacl-subzero". Avoid autovect in crosstest. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: no need for disable-opt Created 6 years, 6 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 | « llvm2iceinsts.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/build-pnacl-ir.py
diff --git a/pydir/build-pnacl-ir.py b/pydir/build-pnacl-ir.py
index 67dbefdbb71d950c8d3efb3d0726337875d062cb..9395fc7f5777a5dfc25aabcc5e750efce3f30b08 100755
--- a/pydir/build-pnacl-ir.py
+++ b/pydir/build-pnacl-ir.py
@@ -40,10 +40,10 @@ Please set the NACL_SDK_ROOT environment variable or pass the path through
pnaclname = basename + '.pnacl.ll'
pnaclname = os.path.join(args.dir, pnaclname)
- shellcmd(clang_path + ' -I{0} -c {1} -o {2}'.format(
+ shellcmd(clang_path + ' -O2 -I{0} -c {1} -o {2}'.format(
includes_path, cname, llname))
shellcmd(opt_path +
- ' -O2 -pnacl-abi-simplify-preopt -pnacl-abi-simplify-postopt' +
+ ' -pnacl-abi-simplify-preopt -pnacl-abi-simplify-postopt' +
('' if args.disable_verify else
' -verify-pnaclabi-module -verify-pnaclabi-functions') +
' -pnaclabi-allow-debug-metadata -disable-simplify-libcalls'
« no previous file with comments | « llvm2iceinsts.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698