Skip to content

Commit

Permalink
jenkins: select gcc12 for Node 23 on IBM i
Browse files Browse the repository at this point in the history
  • Loading branch information
abmusse committed Sep 13, 2024
1 parent 8817a16 commit 3210430
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 3210430

Please sign in to comment.