Skip to content

Commit

Permalink
gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
paperchalice committed May 17, 2024
1 parent 0dde9ed commit 841fc03
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Formula/gcc/gcc-boot.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class GccBoot < Formula

Check failure on line 1 in Formula/gcc/gcc-boot.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew deps --tree --annotate --include-build --include-test paperchalice/private/gcc-boot` failed on macOS Ventura (13)!

paperchalice/private/gcc-boot ├── doxygen [build] │ ├── bison [build] │ └── cmake [build] ├── gcc-strap [build] │ ├── doxygen [build] │ │ ├── bison [build] │ │ └── cmake [build] │ ├── gcc-boot [build] (CIRCULAR DEPENDENCY) │ ├── gettext [build] │ ├── make [build] │ │ └── lzip [build] [test] [implicit] │ ├── python [build] │ │ ├── mpdecimal │ │ ├── openssl@3 │ │ │ └── ca-certificates │ │ ├── sqlite │ │ │ └── readline │ │ ├── xz │ │ └── pkg-config [build] │ └── texinfo [build] ├── gettext [build] ├── llvm [build] │ ├── python@3.12 │ │ ├── mpdecimal │ │ ├── openssl@3 │ │ │ └── ca-certificates │ │ ├── sqlite │ │ │ └── readline │ │ ├── xz │ │ └── pkg-config [build] │ ├── z3 │ │ ├── cmake [build] │ │ ├── python@3.12 [build] │ │ │ ├── mpdecimal │ │ │ ├── openssl@3 │ │ │ │ └── ca-certificates │ │ │ ├── sqlite │ │ │ │ └── readline │ │ │ ├── xz │ │ │ └── pkg-config [build] │ │ └── python@3.12 [test] │ │ ├── mpdecimal │ │ ├── openssl@3 │ │ │ └── ca-certificates │ │ ├── sqlite │ │ │ └── readline │ │ ├── xz │ │ └── pkg-config [build] │ ├── zstd │ │ ├── lz4 │ │ ├── xz │ │ └── cmake [build] │ ├── cmake [build] │ ├── ninja [build] │ └── swig [build] │ ├── pcre2 │ ├── python-setuptools [test] │ │ ├── python@3.12 [build] │ │ │ ├── mpdecimal │ │ │ ├── openssl@3 │ │ │ │ └── ca-certificates │ │ │ ├── sqlite │ │ │ │ └── readline │ │ │ ├── xz │ │ │ └── pkg-config [build] │ │ └── python@3.12 [test] │ │ ├── mpdecimal │ │ ├── openssl@3 │ │ │ └── ca-certificates │ │ ├── sqlite │ │ │ └── readline │ │ ├── xz │ │ └── pkg-config [build] │ └── python@3.12 [test] │ ├── mpdecimal │ ├── openssl@3 │ │ └── ca-certificates │ ├── sqlite │ │ └── readline │ ├── xz │ └── pkg-config [build] ├── make [build] │ └── lzip [build] [test] [implicit] ├── python [build] │ ├── mpdecimal │ ├── openssl@3 │ │ └── ca-certificates │ ├── sqlite │ │ └── readline │ ├── xz │ └── pkg-config [build] ├── rust [build] │ ├── libgit2 │ │ ├── libssh2 │ │ │ └── openssl@3 │ │ │ └── ca-certificates │ │ ├── openssl@3 │ │ │ └── ca-certificates │ │ ├── cmake [build] │ │ └── pkg-config [build] │ ├── libssh2 │ │ └── openssl@3 │ │ └── ca-certificates │ ├── llvm │ │ ├── python@3.12 │ │ │ ├── mpdecimal │ │ │ ├── openssl@3 │ │ │ │ └── ca-certificates │ │ │ ├── sqlite │ │ │ │ └── readline │ │ │ ├── xz │ │ │ └── pkg-config [build] │ │ ├── z3 │ │ │ ├── cmake [build] │ │ │ ├── python@3.12 [build] │ │ │ │ ├── mpdecimal │ │ │ │ ├── openssl@3 │ │ │ │ │ └── ca-certificates │ │ │ │ ├── sqlite │ │ │ │ │ └── readline │ │ │ │ ├── xz │ │ │ │ └── pkg-config [build] │ │ │ └── python@3.12 [test] │ │ │ ├── mpdecimal │ │ │ ├── openssl@3 │ │ │ │ └── ca-certificates │ │ │ ├── sqlite │ │ │ │ └── readline │ │ │ ├── xz │ │ │ └── pkg-config [build] │ │ ├── zstd │ │ │ ├── lz4 │ │ │ ├── xz │ │ │ └── cmake [build] │ │ ├── cmake [build] │ │ ├── ninja [build] │ │ └── swig [build] │ │ ├── pcre2 │ │ ├── python-setuptools [test] │ │ │ ├── python@3.12 [build] │ │ │ │ ├── mpdecimal │ │ │ │ ├── openssl@3 │ │ │ │ │ └── ca-certificates │ │ │ │ ├── sqlite │ │ │ │ │ └── readline │ │ │ │ ├──
desc "GNU compiler collection"
homepage "https://gcc.gnu.org/"
url "https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
sha256 "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
url "https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
sha256 "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }

bottle do
Expand All @@ -15,9 +15,12 @@ class GccBoot < Formula
depends_on "doxygen" => :build
depends_on "gcc-strap" => :build
depends_on "gettext" => :build
depends_on "llvm" => :build
depends_on "make" => :build
depends_on "python" => :build
depends_on "rust" => :build
depends_on "texinfo" => :build
depends_on xcode: :build

# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
Expand All @@ -31,9 +34,12 @@ def install
ENV.delete "CC"
ENV.delete "CXX"
ENV.delete "LD"
ENV.append "LDFLAGS", "-fuse-ld=lld"

inreplace "libgcc/config/t-slibgcc-darwin", "-single_module", "-fuse-ld=lld"

triple = "#{Hardware::CPU.arch}-apple-#{OS.kernel_name.downcase}"
languages = %w[ada c c++ d objc obj-c++ fortran jit lto m2]
languages = %w[ada c c++ d objc obj-c++ fortran jit lto m2 rust]
sr = MacOS.sdk_path.to_str.tr "0-9", ""

configure_args = %W[
Expand Down

0 comments on commit 841fc03

Please sign in to comment.