llvm: add Xcode CLT notice (#29690)
This commit is contained in:
parent
34af3fe411
commit
b717b7d708
1 changed files with 6 additions and 0 deletions
|
@ -168,6 +168,12 @@ class Llvm < Formula
|
|||
build.with?("libcxx") || !MacOS::CLT.installed?
|
||||
end
|
||||
|
||||
# Clang cannot find system headers if Xcode CLT is not installed
|
||||
pour_bottle? do
|
||||
reason "The bottle needs the Xcode CLT to be installed."
|
||||
satisfy { MacOS::CLT.installed? }
|
||||
end
|
||||
|
||||
def install
|
||||
# Apple's libstdc++ is too old to build LLVM
|
||||
ENV.libcxx if ENV.compiler == :clang
|
||||
|
|
Loading…
Reference in a new issue