From 5805d9e9ac5d6d4e02cb2be0499658cd64fc3fe7 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Tue, 27 Jun 2017 20:35:53 +0000 Subject: [build system] If there's an OVERRIDE, don't guess the current SCM. This makes automatic checkout work even in situations where the current repository can't be determined, such as in the case of a Git tag. llvm-svn: 306460 --- lldb/scripts/Xcode/build-llvm.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/scripts/Xcode/build-llvm.py') diff --git a/lldb/scripts/Xcode/build-llvm.py b/lldb/scripts/Xcode/build-llvm.py index 36e491ebf06..e2a46de1a16 100755 --- a/lldb/scripts/Xcode/build-llvm.py +++ b/lldb/scripts/Xcode/build-llvm.py @@ -43,6 +43,9 @@ def process_repo(r): } def XCODE_REPOSITORIES(): + override = repo.get_override() + if override: + return [process_repo(r) for r in override] identifier = repo.identifier() if identifier == None: identifier = "" # repo.find will just use the fallback file -- cgit v1.2.3