From d9b4c03ef711226604c3628984f0fbac81aed72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 4 May 2024 06:14:44 +0200 Subject: [PATCH] jenkins: select GCC 11 on Debian 12 (#3702) Refs: https://github.com/nodejs/build/pull/3701 --- jenkins/scripts/select-compiler.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jenkins/scripts/select-compiler.sh b/jenkins/scripts/select-compiler.sh index 336c13b0a..b7bcee5ef 100644 --- a/jenkins/scripts/select-compiler.sh +++ b/jenkins/scripts/select-compiler.sh @@ -211,6 +211,14 @@ elif [ "$SELECT_ARCH" = "X64" ]; then fi echo "Compiler set to GCC" `$CXX -dumpversion` ;; + debian12-x64 ) + if [ "$NODEJS_MAJOR_VERSION" -gt "22" ]; then + export CC="ccache gcc-11" + export CXX="ccache g++-11" + export LINK="g++-11" + fi + echo "Compiler set to GCC" `$CXX -dumpversion` + ;; esac elif [ "$SELECT_ARCH" = "ARM64" ]; then