[Fix] fix gcc 8 link error

This commit is contained in:
nanoric 2019-04-15 09:33:18 -04:00
parent 874b01d437
commit 4c4dac1ae9

View File

@ -42,9 +42,9 @@ matrix:
packages: packages:
- g++-8 - g++-8
before_install: before_install:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-7 90 - sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-8 90
- sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-7 90 - sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-8 90
install: install:
# update pip & setuptools # update pip & setuptools
- python -m pip install --upgrade pip wheel setuptools - python -m pip install --upgrade pip wheel setuptools