llnode: fix lldb resource for Xcode < 8.0.
Closes #7137. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
5ef9116686
commit
f399eaccf3
1 changed files with 11 additions and 2 deletions
|
@ -20,8 +20,17 @@ class Llnode < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
resource "lldb" do
|
resource "lldb" do
|
||||||
url "https://github.com/llvm-mirror/lldb.git",
|
if MacOS::Xcode.version >= "8.0"
|
||||||
:revision => "839b868e2993dcffc7fea898a1167f1cec097a82"
|
# lldb 360.1
|
||||||
|
url "https://github.com/llvm-mirror/lldb.git",
|
||||||
|
:revision => "839b868e2993dcffc7fea898a1167f1cec097a82"
|
||||||
|
else
|
||||||
|
# It claims it to be lldb 350.0 for Xcode 7.3, but in fact it is based
|
||||||
|
# of 34.
|
||||||
|
# Xcode < 7.3 uses 340.4, so I assume we should be safe to go with this.
|
||||||
|
url "http://llvm.org/svn/llvm-project/lldb/tags/RELEASE_34/final/",
|
||||||
|
:using => :svn
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
|
Loading…
Reference in a new issue