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

gcc10-bootstrap: mark unsupported Xcode / CLT #18530

Merged
merged 1 commit into from
May 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions lang/gcc10-bootstrap/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ checksums ${distname}${extract.suffix} \
sha256 fcf78dd9656c10eb8cf9fbd5f59a0b6b01386205fe1934b3b287a0a1898145c0 \
size 2261594

# GCC can't be build by clang from Xcode / CLT 14.0.x
# See: https://github.com/iains/gcc-12-branch/issues/6
if {([vercmp ${xcodeversion} >= 14.0] && [vercmp ${xcodeversion} < 14.1]) || \
([vercmp ${xcodecltversion} >= 14.0] && [vercmp ${xcodecltversion} < 14.1])} {
known_fail yes
pre-fetch {
ui_error "GCC build is known to fail on Xcode / CLT 14.0.x"
return -code error "incompatible Xcode / CLT version"
}
}

extract {
foreach f ${distfiles} {
set f [lindex [split ${f} :] 0]
Expand Down