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
d7fcb3c2
Unverified
Commit
d7fcb3c2
authored
May 01, 2024
by
なるみ
Committed by
GitHub
Apr 30, 2024
Browse files
upgrade CMake in dockerfile-cli (fixes #6420) (#6426)
parent
cd365e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
docker/dockerfile-cli
docker/dockerfile-cli
+7
-2
No files found.
docker/dockerfile-cli
View file @
d7fcb3c2
...
...
@@ -8,7 +8,7 @@ ENV \
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
ca-certificates \
c
make
\
c
url
\
build-essential \
gcc \
g++ \
...
...
@@ -16,12 +16,17 @@ RUN apt-get update -y && \
libomp-dev && \
rm -rf /var/lib/apt/lists/*
RUN curl -L -o cmake.sh https://github.com/Kitware/CMake/releases/download/v3.29.2/cmake-3.29.2-linux-x86_64.sh && \
chmod +x cmake.sh && \
sh ./cmake.sh --prefix=/usr/local --skip-license && \
rm cmake.sh
RUN git clone \
--recursive \
--branch stable \
--depth 1 \
https://github.com/Microsoft/LightGBM && \
cd ./Light
gbm
&& \
cd ./Light
GBM
&& \
cmake -B build -S . && \
cmake --build build -j4 && \
cmake --install build && \
...
...
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