Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
49ba632a
Commit
49ba632a
authored
Aug 10, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicitly set gcc version in travis script.
parent
c09e1dcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.travis.yml
.travis.yml
+3
-1
No files found.
.travis.yml
View file @
49ba632a
...
...
@@ -34,7 +34,7 @@ env:
-
CCACHE_SLOPPINESS=pch_defines,time_macros
-
CCACHE_COMPRESS=1
-
CCACHE_MAXSIZE=150M
-
PATH="/usr/lib/ccache:$
HOME/gcc-symlinks:$
PATH"
-
PATH="/usr/lib/ccache:$PATH"
matrix
:
-
BACKEND=c
-
BACKEND=cpp
...
...
@@ -114,10 +114,12 @@ before_install:
if [ "$BACKEND" = c ]; then
sudo apt-get install gcc-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60
sudo update-alternatives --set gcc /usr/bin/gcc-8
export CC=gcc-8
else
sudo apt-get install g++-8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60
sudo update-alternatives --set g++ /usr/bin/g++-8
export CXX=g++-8
fi
if [ -n "$CC" ]; then "$CC" --version; else gcc --version; 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