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
7d33879e
"examples/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "368adeb378b3b586ca3e61fd3426ea661ebc99ba"
Unverified
Commit
7d33879e
authored
Jun 17, 2024
by
James Lamb
Committed by
GitHub
Jun 17, 2024
Browse files
[ci] remove unnecessary package installations in CI (#6488)
parent
7cb18923
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
.ci/setup.sh
.ci/setup.sh
+7
-14
No files found.
.ci/setup.sh
View file @
7d33879e
...
@@ -20,10 +20,8 @@ if [[ $OS_NAME == "macos" ]]; then
...
@@ -20,10 +20,8 @@ if [[ $OS_NAME == "macos" ]]; then
# Check https://github.com/actions/runner-images/tree/main/images/macos for available
# Check https://github.com/actions/runner-images/tree/main/images/macos for available
# versions of Xcode
# versions of Xcode
sudo
xcode-select
-s
/Applications/Xcode_14.3.1.app/Contents/Developer
||
exit
1
sudo
xcode-select
-s
/Applications/Xcode_14.3.1.app/Contents/Developer
||
exit
1
if
[[
$TASK
!=
"mpi"
]]
;
then
brew
install
gcc
brew
install
gcc
fi
fi
fi
if
[[
$TASK
==
"mpi"
]]
;
then
if
[[
$TASK
==
"mpi"
]]
;
then
brew
install
open-mpi
brew
install
open-mpi
fi
fi
...
@@ -41,35 +39,30 @@ else # Linux
...
@@ -41,35 +39,30 @@ else # Linux
software-properties-common
software-properties-common
sudo
apt-get
install
--no-install-recommends
-y
\
sudo
apt-get
install
--no-install-recommends
-y
\
apt-utils
\
build-essential
\
build-essential
\
ca-certificates
\
ca-certificates
\
cmake
\
cmake
\
curl
\
curl
\
git
\
git
\
iputils-ping
\
jq
\
libcurl4
\
libcurl4
\
libicu-dev
\
libicu-dev
\
libssl-dev
\
libssl-dev
\
libunwind8
\
locales
\
locales
\
locales-all
\
locales-all
||
exit
1
netcat
\
unzip
\
zip
||
exit
1
if
[[
$COMPILER
==
"clang"
]]
;
then
if
[[
$COMPILER
==
"clang"
]]
;
then
sudo
apt-get
install
--no-install-recommends
-y
\
sudo
apt-get
install
--no-install-recommends
-y
\
clang
\
clang
\
libomp-dev
libomp-dev
elif
[[
$COMPILER
==
"clang-17"
]]
;
then
elif
[[
$COMPILER
==
"clang-17"
]]
;
then
sudo
apt-get
install
wget
sudo
apt-get
install
--no-install-recommends
-y
\
wget
wget
-qO-
https://apt.llvm.org/llvm-snapshot.gpg.key |
sudo tee
/etc/apt/trusted.gpg.d/apt.llvm.org.asc
wget
-qO-
https://apt.llvm.org/llvm-snapshot.gpg.key |
sudo tee
/etc/apt/trusted.gpg.d/apt.llvm.org.asc
sudo
apt-add-repository deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main
sudo
apt-add-repository deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main
sudo
apt-add-repository deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main
sudo
apt-add-repository deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main
sudo
apt-get update
sudo
apt-get update
sudo
apt-get
install
-y
clang-17
sudo
apt-get
install
-y
\
sudo
apt-get
install
--no-install-recommends
-y
libomp-17-dev
clang-17
\
libomp-17-dev
fi
fi
export
LANG
=
"en_US.UTF-8"
export
LANG
=
"en_US.UTF-8"
...
...
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