Skip to content

Commit 2d5f918

Browse files
authored
jenkins: select Clang compiler on Debian 12 (#4122)
Refs: #4091
1 parent 94fa1a8 commit 2d5f918

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jenkins/scripts/select-compiler.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ if [ "$NODEJS_MAJOR_VERSION" -ge "25" ]; then
4343
echo "Compiler set to Clang" `${CXX} -dumpversion`
4444
return
4545
;;
46+
*debian12*)
47+
echo "Using Clang for Node.js $NODEJS_MAJOR_VERSION"
48+
export CC="ccache clang-19"
49+
export CXX="ccache clang++-19"
50+
echo "Compiler set to Clang" `${CXX} -dumpversion`
51+
return
52+
;;
4653
esac
4754
fi
4855

0 commit comments

Comments
 (0)