Skip to content

Commit d9b4c03

Browse files
authored
jenkins: select GCC 11 on Debian 12 (nodejs#3702)
Refs: nodejs#3701
1 parent 238989f commit d9b4c03

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

jenkins/scripts/select-compiler.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ elif [ "$SELECT_ARCH" = "X64" ]; then
211211
fi
212212
echo "Compiler set to GCC" `$CXX -dumpversion`
213213
;;
214+
debian12-x64 )
215+
if [ "$NODEJS_MAJOR_VERSION" -gt "22" ]; then
216+
export CC="ccache gcc-11"
217+
export CXX="ccache g++-11"
218+
export LINK="g++-11"
219+
fi
220+
echo "Compiler set to GCC" `$CXX -dumpversion`
221+
;;
214222
esac
215223

216224
elif [ "$SELECT_ARCH" = "ARM64" ]; then

0 commit comments

Comments
 (0)