Skip to content

Commit

Permalink
jenkins: select gcc12 for Node 23 on IBM i (#3908)
Browse files Browse the repository at this point in the history
Refs: #3806
Refs: #3907
  • Loading branch information
abmusse authored Sep 13, 2024
1 parent 2901d09 commit e8d45d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,11 @@ elif [ "$SELECT_ARCH" = "S390X" ]; then
fi

elif [ "$SELECT_ARCH" = "IBMI73" ]; then
export COMPILER_LEVEL="10"
if [ "$NODEJS_MAJOR_VERSION" -gt "22" ]; then
export COMPILER_LEVEL="12"
else
export COMPILER_LEVEL="10"
fi
echo "Setting compiler for Node version $NODEJS_MAJOR_VERSION on IBMI73"
export CC="ccache gcc-${COMPILER_LEVEL}"
export CXX="ccache g++-${COMPILER_LEVEL}"
Expand Down

0 comments on commit e8d45d7

Please sign in to comment.