Skip to content

Commit 79a600f

Browse files
authored
jenkins: add compiler selection for Ubuntu 1804 on ARM (#2753)
1 parent 644a964 commit 79a600f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

jenkins/scripts/select-compiler.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,20 @@ elif [ "$SELECT_ARCH" = "ARM64" ]; then
196196
. /opt/rh/devtoolset-6/enable
197197
echo "Compiler set to devtoolset-6"
198198
;;
199+
*ubuntu1804* )
200+
if [ "$NODEJS_MAJOR_VERSION" -gt "15" ]; then
201+
export CC="ccache gcc-8"
202+
export CXX="ccache g++-8"
203+
export GCOV="gcov-8"
204+
export LINK="g++-8"
205+
else
206+
export CC="ccache gcc-6"
207+
export CXX="ccache g++-6"
208+
export GCOV="gcov-6"
209+
export LINK="g++-6"
210+
fi
211+
echo "Compiler set to GCC" `$CXX -dumpversion`
212+
;;
199213
esac
200214

201215
fi

0 commit comments

Comments
 (0)