Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored Oct 6, 2024
1 parent 2f91cd0 commit b4ca211
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

set -e -E -u -o pipefail

brew install cmake ninja libomp open-mpi
brew install cmake open-mpi gcc

git clone --recursive https://github.com/microsoft/LightGBM
cd LightGBM
cmake -B build -S . -DUSE_MPI=ON -G Ninja
export CXX=g++-14 CC=gcc-14 # replace "7" with version of gcc installed on your machine
cmake -B build -S . -DUSE_MPI=ON
cmake --build build -j4

ls
Expand Down

0 comments on commit b4ca211

Please sign in to comment.