Skip to content

Commit

Permalink
gcc10-bootstrap: mark unsupported Xcode / CLT
Browse files Browse the repository at this point in the history
  • Loading branch information
catap authored and mascguy committed May 6, 2023
1 parent cfa8626 commit 93b2b67
Showing 1 changed file with 11 additions and 0 deletions.
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

0 comments on commit 93b2b67

Please sign in to comment.