Skip to content

Commit

Permalink
jenkins: add compiler selection for Ubuntu 1804 on ARM (#2753)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlau authored Sep 8, 2021
1 parent 644a964 commit 79a600f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,20 @@ elif [ "$SELECT_ARCH" = "ARM64" ]; then
. /opt/rh/devtoolset-6/enable
echo "Compiler set to devtoolset-6"
;;
*ubuntu1804* )
if [ "$NODEJS_MAJOR_VERSION" -gt "15" ]; then
export CC="ccache gcc-8"
export CXX="ccache g++-8"
export GCOV="gcov-8"
export LINK="g++-8"
else
export CC="ccache gcc-6"
export CXX="ccache g++-6"
export GCOV="gcov-6"
export LINK="g++-6"
fi
echo "Compiler set to GCC" `$CXX -dumpversion`
;;
esac

fi

0 comments on commit 79a600f

Please sign in to comment.