summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Xcode/build-llvm.py
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-04-22 22:15:59 +0000
committerGreg Clayton <gclayton@apple.com>2016-04-22 22:15:59 +0000
commitb6bd4618eb0fccb7cc855c01ba6cdefb3af17ea4 (patch)
treede6b398a9175d66a8b5100d6d6c4cbaf68226bca /lldb/scripts/Xcode/build-llvm.py
parent891f0f176ced7ad579a8c2afca2059c22f49093f (diff)
downloadbcm5719-llvm-b6bd4618eb0fccb7cc855c01ba6cdefb3af17ea4.tar.gz
bcm5719-llvm-b6bd4618eb0fccb7cc855c01ba6cdefb3af17ea4.zip
Fix a build-llvm.py crasher when we can't find cmake. Now it exits with a valid error that explains what went wrong.
llvm-svn: 267235
Diffstat (limited to 'lldb/scripts/Xcode/build-llvm.py')
-rwxr-xr-xlldb/scripts/Xcode/build-llvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Xcode/build-llvm.py b/lldb/scripts/Xcode/build-llvm.py
index 72779bc29dc..453969a90ef 100755
--- a/lldb/scripts/Xcode/build-llvm.py
+++ b/lldb/scripts/Xcode/build-llvm.py
@@ -249,7 +249,7 @@ def find_cmake ():
return cmake_binary
# We couldn't find cmake. Tell the user what to do.
- raise(
+ raise Exception(
"could not find cmake in PATH ({}) or in any of these locations ({}), "
"please install cmake or add a link to it in one of those locations".format(
os.environ["PATH"],
OpenPOWER on IntegriCloud