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 10, 2024
1 parent 0ddd971 commit 37f42be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

set -e -E -u -o pipefail

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

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

ls
Expand Down

0 comments on commit 37f42be

Please sign in to comment.