Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove more gcc dependencies on linux #106975

Merged
merged 9 commits into from
Jul 31, 2022
6 changes: 1 addition & 5 deletions Formula/clazy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ class Clazy < Formula
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

# Linux bottle removed for GCC 12 migration
bottle do
sha256 cellar: :any, arm64_monterey: "aaaa160995aa8134003713a92fa61ccf94a2ef918b5f20cd01e646e12537f57a"
sha256 cellar: :any, arm64_big_sur: "9fbf9d700955ad17fa061447e4d4665781c4e7110f0c7214e5944710f927ce7e"
sha256 cellar: :any, monterey: "a96fce75ba8454e0fea0b4c7925e9f3c64ecd4f6332ffdc4ddc7a9fcd7c16e2b"
sha256 cellar: :any, big_sur: "d0130eecf3cffb4ecb14168f7fad810c7f11264bfd9163d67f7bdd8d2dd11aee"
sha256 cellar: :any, catalina: "b4e73e0bdaf4fd050513f2697b11bac66c8bf4d24ba6a33ec116b3447d296639"
sha256 cellar: :any_skip_relocation, x86_64_linux: "0fdc8926cc35d4ca571c707289b6051055e625bb829b57765b880df0e84a18ff"
end

depends_on "cmake" => [:build, :test]
Expand All @@ -30,10 +30,6 @@ class Clazy < Formula
uses_from_macos "ncurses"
uses_from_macos "zlib"

on_linux do
depends_on "gcc"
end

fails_with gcc: "5" # C++17

def install
Expand Down
6 changes: 1 addition & 5 deletions Formula/csound.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class Csound < Formula
strategy :github_latest
end

# Linux bottle removed for GCC 12 migration
bottle do
sha256 arm64_monterey: "1175c3fceb71974686a1ca92dd0ba221cbe77bcd46ea114b872b5fbf545d51e9"
sha256 arm64_big_sur: "08207e1b01164ee73f5570933b4522943319277074ba1f4836bbab741bf96a3a"
sha256 monterey: "78443a71a60eebea86219a5bfd612dc2b9fb6d4c70621b4ae83fc192e42b462a"
sha256 big_sur: "8b5d329857d11f3cd4fb193c212d112d16dd328433ae6dd4c7a0218822b06ec3"
sha256 catalina: "0b953aee205007ead4e9e69a2bbcb572b5f2d3fbf1b22e8539ca007c8628dab1"
sha256 x86_64_linux: "d4bd60ac72dd39fbe4c20833d2455aeda2ef701d7fe82c4acda7dec079ee1aa5"
end

depends_on "asio" => :build
Expand Down Expand Up @@ -54,10 +54,6 @@ class Csound < Formula
depends_on "wiiuse"
end

on_linux do
depends_on "gcc"
end

conflicts_with "libextractor", because: "both install `extract` binaries"
conflicts_with "pkcrack", because: "both install `extract` binaries"

Expand Down
6 changes: 1 addition & 5 deletions Formula/enzyme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@ class Enzyme < Formula
license "Apache-2.0" => { with: "LLVM-exception" }
head "https://github.com/EnzymeAD/Enzyme.git", branch: "main"

# Linux bottle removed for GCC 12 migration
bottle do
sha256 cellar: :any, arm64_monterey: "aa7aa7c7e4ff4cca33614cb03e0db9e4ab7cf1e91c0b949f1201ae10c212e401"
sha256 cellar: :any, arm64_big_sur: "2033f7f9ded57262fa9c75c320d3769024dca502b21bdcb316f58b0f50fc2ca8"
sha256 cellar: :any, monterey: "cc0790ae94df0016b810320b5d8f23c75282ad4059ea1a5cefaed6a8db5f7122"
sha256 cellar: :any, big_sur: "02b0797a44f4b369a57eb848f7d4b45676efbef344a6ec9f5eedf6fa7c371af3"
sha256 cellar: :any, catalina: "012c5cc52c4c2632b6ecac144d772c5b96d61fed28a5dc514c57c2a9aa1db2b1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e87bc8ec983abb41659e89a73b2769c03c584a9c8b3903c7b318924e434f208f"
end

depends_on "cmake" => :build
depends_on "llvm"

