Commit 8c7b0a2c by Jim Stichnoth

Subzero: Fix dependency checking to avoid unnecessary rebuilds.

When trying to do bisection debugging, the pnacl-llc translation was happening every time even if the pexe didn't change. This is because it was checking for a binary called 'llc' in the current directory, instead of an absolute path the pnacl-llc. (This check is done so that updating pnacl-llc triggers a rebuild of the bisection binary, similar to the check for an update of pnacl-sz.) BUG= none R=jvoung@chromium.org Review URL: https://codereview.chromium.org/1044623003
parent 44c3a804
......@@ -172,7 +172,7 @@ def ProcessPexe(args, pexe, exe):
pnacl_sz = (
'{root}/toolchain_build/src/subzero/pnacl-sz'
).format(root=nacl_root)
llcbin = 'llc'
llcbin = '{base}/pnacl-llc'.format(base=path_addition)
gold = 'le32-nacl-ld.gold'
opt_level = args.optlevel
opt_level_map = { 'm1':'0', '-1':'0', '0':'0', '1':'1', '2':'2' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment