crossgcc: Upgrade llvm from version 14.0.6 to 15.0.0
Test build for QEMU x86 i440fx/piix4. Change-Id: I3144a83fcbd92eec51d70e9be33ff2fcb2821731 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67416 Reviewed-by: Patrick Georgi <patrick@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
035e9f9f0c
commit
c8870b1334
|
@ -39,7 +39,7 @@ GCC_VERSION=11.2.0
|
|||
BINUTILS_VERSION=2.37
|
||||
IASL_VERSION=20220331
|
||||
# CLANG version number
|
||||
CLANG_VERSION=14.0.6
|
||||
CLANG_VERSION=15.0.0
|
||||
CMAKE_VERSION=3.24.2
|
||||
NASM_VERSION=2.15.05
|
||||
|
||||
|
@ -58,12 +58,13 @@ LLVM_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${C
|
|||
CLANG_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/clang-${CLANG_VERSION}.src.tar.xz"
|
||||
CRT_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/compiler-rt-${CLANG_VERSION}.src.tar.xz"
|
||||
CTE_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/clang-tools-extra-${CLANG_VERSION}.src.tar.xz"
|
||||
LLVMCMAKE_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/cmake-${CLANG_VERSION}.src.tar.xz"
|
||||
CMAKE_ARCHIVE="https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}.tar.gz"
|
||||
NASM_ARCHIVE="https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/nasm-${NASM_VERSION}.tar.bz2"
|
||||
|
||||
ALL_ARCHIVES="$GMP_ARCHIVE $MPFR_ARCHIVE $MPC_ARCHIVE \
|
||||
$GCC_ARCHIVE $BINUTILS_ARCHIVE $IASL_ARCHIVE \
|
||||
$LLVM_ARCHIVE $CLANG_ARCHIVE \
|
||||
$LLVM_ARCHIVE $CLANG_ARCHIVE $LLVMCMAKE_ARCHIVE \
|
||||
$CRT_ARCHIVE $CTE_ARCHIVE $CMAKE_ARCHIVE $NASM_ARCHIVE"
|
||||
|
||||
# GCC toolchain directories
|
||||
|
@ -80,6 +81,7 @@ LLVM_DIR="llvm-${CLANG_VERSION}.src"
|
|||
CLANG_DIR="clang-${CLANG_VERSION}.src"
|
||||
CRT_DIR="compiler-rt-${CLANG_VERSION}.src"
|
||||
CTE_DIR="clang-tools-extra-${CLANG_VERSION}.src"
|
||||
LLVMCMAKE_DIR="cmake-${CLANG_VERSION}.src"
|
||||
CMAKE_DIR="cmake-${CMAKE_VERSION}"
|
||||
NASM_DIR="nasm-${NASM_VERSION}"
|
||||
|
||||
|
@ -806,6 +808,7 @@ build_LLVM() {
|
|||
ln -nsf "$CLANG_DIR" ../clang
|
||||
ln -nsf "$CTE_DIR" ../clang-tools-extra
|
||||
ln -nsf "$CRT_DIR" ../compiler-rt
|
||||
ln -nsf "$LLVMCMAKE_DIR" ../cmake
|
||||
|
||||
$CMAKE -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$DESTDIR$TARGETDIR" \
|
||||
-DCLANG_VENDOR="coreboot toolchain v$CROSSGCC_VERSION - " \
|
||||
|
@ -956,7 +959,7 @@ case "$PACKAGE" in
|
|||
CLANG|clang)
|
||||
NAME="LLVM clang"
|
||||
LLVM_VERSION=${CLANG_VERSION}
|
||||
PACKAGES="CMAKE LLVM CLANG CRT CTE"
|
||||
PACKAGES="CMAKE LLVM CLANG CRT CTE LLVMCMAKE"
|
||||
CMAKE=${DESTDIR}${TARGETDIR}/bin/cmake
|
||||
;;
|
||||
IASL|iasl)
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
88442d295bc0b96df7cf3d526ed9eabd7a214ac2 tarballs/clang-14.0.6.src.tar.xz
|
|
@ -0,0 +1 @@
|
|||
7b47dbb51bd2de28174d8425f4fe9523880bc7b8 tarballs/clang-15.0.0.src.tar.xz
|
|
@ -1 +0,0 @@
|
|||
dac5046f0eb81e6c47432cf80229599befbf273e tarballs/clang-tools-extra-14.0.6.src.tar.xz
|
|
@ -0,0 +1 @@
|
|||
65c804e2539753ab350a0960b378ce66bc57b0e9 tarballs/clang-tools-extra-15.0.0.src.tar.xz
|
|
@ -0,0 +1 @@
|
|||
56ca883308b1b30cb981c86038eb677db9cc8eb5 tarballs/cmake-15.0.0.src.tar.xz
|
|
@ -1 +0,0 @@
|
|||
91f03b578aff0fda6b9d3e2185e6ea5e588c6d47 tarballs/compiler-rt-14.0.6.src.tar.xz
|
|
@ -0,0 +1 @@
|
|||
15879f50459c7b2e7b5fb77c6b845c39c91a04fc tarballs/compiler-rt-15.0.0.src.tar.xz
|
|
@ -1 +0,0 @@
|
|||
975020d4f7164d84a89f0f9b2153dd870d06e02d tarballs/llvm-14.0.6.src.tar.xz
|
|
@ -0,0 +1 @@
|
|||
6f7f53d45ae8d207a6d72fd8ac380160f240d37e tarballs/llvm-15.0.0.src.tar.xz
|
Loading…
Reference in New Issue