Skip to content

Commit

Permalink
jenkins: always select gcc-11 on Debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored May 6, 2024
1 parent a493573 commit c3dd754
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,9 @@ elif [ "$SELECT_ARCH" = "X64" ]; then
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
export CC="ccache gcc-11"
export CXX="ccache g++-11"
export LINK="g++-11"
echo "Compiler set to GCC" `$CXX -dumpversion`
;;
esac
Expand Down

0 comments on commit c3dd754

Please sign in to comment.