Commit f2510bfb authored by rusty1s's avatar rusty1s
Browse files

update gcc

parent 8ad73394
......@@ -50,6 +50,7 @@ jobs:
env: TORCH_VERSION=1.5.0 PYTHON_VERSION=3.6 IDX=cu92
install:
- source script/gcc.sh
- source script/cuda.sh
- source script/conda.sh
- conda create --yes -n test python="${PYTHON_VERSION}"
......
#!/bin/bash
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt install gcc-7 g++-7 --yes
export CC=gcc-7
export CXX=g++-7
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment