Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@ fi
if [ "$NODEJS_MAJOR_VERSION" -ge "25" ]; then
case $NODE_NAME in
*aix*)
echo "Using Clang for Node.js $NODEJS_MAJOR_VERSION"
export PATH="/opt/ccache-3.7.4/libexec:/opt/clang+llvm-20.1.7-powerpc64-ibm-aix-7.2/bin/:$PATH"
export CC="clang"
export CXX="clang++"
echo "Compiler set to Clang" `${CXX} -dumpversion`
return
# AIX does not support building v25 with clang so restrict to >25
if [ "$NODEJS_MAJOR_VERSION" -ge "26" ]; then
echo "Using Clang for Node.js $NODEJS_MAJOR_VERSION"
export PATH="/opt/ccache-3.7.4/libexec:/opt/clang+llvm-20.1.7-powerpc64-ibm-aix-7.2/bin/:$PATH"
export CC="clang"
export CXX="clang++"
echo "Compiler set to Clang" `${CXX} -dumpversion`
return
fi
;;
*fedora*)
echo "Using Clang for Node.js $NODEJS_MAJOR_VERSION"
Expand Down