Skip to content

Commit

Permalink
jenkins: select GCC 11 on Debian 12 (#3702)
Browse files Browse the repository at this point in the history
Refs: #3701
  • Loading branch information
targos authored May 4, 2024
1 parent 238989f commit d9b4c03
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9b4c03

Please sign in to comment.