[Lldb-commits] [lldb] r230130 - If constructed llvm_build_dir doesn't exist, retry as an iphoneos path.
Jason Molenda
jmolenda at apple.com
Fri Feb 20 22:13:51 PST 2015
Author: jmolenda
Date: Sat Feb 21 00:13:51 2015
New Revision: 230130
URL: http://llvm.org/viewvc/llvm-project?rev=230130&view=rev
Log:
If constructed llvm_build_dir doesn't exist, retry as an iphoneos path.
Modified:
lldb/trunk/scripts/package-clang-headers.py
Modified: lldb/trunk/scripts/package-clang-headers.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/package-clang-headers.py?rev=230130&r1=230129&r2=230130&view=diff
==============================================================================
--- lldb/trunk/scripts/package-clang-headers.py (original)
+++ lldb/trunk/scripts/package-clang-headers.py Sat Feb 21 00:13:51 2015
@@ -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)
More information about the lldb-commits
mailing list