projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5ab35f
)
If constructed llvm_build_dir doesn't exist, retry as an iphoneos path.
author
Jason Molenda
<jmolenda@apple.com>
Sat, 21 Feb 2015 06:13:51 +0000
(06:13 +0000)
committer
Jason Molenda
<jmolenda@apple.com>
Sat, 21 Feb 2015 06:13:51 +0000
(06:13 +0000)
llvm-svn: 230130
lldb/scripts/package-clang-headers.py
patch
|
blob
|
history
diff --git
a/lldb/scripts/package-clang-headers.py
b/lldb/scripts/package-clang-headers.py
index
f2b7a24
..
e120955
100644
(file)
--- a/
lldb/scripts/package-clang-headers.py
+++ b/
lldb/scripts/package-clang-headers.py
@@
-26,6
+26,9
@@
if not os.path.isdir(target_dir):
sys.exit(1)
if not os.path.isdir(llvm_build_dir):
+ llvm_build_dir = re.sub ("-macosx-", "-iphoneos-", llvm_build_dir)
+
+if not os.path.isdir(llvm_build_dir):
print llvm_build_dir + " doesn't exist"
sys.exit(1)