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
tianlh
LightGBM-DCU
Commits
f21ca60b
"src/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "670a1d70820b973ea64054249090d7859db66020"
Commit
f21ca60b
authored
Oct 31, 2018
by
Nikita Titov
Committed by
Guolin Ke
Oct 31, 2018
Browse files
[ci] cleanup CI installation (#1806)
parent
3e70742e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
.ci/dockers/ubuntu-14.04/Dockerfile
.ci/dockers/ubuntu-14.04/Dockerfile
+5
-3
.ci/setup.sh
.ci/setup.sh
+1
-1
No files found.
.ci/dockers/ubuntu-14.04/Dockerfile
View file @
f21ca60b
...
@@ -25,12 +25,14 @@ RUN apt-get update \
...
@@ -25,12 +25,14 @@ RUN apt-get update \
&&
rm
-rf
/var/lib/apt/lists/
*
&&
rm
-rf
/var/lib/apt/lists/
*
# Install clang 6.0
# Install clang 6.0
RUN
add-apt-repository ppa:ubuntu-toolchain-r/test
\
RUN
add-apt-repository ppa:ubuntu-toolchain-r/test
-y
\
&&
cd
/tmp
\
&&
cd
/tmp
\
&&
wget
-O
- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
\
&&
wget
-O
- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
\
&&
a
pt-add
-repository
"deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main"
\
&&
a
dd-apt
-repository
"deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main"
-y
\
&&
apt-get update
\
&&
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
clang-6.0
&&
apt-get
install
-y
--no-install-recommends
\
clang-6.0
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Install CMake
# Install CMake
RUN
curl
-sL
https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
-o
cmake.sh
\
RUN
curl
-sL
https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh
-o
cmake.sh
\
...
...
.ci/setup.sh
View file @
f21ca60b
...
@@ -29,7 +29,7 @@ else # Linux
...
@@ -29,7 +29,7 @@ else # Linux
sudo
apt-get update
sudo
apt-get update
sudo
update-alternatives
--install
/usr/bin/clang++ clang++ /usr/bin/clang++-6.0 100
sudo
update-alternatives
--install
/usr/bin/clang++ clang++ /usr/bin/clang++-6.0 100
sudo
update-alternatives
--install
/usr/bin/clang clang /usr/bin/clang-6.0 100
sudo
update-alternatives
--install
/usr/bin/clang clang /usr/bin/clang-6.0 100
sudo
apt-get
install
libomp-dev
sudo
apt-get
install
--no-install-recommends
-y
libomp-dev
fi
fi
if
[[
$TASK
==
"mpi"
]]
;
then
if
[[
$TASK
==
"mpi"
]]
;
then
sudo
apt-get update
sudo
apt-get update
...
...
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