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
yangql
googletest
Commits
4b6a3cc6
Commit
4b6a3cc6
authored
Jun 17, 2019
by
Gennadiy Civil
Browse files
bazel 0.26.1
parent
1e5ad17e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ci/install-linux.sh
ci/install-linux.sh
+5
-2
No files found.
ci/install-linux.sh
View file @
4b6a3cc6
...
@@ -42,8 +42,11 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then
...
@@ -42,8 +42,11 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then
sudo tee
/etc/apt/sources.list.d/bazel.list
sudo tee
/etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg |
sudo
apt-key add -
curl https://bazel.build/bazel-release.pub.gpg |
sudo
apt-key add -
sudo
apt-get update
&&
sudo
apt-get
install
-y
gcc-4.9 g++-4.9 clang-3.9
sudo
apt-get update
&&
sudo
apt-get
install
-y
gcc-4.9 g++-4.9 clang-3.9
sudo
apt-get
install
bazel-0.26.1
wget https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-installer-linux-x86_64.sh
elif
[
"
${
CXX
}
"
=
"clang++"
]
;
then
chmod
+x bazel-0.26.1-installer-linux-x86_64.sh
./bazel-0.26.1-installer-linux-x86_64.sh
elif
[
"
${
CXX
}
"
=
"clang++"
]
;
then
# Use ccache, assuming $HOME/bin is in the path, which is true in the Travis build environment.
# Use ccache, assuming $HOME/bin is in the path, which is true in the Travis build environment.
ln
-sf
/usr/bin/ccache
$HOME
/bin/
${
CXX
}
;
ln
-sf
/usr/bin/ccache
$HOME
/bin/
${
CXX
}
;
ln
-sf
/usr/bin/ccache
$HOME
/bin/
${
CC
}
;
ln
-sf
/usr/bin/ccache
$HOME
/bin/
${
CC
}
;
...
...
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