on_linux do
depends_on "gcc" => :build
end

fails_with gcc: "5"

def llvm
Expand Down
3 changes: 1 addition & 2 deletions Formula/lc0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ class Lc0 < Formula
license "GPL-3.0-or-later"
revision 2

# Linux bottle removed for GCC 12 migration
bottle do
sha256 cellar: :any_skip_relocation, arm64_monterey: "2d8bfca5ebff386f71840281f15ec3c04e2436f1fcb3529ce1eb5d10facbc9db"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "bdc7f840a570db9c0f54a5055091fd16ab04399b68381d05e75071d5c61fd8e9"
sha256 cellar: :any_skip_relocation, monterey: "97af5c15368b7ccc506055dd37a7dabefb3fa437eafe3326b7c9a094ae6583f1"
sha256 cellar: :any_skip_relocation, big_sur: "981faff9f38f2d4d40ea716e837f8ba45ea63dc627f80078af043110074204b0"
sha256 cellar: :any_skip_relocation, catalina: "bb01f65bcf9aa37e511b8235ffd2108dcc9176a4a6ab1c20eca909eb0f8146bd"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fbe3c6e9c3e92df13902470ddae27d1cc2cebc26d395b5be01a82465ec940575"
end

depends_on "cmake" => :build
Expand All @@ -26,7 +26,6 @@ class Lc0 < Formula
uses_from_macos "zlib"

on_linux do
depends_on "gcc" # for C++17
depends_on "openblas"
end

Expand Down
3 changes: 1 addition & 2 deletions Formula/mesa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ class Mesa < Formula
revision 1
head "https://gitlab.freedesktop.org/mesa/mesa.git", branch: "main"

# Linux bottle removed for GCC 12 migration
bottle do
sha256 arm64_monterey: "b25ea498bb2762d8ddd64e647c47039c5a83ce2d3d6347cc5c91d370d86fbf83"
sha256 arm64_big_sur: "1576db8e33b89a7e647c9f5edbdc14207a647f985242924b4853d69d83ff27a8"
sha256 monterey: "f45bca55e3394c71ad1a7bd5fa538f6c1552b1a0475d6ac334d40be00ba1abcd"
sha256 big_sur: "9a312c0b271faae42c2c9781fdf88ebd0fed6f2d8b5261ad406df6e367ba2f0e"
sha256 catalina: "33f50bb6bceaaaa211e3dd8704223b4ca077ed7c8591cc2eea929e799f011c6a"
sha256 x86_64_linux: "29bc459a87ec012f4bb04407a0c8510baee075c718d6b35825c3164d8e1087fb"
end

depends_on "bison" => :build # can't use form macOS, needs '> 2.3'
Expand All @@ -37,7 +37,6 @@ class Mesa < Formula

on_linux do
depends_on "elfutils"
depends_on "gcc"
depends_on "gzip"
depends_on "libdrm"
depends_on "libva"
Expand Down
6 changes: 1 addition & 5 deletions Formula/minizinc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,19 @@ class Minizinc < Formula
license "MPL-2.0"
head "https://github.com/MiniZinc/libminizinc.git", branch: "develop"

# Linux bottle removed for GCC 12 migration
bottle do
sha256 cellar: :any, arm64_monterey: "b0a513043c90cdaf37886e77e7e8fd5d26b669ae17a97285709ac2354a0f2412"
sha256 cellar: :any, arm64_big_sur: "d4848cac56d6ed4199cc562e8cb7d9f03b592481c49ebd7800d865a0c552db39"
sha256 cellar: :any, monterey: "aa9431c2cecc4b689aa2340fc55049ab389fbd3c3addc37f926c1a928e6068f6"
sha256 cellar: :any, big_sur: "040a9ba684acb1661952ec2742146d67c92d423a2628e9d19256c57353a62ab9"
sha256 cellar: :any, catalina: "e1330a26f4fe8c2b8615c7358d99a7f9a7b61abd86575012e51007c7b2a6569a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f01136a668aae3151fc5f25bab6f8d3e64c974abf59b57d4628c75834d3f49b0"
end

depends_on "cmake" => :build
depends_on "cbc"
depends_on "gecode"

on_linux do
depends_on "gcc"
end

