From f535d5d59137693c52c27d4a3faf2de1eec9946d Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 22 Oct 2024 12:52:18 +0100 Subject: [PATCH] ci/angle: Use native toolchain for builds ANGLE really wants to use its own toolchain and sysroot by default. Unfortunately, for AArch64, that toolchain is actually a cross-compiling toolchain designed to be hosted on x64, which is ... not what we want. Use the system toolchain, and since we're not using the bundled compiler, also don't use LLVM's libc++ and abseil, since those don't always work with the system toolchain. v2 (Valentine) * Only use native toolchain on linux * Contain clang-19 environment variables within a subshell Signed-off-by: Daniel Stone Reviewed-by: Antonio Ospite Part-of: --- .gitlab-ci/container/build-angle.sh | 37 +++++++++++++++++++++++++---- .gitlab-ci/image-tags.yml | 2 +- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci/container/build-angle.sh b/.gitlab-ci/container/build-angle.sh index 31a0bdd95d8..82443576cc9 100755 --- a/.gitlab-ci/container/build-angle.sh +++ b/.gitlab-ci/container/build-angle.sh @@ -103,32 +103,59 @@ enable_expensive_dchecks=false is_component_build=false is_debug=false target_cpu="${ANGLE_ARCH}" +target_os="${ANGLE_TARGET}" EOF case "$ANGLE_TARGET" in linux) cat >> out/Release/args.gn <> out/Release/args.gn <