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
dc311d0d
"tests/vscode:/vscode.git/clone" did not exist on "08e62070f6dee22a8984f700147f581b8bb49fc5"
Commit
dc311d0d
authored
Apr 23, 2020
by
rusty1s
Browse files
set new gcc to default
parent
4e1b6d39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
script/gcc.sh
script/gcc.sh
+5
-0
No files found.
script/gcc.sh
View file @
dc311d0d
...
@@ -5,6 +5,11 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
...
@@ -5,6 +5,11 @@ if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo
add-apt-repository ppa:ubuntu-toolchain-r/test
--yes
sudo
add-apt-repository ppa:ubuntu-toolchain-r/test
--yes
sudo
apt update
sudo
apt update
sudo
apt
install
gcc-7 g++-7
--yes
sudo
apt
install
gcc-7 g++-7
--yes
sudo
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-7 60
\
--slave
/usr/bin/g++ g++ /usr/bin/g++-7
sudo
update-alternatives
--config
gcc
gcc
--version
g++
--version
export
CC
=
gcc-7
export
CC
=
gcc-7
export
CXX
=
g++-7
export
CXX
=
g++-7
fi
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