Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
f2510bfb
Commit
f2510bfb
authored
Apr 23, 2020
by
rusty1s
Browse files
update gcc
parent
8ad73394
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
.travis.yml
.travis.yml
+1
-0
script/gcc.sh
script/gcc.sh
+9
-0
No files found.
.travis.yml
View file @
f2510bfb
...
...
@@ -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}"
...
...
script/gcc.sh
0 → 100644
View file @
f2510bfb
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment