parent
621b5a4061
commit
543ccb699a
1 changed files with 5 additions and 0 deletions
|
@ -110,6 +110,11 @@ class Llvm < Formula
|
|||
if build.with? "clang"
|
||||
system "make", "-C", "projects/libcxx", "install",
|
||||
"DSTROOT=#{prefix}", "SYMROOT=#{buildpath}/projects/libcxx"
|
||||
|
||||
(share/"clang/tools").install Dir["tools/clang/tools/scan-{build,view}"]
|
||||
inreplace "#{share}/clang/tools/scan-build/scan-build", "$RealBin/bin/clang", "#{bin}/clang"
|
||||
bin.install_symlink share/"clang/tools/scan-build/scan-build", share/"clang/tools/scan-view/scan-view"
|
||||
man1.install_symlink share/"clang/tools/scan-build/scan-build.1"
|
||||
end
|
||||
|
||||
# install llvm python bindings
|
||||
|
|
Loading…
Reference in a new issue