forked from OSchip/llvm-project
If constructed llvm_build_dir doesn't exist, retry as an iphoneos path.
llvm-svn: 230130
This commit is contained in:
parent
d5ab35f265
commit
1bffef3b29
|
@ -25,6 +25,9 @@ if not os.path.isdir(target_dir):
|
|||
print target_dir + " doesn't exist"
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue