From 58d450d2dc88b77f91780cff8b2fd13dd6b2255f Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 28 Jun 2025 08:33:37 +0200 Subject: [PATCH] util/crossgcc/buildgcc: Reorganize toolchain version variables Group the variables by toolchain (GCC vs Clang) and order them by build sequence. Change-Id: Ifd911b719882adf1d2e9211f6009b579f8177abe Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/88227 Reviewed-by: Martin L Roth Tested-by: build bot (Jenkins) --- util/crossgcc/buildgcc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 0e29fbfa10..21c340ca42 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -34,18 +34,23 @@ FETCH_ONLY=0 USE_COREBOOT_MIRROR=0 COREBOOT_MIRROR_URL="https://www.coreboot.org/releases/crossgcc-sources" -# GCC toolchain version numbers +# GCC Toolchain (built first) +# Math libraries (GCC dependencies) GMP_VERSION=6.3.0 MPFR_VERSION=4.2.1 MPC_VERSION=1.3.1 +# Core GCC components GCC_VERSION=14.2.0 -LIBSTDCXX_VERSION="${GCC_VERSION}" BINUTILS_VERSION=2.43.1 -IASL_VERSION=20241212 -# CLANG version number +LIBSTDCXX_VERSION="${GCC_VERSION}" # GCC-specific C++ library + +# Low-level Tools (built after GCC) +NASM_VERSION=2.16.03 # x86 assembly +IASL_VERSION=20241212 # ACPI compiler + +# Clang/LLVM Toolchain (alternative to GCC, built separately) CLANG_VERSION=18.1.8 -CMAKE_VERSION=3.31.3 -NASM_VERSION=2.16.03 +CMAKE_VERSION=3.31.3 # Required for building Clang # Architecture-specific options RISCV_ISA_SPEC=20191213