Skip to content

Commit 1d1fe9a

Browse files
committedNov 7, 2023
add note to remember to update a url when bumping to gcc 10.1.0
1 parent d73eaaa commit 1d1fe9a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -ex
33

44
source shared.sh
55

6+
# Note: in the future when bumping to version 10.1.0, also take care of the sed block below.
67
GCC=9.5.0
78

89
curl https://ftp.gnu.org/gnu/gcc/gcc-$GCC/gcc-$GCC.tar.xz | xzcat | tar xf -
@@ -22,6 +23,11 @@ cd gcc-$GCC
2223
# latter host is presented to `wget`! Therefore, we choose to download from the insecure HTTP server
2324
# instead here.
2425
#
26+
# Note: in version 10.1.0, the URL used in `download_prerequisites` has changed from using FTP to
27+
# using HTTP. When bumping to that gcc version, we can likely remove the sed replacement below, or
28+
# the expression will need to be updated. That new URL is available at:
29+
# https://github.com/gcc-mirror/gcc/blob/6e6e3f144a33ae504149dc992453b4f6dea12fdb/contrib/download_prerequisites#L35
30+
#
2531
sed -i'' 's|ftp://gcc\.gnu\.org/|https://gcc.gnu.org/|g' ./contrib/download_prerequisites
2632

2733
./contrib/download_prerequisites

0 commit comments

Comments
 (0)