Skip to content

Commit 9d47a84

Browse files
committed
aix: select clang for Node.26+ builds
1 parent 7c370dd commit 9d47a84

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

jenkins/scripts/select-compiler.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ fi
3636
# Gradual transition to Clang from Node.js 25 (https://github.com/nodejs/build/issues/4091).
3737
if [ "$NODEJS_MAJOR_VERSION" -ge "25" ]; then
3838
case $NODE_NAME in
39+
*aix*)
40+
echo "Using Clang for Node.js $NODEJS_MAJOR_VERSION"
41+
export PATH="/opt/clang+llvm-20.1.7-powerpc64-ibm-aix-7.2/bin/:$PATH"
42+
export CC="ccache clang"
43+
export CXX="ccache clang++"
44+
echo "Compiler set to Clang" `${CXX} -dumpversion`
45+
return
46+
;;
3947
*fedora*)
4048
echo "Using Clang for Node.js $NODEJS_MAJOR_VERSION"
4149
export CC="ccache clang"

0 commit comments

Comments
 (0)