From b4ca211641621ae061301cf001143e46958c0403 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 6 Oct 2024 17:15:06 +0300 Subject: [PATCH] Update setup.sh --- .ci/setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/setup.sh b/.ci/setup.sh index a0811e0df1b..0042844e54a 100755 --- a/.ci/setup.sh +++ b/.ci/setup.sh @@ -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