From 44ea388bd7a9571c2a2dc7dd063dbee8b6f93b11 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Thu, 29 Jun 2017 13:10:07 -0700 Subject: [PATCH] llvm 4.0.1 Closes #15133. Signed-off-by: ilovezfs --- Formula/llvm.rb | 70 +++++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/Formula/llvm.rb b/Formula/llvm.rb index 14685e52f2..e99516f04b 100644 --- a/Formula/llvm.rb +++ b/Formula/llvm.rb @@ -19,58 +19,57 @@ end class Llvm < Formula desc "Next-gen compiler infrastructure" - homepage "http://llvm.org/" - revision 1 + homepage "https://llvm.org/" stable do - url "http://releases.llvm.org/4.0.0/llvm-4.0.0.src.tar.xz" - sha256 "8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be" + url "http://releases.llvm.org/4.0.1/llvm-4.0.1.src.tar.xz" + sha256 "da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51" resource "clang" do - url "http://releases.llvm.org/4.0.0/cfe-4.0.0.src.tar.xz" - sha256 "cea5f88ebddb30e296ca89130c83b9d46c2d833685e2912303c828054c4dc98a" + url "http://releases.llvm.org/4.0.1/cfe-4.0.1.src.tar.xz" + sha256 "61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b" end resource "clang-extra-tools" do - url "http://releases.llvm.org/4.0.0/clang-tools-extra-4.0.0.src.tar.xz" - sha256 "41b7d37eb128fd362ab3431be5244cf50325bb3bb153895735c5bacede647c99" + url "http://releases.llvm.org/4.0.1/clang-tools-extra-4.0.1.src.tar.xz" + sha256 "35d1e64efc108076acbe7392566a52c35df9ec19778eb9eb12245fc7d8b915b6" end resource "compiler-rt" do - url "http://releases.llvm.org/4.0.0/compiler-rt-4.0.0.src.tar.xz" - sha256 "d3f25b23bef24c305137e6b44f7e81c51bbec764c119e01512a9bd2330be3115" + url "http://releases.llvm.org/4.0.1/compiler-rt-4.0.1.src.tar.xz" + sha256 "a3c87794334887b93b7a766c507244a7cdcce1d48b2e9249fc9a94f2c3beb440" end # Only required to build & run Compiler-RT tests on macOS, optional otherwise. # https://clang.llvm.org/get_started.html resource "libcxx" do - url "http://releases.llvm.org/4.0.0/libcxx-4.0.0.src.tar.xz" - sha256 "4f4d33c4ad69bf9e360eebe6b29b7b19486948b1a41decf89d4adec12473cf96" + url "http://releases.llvm.org/4.0.1/libcxx-4.0.1.src.tar.xz" + sha256 "520a1171f272c9ff82f324d5d89accadcec9bc9f3c78de11f5575cdb99accc4c" end resource "libunwind" do - url "http://releases.llvm.org/4.0.0/libunwind-4.0.0.src.tar.xz" - sha256 "0755efa9f969373d4d543123bbed4b3f9a835f6302875c1379c5745857725973" + url "http://releases.llvm.org/4.0.1/libunwind-4.0.1.src.tar.xz" + sha256 "3b072e33b764b4f9b5172698e080886d1f4d606531ab227772a7fc08d6a92555" end resource "lld" do - url "http://releases.llvm.org/4.0.0/lld-4.0.0.src.tar.xz" - sha256 "33e06457b9ce0563c89b11ccc7ccabf9cff71b83571985a5bf8684c9150e7502" + url "http://releases.llvm.org/4.0.1/lld-4.0.1.src.tar.xz" + sha256 "63ce10e533276ca353941ce5ab5cc8e8dcd99dbdd9c4fa49f344a212f29d36ed" end resource "lldb" do - url "http://releases.llvm.org/4.0.0/lldb-4.0.0.src.tar.xz" - sha256 "2dbd8f05c662c1c9f11270fc9d0c63b419ddc988095e0ad107ed911cf882033d" + url "http://releases.llvm.org/4.0.1/lldb-4.0.1.src.tar.xz" + sha256 "8432d2dfd86044a0fc21713e0b5c1d98e1d8aad863cf67562879f47f841ac47b" end resource "openmp" do - url "http://releases.llvm.org/4.0.0/openmp-4.0.0.src.tar.xz" - sha256 "db55d85a7bb289804dc42fc5c8e35ca24dfc3885782261b675a194fd7e206e26" + url "http://releases.llvm.org/4.0.1/openmp-4.0.1.src.tar.xz" + sha256 "ec693b170e0600daa7b372240a06e66341ace790d89eaf4a843e8d56d5f4ada4" end resource "polly" do - url "http://releases.llvm.org/4.0.0/polly-4.0.0.src.tar.xz" - sha256 "27a5dbf95e8aa9e0bbe3d6c5d1e83c92414d734357aa0d6c16020a65dc4dcd97" + url "http://releases.llvm.org/4.0.1/polly-4.0.1.src.tar.xz" + sha256 "b443bb9617d776a7d05970e5818aa49aa2adfb2670047be8e9f242f58e84f01a" end end @@ -82,42 +81,42 @@ class Llvm < Formula end head do - url "http://llvm.org/git/llvm.git" + url "https://llvm.org/git/llvm.git" resource "clang" do - url "http://llvm.org/git/clang.git" + url "https://llvm.org/git/clang.git" end resource "clang-extra-tools" do - url "http://llvm.org/git/clang-tools-extra.git" + url "https://llvm.org/git/clang-tools-extra.git" end resource "compiler-rt" do - url "http://llvm.org/git/compiler-rt.git" + url "https://llvm.org/git/compiler-rt.git" end resource "libcxx" do - url "http://llvm.org/git/libcxx.git" + url "https://llvm.org/git/libcxx.git" end resource "libunwind" do - url "http://llvm.org/git/libunwind.git" + url "https://llvm.org/git/libunwind.git" end resource "lld" do - url "http://llvm.org/git/lld.git" + url "https://llvm.org/git/lld.git" end resource "lldb" do - url "http://llvm.org/git/lldb.git" + url "https://llvm.org/git/lldb.git" end resource "openmp" do - url "http://llvm.org/git/openmp.git" + url "https://llvm.org/git/openmp.git" end resource "polly" do - url "http://llvm.org/git/polly.git" + url "https://llvm.org/git/polly.git" end end @@ -131,8 +130,11 @@ class Llvm < Formula option "with-shared-libs", "Build shared instead of static libraries" option "without-libffi", "Do not use libffi to call external functions" - depends_on "libffi" => :recommended # http://llvm.org/docs/GettingStarted.html#requirement - depends_on "graphviz" => :optional # for the 'dot' tool (lldb) + # https://llvm.org/docs/GettingStarted.html#requirement + depends_on "libffi" => :recommended + + # for the 'dot' tool (lldb) + depends_on "graphviz" => :optional depends_on "ocaml" => :optional if build.with? "ocaml"