fails_with gcc: "5"

def install
Expand Down
6 changes: 1 addition & 5 deletions Formula/or-tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class OrTools < Formula
strategy :github_latest
end

# Linux bottle removed for GCC 12 migration
bottle do
sha256 cellar: :any, arm64_monterey: "70bc042453a171a4ddfc617431495877022c3c9b39cf20e6b36977758e8b11e4"
sha256 cellar: :any, arm64_big_sur: "d7051adeec3d981e66813c1041c60772f4de566e024964f383fe9c42b65daf61"
sha256 cellar: :any, monterey: "d76faae4705c9f29fe71cf0daf2d50157f8daf0dfb1800b03ff58c0b8ed9f62f"
sha256 cellar: :any, big_sur: "3a88edaf5a3fdb34afe1202790fac3157a45d9dfdde3b48f2256d195e58d3bc5"
sha256 cellar: :any, catalina: "3cbf768fb36c903c77c3d35f5f818fb9d87c00128dfa5a8dcc4b579845c496f3"
sha256 cellar: :any_skip_relocation, x86_64_linux: "619a54c8667620263c8d35ed08fd1ac8104ca4abef13bfa08efb94a21a1fc327"
end

depends_on "cmake" => :build
Expand All @@ -46,10 +46,6 @@ class OrTools < Formula

uses_from_macos "zlib"

on_linux do
depends_on "gcc"
end

fails_with gcc: "5"

def install
Expand Down
6 changes: 1 addition & 5 deletions Formula/rtags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,20 @@ class Rtags < Formula
end
end

# Linux bottle removed for GCC 12 migration
bottle do
sha256 cellar: :any, arm64_monterey: "67fde9c9fd4f1ccc4dd3150278f9323974e1a49193f157efb852cd49aa3e6858"
sha256 cellar: :any, arm64_big_sur: "271ed75ecc942d6577918b24b7002a5823c0387488d1cdc119858671906fc41d"
sha256 cellar: :any, monterey: "1fb01122c1387a7e94fa8a778bee77466b73ee3d4b3f843d06f6bd2d5d0a36e4"
sha256 cellar: :any, big_sur: "7d898020bd18e0a52f2e6295ce749c5bd26cbdfadc5b0dd4e03753c875a39e72"
sha256 cellar: :any, catalina: "a20866caac99a36a4310a3e157fe898e8dd0e6ed6e2f52e9b397e327060dc2a1"
sha256 x86_64_linux: "de2a6f23bb6620c4790fc5c48c2e9306e82d60cfae5e31e48181b6033c98dcd9"
end

depends_on "cmake" => :build
depends_on "emacs"
depends_on "llvm"
depends_on "[email protected]"

on_linux do
depends_on "gcc"
end

fails_with gcc: "5"

def install
Expand Down
6 changes: 1 addition & 5 deletions Formula/simutrans.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ class Simutrans < Formula
strategy :page_match
end

# Linux bottle removed for GCC 12 migration
bottle do
sha256 cellar: :any, arm64_monterey: "89c68007e13410b6d7fc4d675f0eabc4487393ad4d4768d2e0830a206ae5dae7"
sha256 cellar: :any, arm64_big_sur: "aa8073c151259b074563854c6ea63ffaab8a41b268b150e24d3dab93ab75231e"
sha256 cellar: :any, monterey: "339ac25e7eb60cbe2158c59feece111a66bdb587e23f4104c5045b820c861031"
sha256 cellar: :any, big_sur: "076b15195eb642b6e97eef391580c62d9333a52c68f8551aeb1812736e9967d1"
sha256 cellar: :any, catalina: "e618f3935018b641b10d70286fe3d60e366cfcd914125a634d6c51c8e33fad79"
sha256 cellar: :any_skip_relocation, x86_64_linux: "2c2eb82d4b879f59e2201b78d11cea24a8f8f3fc7ba2859d5c6c3aa41a830355"
end

depends_on "autoconf" => :build
Expand All @@ -31,10 +31,6 @@ class Simutrans < Formula
uses_from_macos "curl"
uses_from_macos "unzip"

on_linux do
depends_on "gcc"
end

fails_with gcc: "5"

resource "pak64" do
Expand Down