summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-09-21 13:42:09 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-09-21 13:44:48 (GMT)
commitee52a02d56371728499d7bfe2e96777e125caa61 (patch)
tree01cb7f0cddbb723e56b40bfd7df895c548d83c87 /.gitlab
parent4f0410959ec014bdb8d9838a36ae37e31b98318d (diff)
downloadCMake-ee52a02d56371728499d7bfe2e96777e125caa61.zip
CMake-ee52a02d56371728499d7bfe2e96777e125caa61.tar.gz
CMake-ee52a02d56371728499d7bfe2e96777e125caa61.tar.bz2
ci: update GCC build to use master after P1689R5 is merged
Diffstat (limited to '.gitlab')
-rwxr-xr-x.gitlab/ci/docker/gcc_cxx_modules/install_gcc.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitlab/ci/docker/gcc_cxx_modules/install_gcc.sh b/.gitlab/ci/docker/gcc_cxx_modules/install_gcc.sh
index 529626e..15cfe39 100755
--- a/.gitlab/ci/docker/gcc_cxx_modules/install_gcc.sh
+++ b/.gitlab/ci/docker/gcc_cxx_modules/install_gcc.sh
@@ -2,8 +2,8 @@
set -e
-readonly revision="p1689r5-cmake-ci-20230814" # 9fd54ccc390ab4eb3c48186b7bf15e02632cc76c
-readonly tarball="https://github.com/mathstuf/gcc/archive/$revision.tar.gz"
+readonly revision="29862e21f6d656eca59284c927d0c4c0698eb99c" # master as of 21 Sep 2023
+readonly tarball="git://gcc.gnu.org/git/gcc.git"
readonly workdir="$HOME/gcc"
readonly srcdir="$workdir/gcc"
@@ -12,9 +12,8 @@ readonly njobs="$( nproc )"
mkdir -p "$workdir"
cd "$workdir"
-curl -L "$tarball" > "gcc-$revision.tar.gz"
-tar xf "gcc-$revision.tar.gz"
-mv "gcc-$revision" "$srcdir"
+git clone "$tarball" "$srcdir"
+git -C "$srcdir" checkout "$revision"
mkdir -p "$builddir"
cd "$builddir"
"$srcdir/configure" \