Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
9125863a
Commit
9125863a
authored
Dec 21, 2015
by
Feng Xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only try to install GCC 4.8 on Linux.
parent
af81dcfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
travis.sh
travis.sh
+8
-6
No files found.
travis.sh
View file @
9125863a
...
...
@@ -11,12 +11,14 @@
# For when some other test needs the C++ main build, including protoc and
# libprotobuf.
internal_build_cpp
()
{
# Install GCC 4.8 to replace the default GCC 4.6. We need 4.8 for more
# decent C++ 11 support in order to compile conformance tests.
sudo
add-apt-repository ppa:ubuntu-toolchain-r/test
-y
sudo
apt-get update
-qq
sudo
apt-get
install
-qq
g++-4.8
export
CXX
=
"g++-4.8"
CC
=
"gcc-4.8"
if
[
$(
uname
-s
)
==
"Linux"
]
;
then
# Install GCC 4.8 to replace the default GCC 4.6. We need 4.8 for more
# decent C++ 11 support in order to compile conformance tests.
sudo
add-apt-repository ppa:ubuntu-toolchain-r/test
-y
sudo
apt-get update
-qq
sudo
apt-get
install
-qq
g++-4.8
export
CXX
=
"g++-4.8"
CC
=
"gcc-4.8"
fi
./autogen.sh
./configure
...
...
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