Skip to content

Commit

Permalink
fixup! fixup! ansible,jenkins: install gcc-7 on ubuntu1604 machines, …
Browse files Browse the repository at this point in the history
…use on node>12
  • Loading branch information
rvagg committed Oct 23, 2019
1 parent 96a473f commit e119957
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ packages: {
],

ubuntu: [
'ccache,g++,gcc,g++-7,gcc-7,git,libfontconfig1,sudo',
'ccache,g++,gcc,g++-6,gcc-6,git,libfontconfig1,sudo',
],

ubuntu1404: [
Expand Down
8 changes: 4 additions & 4 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ elif [ "$SELECT_ARCH" = "X64" ]; then
echo "Compiler set to devtoolset-6"
elif test $nodes = "ubuntu1604"; then
if [ "$NODEJS_MAJOR_VERSION" -gt "12" ]; then
export CC="gcc-7"
export CXX="g++-7"
export LINK="g++-7"
echo "Compiler set to GCC 7 for $NODEJS_MAJOR_VERSION"
export CC="gcc-6"
export CXX="g++-6"
export LINK="g++-6"
echo "Compiler set to GCC 6 for $NODEJS_MAJOR_VERSION"
fi
fi

Expand Down

0 comments on commit e119957

Please sign in to comment.