Toolchain: Update gcc to version 12.2.0

This commit is contained in:
Brian Gianforcaro 2022-08-22 23:51:40 -07:00 committed by Brian Gianforcaro
parent c713e76941
commit 7ac3dffe9e
Notes: sideshowbarker 2024-07-17 07:48:22 +09:00
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "SerenityOS")
endif()
# Check for toolchain mismatch, user might need to rebuild toolchain
set(GCC_VERSION "12.1.0")
set(GCC_VERSION "12.2.0")
set(LLVM_VERSION "14.0.1")
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(EXPECTED_COMPILER_VERSION "${GCC_VERSION}")

View File

@ -85,8 +85,8 @@ GDB_BASE_URL="https://ftp.gnu.org/gnu/gdb"
# Note: If you bump the gcc version, you also have to update the matching
# GCC_VERSION variable in the project's root CMakeLists.txt
GCC_VERSION="12.1.0"
GCC_MD5SUM="7854cdccc3a7988aa37fb0d0038b8096"
GCC_VERSION="12.2.0"
GCC_MD5SUM="d7644b494246450468464ffc2c2b19c3"
GCC_NAME="gcc-$GCC_VERSION"
GCC_PKG="${GCC_NAME}.tar.gz"
GCC_BASE_URL="https://ftp.gnu.org/gnu/gcc"
@ -209,7 +209,7 @@ pushd "$DIR/Tarballs"
md5=""
if [ -e "$GCC_PKG" ]; then
md5="$($MD5SUM ${GCC_PKG} | cut -f1 -d' ')"
echo "gc md5='$md5'"
echo "gcc md5='$md5'"
fi
if [ "$md5" != ${GCC_MD5SUM} ] ; then
rm -f $GCC_PKG