Skip to content

Commit

Permalink
Merge pull request #199751 from Homebrew/remove-old-gcc-refs-3
Browse files Browse the repository at this point in the history
formulae(s - x): remove GCC 5 reference
  • Loading branch information
ZhongRuoyu authored Dec 2, 2024
2 parents b21678b + e2d6f3e commit a8f7ea0
Show file tree
Hide file tree
Showing 34 changed files with 0 additions and 72 deletions.
2 changes: 0 additions & 2 deletions Formula/s/s2geometry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class S2geometry < Formula
depends_on "glog"
depends_on "openssl@3"

fails_with gcc: "5" # C++17

def install
args = %W[
-DOPENSSL_ROOT_DIR=#{Formula["openssl@3"].opt_prefix}
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/seal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class Seal < Formula

uses_from_macos "zlib"

fails_with gcc: "5"

resource "hexl" do
url "https://github.com/intel/hexl/archive/refs/tags/v1.2.5.tar.gz"
sha256 "3692e6e6183dbc49253e51e86c3e52e7affcac925f57db0949dbb4d34b558a9a"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/semgrep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ class Semgrep < Formula
uses_from_macos "rsync" => :build
uses_from_macos "curl"

fails_with gcc: "5"

resource "attrs" do
url "https://files.pythonhosted.org/packages/fc/0f/aafca9af9315aee06a89ffde799a10a582fe8de76c563ee80bbcdc08b3fb/attrs-24.2.0.tar.gz"
sha256 "5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/sentencepiece.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class Sentencepiece < Formula

depends_on "cmake" => :build

fails_with gcc: "5"

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
Expand Down
3 changes: 0 additions & 3 deletions Formula/s/sfcgal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ class Sfcgal < Formula
depends_on "gmp"
depends_on "mpfr"

# error: array must be initialized with a brace-enclosed initializer
fails_with gcc: "5"

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/simdjson.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ class Simdjson < Formula

depends_on "cmake" => :build

fails_with gcc: "5"

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args, "-DBUILD_SHARED_LIBS=ON"
system "cmake", "--build", "build"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/simgrid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ class Simgrid < Formula

uses_from_macos "python", since: :catalina

fails_with gcc: "5"

def install
# Avoid superenv shim references
inreplace "src/smpi/smpicc.in", "@CMAKE_C_COMPILER@", DevelopmentTools.locate(ENV.cc)
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/snapcraft.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ class Snapcraft < Formula
end
end

fails_with gcc: "5" # due to apt on Linux

resource "annotated-types" do
url "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz"
sha256 "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/solarus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ class Solarus < Formula
depends_on "openal-soft"
end

fails_with gcc: "5" # needs same GLIBCXX as mesa at runtime

# Backport fix for error: GLM: GLM_GTX_matrix_transform_2d is an experimental extension
patch do
url "https://gitlab.com/solarus-games/solarus/-/commit/2200e0ccc8e2850d2a265cace96c3f548d988f2d.diff"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/sophus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ class Sophus < Formula
depends_on "eigen"
depends_on "fmt"

fails_with gcc: "5" # C++17 (ceres-solver dependency)

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args,
"-DBUILD_SOPHUS_EXAMPLES=OFF"
Expand Down
3 changes: 0 additions & 3 deletions Formula/s/spdlog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class Spdlog < Formula
depends_on "cmake" => :build
depends_on "fmt"

# error: specialization of 'template<class T, ...> struct fmt::v8::formatter' in different namespace
fails_with gcc: "5"

def install
ENV.cxx11

Expand Down
2 changes: 0 additions & 2 deletions Formula/s/spot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class Spot < Formula

depends_on "[email protected]" => :build

fails_with gcc: "5" # C++17

def install
system "./configure", *std_configure_args, "--disable-silent-rules"
system "make", "install"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/standardese.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ class Standardese < Formula
depends_on "cmark-gfm"
depends_on "llvm" # must be Homebrew LLVM, not system, because of `llvm-config`

fails_with gcc: "5" # LLVM is built with Homebrew GCC

# https://github.com/standardese/cppast/blob/main/external/external.cmake#L12
resource "type_safe" do
url "https://github.com/foonathan/type_safe/archive/refs/tags/v0.2.4.tar.gz"
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/stockfish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class Stockfish < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "64e5258684ddb0eba1731a862ea563030fa502849c970022678e2bab5e3fb8d6"
end

fails_with gcc: "5" # For C++17

def install
arch = Hardware::CPU.arm? ? "apple-silicon" : "x86-64-modern"

Expand Down
2 changes: 0 additions & 2 deletions Formula/s/stone-soup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class StoneSoup < Formula
depends_on "pcre"
depends_on "sqlite"

fails_with gcc: "5"

def install
ENV.cxx11

Expand Down
2 changes: 0 additions & 2 deletions Formula/s/symengine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ class Symengine < Formula
depends_on "z3"
end

fails_with gcc: "5"

def install
llvm = deps.map(&:to_formula).find { |f| f.name.match?(/^llvm(@\d+)?$/) }
system "cmake", "-S", ".", "-B", "build",
Expand Down
2 changes: 0 additions & 2 deletions Formula/s/sysdig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ class Sysdig < Formula
depends_on "zstd"
end

fails_with gcc: "5" # C++17

# More info on https://gist.github.com/juniorz/9986999
resource "homebrew-sample_file" do
url "https://gist.githubusercontent.com/juniorz/9986999/raw/a3556d7e93fa890a157a33f4233efaf8f5e01a6f/sample.scap"
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ class Task < Formula

conflicts_with "go-task", because: "both install `task` binaries"

fails_with gcc: "5"

# CmdImport.h:41:8: error: no template named 'unordered_map' in namespace 'std'
# https://github.com/GothenburgBitFactory/taskwarrior/commit/4ff63a796087c9f04f7d6dccd03cda0afdce1f40
patch :DATA
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ class TaskAT2 < Formula
depends_on "util-linux"
end

fails_with gcc: "5"

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/tcpflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ class Tcpflow < Formula
uses_from_macos "libpcap"
uses_from_macos "zlib"

fails_with gcc: "5"

def install
system "bash", "./bootstrap.sh" if build.head?
system "./configure", *std_configure_args,
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/terminalimageviewer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class Terminalimageviewer < Formula
depends_on "imagemagick"
depends_on macos: :catalina

fails_with gcc: "5"

def install
cd "src" do
system "make"
Expand Down
4 changes: 0 additions & 4 deletions Formula/t/terraform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ class Terraform < Formula
conflicts_with "tenv", because: "both install terraform binary"
conflicts_with "tfenv", because: "tfenv symlinks terraform binaries"

# Needs libraries at runtime:
# /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by node)
fails_with gcc: "5"

def install
system "go", "build", *std_go_args(ldflags: "-s -w")
end
Expand Down
1 change: 0 additions & 1 deletion Formula/t/tfel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class Tfel < Formula
depends_on "gcc" => :build
depends_on "boost-python3"
depends_on "[email protected]"
fails_with gcc: "5"

def install
args = [
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/thors-mongo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class ThorsMongo < Formula
uses_from_macos "bzip2"
uses_from_macos "zlib"

fails_with gcc: "5"

def install
ENV["COV"] = "gcov"

Expand Down
2 changes: 0 additions & 2 deletions Formula/t/thrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class Thrax < Formula
depends_on "openfst"
uses_from_macos "python", since: :catalina

fails_with gcc: "5"

def install
system "autoreconf", "--force", "--install", "--verbose"
system "./configure", *std_configure_args
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/threadweaver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class Threadweaver < Formula
depends_on "extra-cmake-modules" => [:build, :test]
depends_on "qt"

fails_with gcc: "5"

def install
system "cmake", "-S", ".", "-B", "build", "-DBUILD_QCH=ON", *std_cmake_args
system "cmake", "--build", "build"
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/timewarrior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class Timewarrior < Formula
depends_on "man-db" => :test
end

fails_with gcc: "5"

def install
system "cmake", ".", *std_cmake_args
system "make", "install"
Expand Down
2 changes: 0 additions & 2 deletions Formula/t/trafficserver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class Trafficserver < Formula
depends_on "libunwind"
end

fails_with gcc: "5" # needs C++17

def install
system "cmake", "-S", ".", "-B", "build",
"-DBUILD_EXPERIMENTAL_PLUGINS=ON",
Expand Down
2 changes: 0 additions & 2 deletions Formula/v/vcpkg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ class Vcpkg < Formula
depends_on "fmt"
depends_on "ninja" # This will install its own copy at runtime if one isn't found.

fails_with gcc: "5"

def install
# Improve error message when user fails to set `VCPKG_ROOT`.
inreplace "include/vcpkg/base/message-data.inc.h",
Expand Down
3 changes: 0 additions & 3 deletions Formula/v/verilator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ class Verilator < Formula

skip_clean "bin" # Allows perl scripts to keep their executable flag

# error: specialization of 'template<class _Tp> struct std::hash' in different namespace
fails_with gcc: "5"

def install
system "autoconf"
system "./configure", "--prefix=#{prefix}"
Expand Down
2 changes: 0 additions & 2 deletions Formula/v/vtk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ class Vtk < Formula
depends_on "mesa-glu"
end

fails_with gcc: "5"

def install
ENV.llvm_clang if DevelopmentTools.clang_build_version == 1316 && Hardware::CPU.arm?

Expand Down
2 changes: 0 additions & 2 deletions Formula/w/wabt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class Wabt < Formula

uses_from_macos "python" => :build

fails_with gcc: "5" # C++17

def install
system "cmake", "-S", ".", "-B", "build",
"-DBUILD_TESTS=OFF",
Expand Down
2 changes: 0 additions & 2 deletions Formula/w/wangle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ class Wangle < Formula
depends_on "zstd"
uses_from_macos "bzip2"

fails_with gcc: "5"

def install
args = ["-DBUILD_TESTS=OFF"]
# Prevent indirect linkage with boost, libsodium, snappy and xz
Expand Down
2 changes: 0 additions & 2 deletions Formula/x/xpdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ class Xpdf < Formula
conflicts_with "pdf2image", "pdftohtml", "poppler",
because: "poppler, pdftohtml, pdf2image, and xpdf install conflicting executables"

fails_with gcc: "5"

def install
system "cmake", "-S", ".", "-B", "build", "-DSYSTEM_XPDFRC=#{etc}/xpdfrc", *std_cmake_args
system "cmake", "--build", "build"
Expand Down

0 comments on commit a8f7ea0

Please sign in to comment.