We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633257a commit cf708fcCopy full SHA for cf708fc
jenkins/scripts/select-compiler.sh
@@ -47,6 +47,16 @@ case $NODE_NAME in
47
;;
48
*)
49
echo "Setting compiler for Node.js $NODEJS_MAJOR_VERSION on" `cat /etc/redhat-release`
50
+ if [ "$NODEJS_MAJOR_VERSION" -gt "21" ]; then
51
+ # s390x, use later toolset to avoid https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355
52
+ if [ "$SELECT_ARCH" = "S390X" ]; then
53
+ . /opt/rh/gcc-toolset-12/enable
54
+ export CC="ccache gcc"
55
+ export CXX="ccache g++"
56
+ echo "Selected compiler:" `${CXX} -dumpversion`
57
+ return
58
+ fi
59
60
if [ "$NODEJS_MAJOR_VERSION" -gt "19" ]; then
61
. /opt/rh/gcc-toolset-10/enable
62
export CC="ccache gcc"
0 commit comments