Skip to content

Commit

Permalink
Use GCC 6 for Node 12 binaries
Browse files Browse the repository at this point in the history
Node 12 is built using GCC 6 therefore
it is mandatory that we use the same C++
runtime as the mothership.
  • Loading branch information
saper committed Oct 23, 2019
1 parent e84c6a9 commit 3838eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -87,12 +87,12 @@ before_install:
- echo $TRAVIS_NODE_VERSION
- npm config set python `which python`
- if [ $TRAVIS_OS_NAME == "linux" ]; then
if [[ $(node -v) =~ v13 ]]; then
if [[ $(node -v) =~ v1[23] ]]; then
export CC="gcc-6";
export CXX="g++-6";
export LINK="gcc-6";
export LINKXX="g++-6";
elif [[ $(node -v) =~ v[1-9][0-9] ]]; then
elif [[ $(node -v) =~ v1[01] ]]; then
export CC="gcc-4.9";
export CXX="g++-4.9";
export LINK="gcc-4.9";
Expand Down

0 comments on commit 3838eae

Please sign in to comment.