aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-09-13 16:59:46 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-09-13 17:24:50 -0700
commit1c993f99f175f36109eb169c6831b25e87304338 (patch)
tree1ec1e88c1847fa1fac2d9c065aed9b2e69f02986 /tools
parent62e2462acc312b8cd075a8efa224eca5969c5ad9 (diff)
clearer error message when a crucial llvm tool is missing, and force sanity checks in EMCC_DEBUG mode
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index f6943c92..3f613524 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -95,7 +95,7 @@ def check_sanity(force=False):
print >> sys.stderr, 'FATAL: Node.js (%s) does not seem to work, check the paths in %s' % (NODE_JS, EM_CONFIG)
sys.exit(0)
- for cmd in [CLANG, LLVM_DIS]:
+ for cmd in [CLANG, LLVM_LINK, LLVM_AR, LLVM_OPT, LLVM_AS, LLVM_DIS, LLVM_NM]:
if not os.path.exists(cmd) and not os.path.exists(cmd + '.exe'): # .exe extension required for Windows
print >> sys.stderr, 'FATAL: Cannot find %s, check the paths in %s' % (cmd, EM_CONFIG)
sys.exit(0)