diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-21 13:42:09 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-21 13:44:48 (GMT) |
commit | ee52a02d56371728499d7bfe2e96777e125caa61 (patch) | |
tree | 01cb7f0cddbb723e56b40bfd7df895c548d83c87 /.gitlab/ci/docker/gcc_cxx_modules | |
parent | 4f0410959ec014bdb8d9838a36ae37e31b98318d (diff) | |
download | CMake-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/ci/docker/gcc_cxx_modules')
-rwxr-xr-x | .gitlab/ci/docker/gcc_cxx_modules/install_gcc.sh | 9 |
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" \ |