Skip to content

Commit

Permalink
llvm: remove obsolete workaround (#58452)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo authored Jul 24, 2020
1 parent 2f82913 commit 1ae72bc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Formula/llvm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,15 @@ def install
libcxx
libunwind
]
# Can likely be added to the base runtimes array when 11.0.0 is released.
runtimes << "libcxxabi" if build.head?

llvmpath = buildpath/"llvm"
unless build.head?
llvmpath.install buildpath.children - [buildpath/".brew_home"]
(projects + runtimes).each { |p| resource(p).stage(buildpath/p) }
end

# Needed until https://reviews.llvm.org/D63883 lands again.
# Use system libcxxabi.
rm_r "libcxxabi" if build.head?

py_ver = "3.8"

# Apple's libstdc++ is too old to build LLVM
Expand Down

0 comments on commit 1ae72bc

Please sign in to comment.