|
| 1 | +classClangLLVMBin8 <Formula |
| 2 | + |
| 3 | +desc"Prebuilt CLang and LLVM 8.0.0 for cross compilation purposes." |
| 4 | +homepage"https://releases.llvm.org" |
| 5 | +url"https://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-apple-darwin.tar.xz" |
| 6 | +# curl -L https://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-apple-darwin.tar.xz | shasum -a 256 |
| 7 | +sha256"94ebeb70f17b6384e052c47fef24a6d70d3d949ab27b6c83d4ab7b298278ad6f" |
| 8 | + |
| 9 | +definstall |
| 10 | +patchdo |
| 11 | +url"https://helgehess.eu/patches/clang-llvm-8.0.0-makefile.patch" |
| 12 | +# curl -L https://helgehess.eu/patches/clang-llvm-8.0.0-makefile.patch | shasum -a 256 |
| 13 | +sha256"7f13437a92ab36113412164107584b46512dca4a08552740d1ac7d1c1ddd3d75" |
| 14 | +end |
| 15 | + |
| 16 | +system"make","prefix=#{prefix}","install" |
| 17 | +end |
| 18 | +end |