зеркало из https://github.com/microsoft/LightGBM.git
support Catalina (#2556)
This commit is contained in:
Родитель
785e477856
Коммит
76bda1e257
|
@ -106,7 +106,7 @@ if [[ $TASK == "sdist" ]]; then
|
|||
elif [[ $TASK == "bdist" ]]; then
|
||||
if [[ $OS_NAME == "macos" ]]; then
|
||||
cd $BUILD_DIRECTORY/python-package && python setup.py bdist_wheel --plat-name=macosx --universal || exit -1
|
||||
mv dist/lightgbm-$LGB_VER-py2.py3-none-macosx.whl dist/lightgbm-$LGB_VER-py2.py3-none-macosx_10_8_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.macosx_10_14_x86_64.whl
|
||||
mv dist/lightgbm-$LGB_VER-py2.py3-none-macosx.whl dist/lightgbm-$LGB_VER-py2.py3-none-macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.macosx_10_14_x86_64.macosx_10_15_x86_64.whl
|
||||
if [[ $AZURE == "true" ]]; then
|
||||
cp dist/lightgbm-$LGB_VER-py2.py3-none-macosx*.whl $BUILD_ARTIFACTSTAGINGDIRECTORY
|
||||
fi
|
||||
|
|
|
@ -147,7 +147,7 @@ Build from GitHub
|
|||
git clone --recursive https://github.com/microsoft/LightGBM ; cd LightGBM
|
||||
mkdir build ; cd build
|
||||
|
||||
# For Mojave (10.14)
|
||||
# For Mojave or newer (>=10.14)
|
||||
cmake \
|
||||
-DOpenMP_C_FLAGS="-Xpreprocessor -fopenmp -I$(brew --prefix libomp)/include" \
|
||||
-DOpenMP_C_LIB_NAMES="omp" \
|
||||
|
@ -449,7 +449,7 @@ Only **Apple Clang** version 8.1 or higher is supported.
|
|||
git clone --recursive https://github.com/microsoft/LightGBM ; cd LightGBM
|
||||
mkdir build ; cd build
|
||||
|
||||
# For Mojave (10.14)
|
||||
# For Mojave or newer (>=10.14)
|
||||
cmake \
|
||||
-DUSE_MPI=ON \
|
||||
-DOpenMP_C_FLAGS="-Xpreprocessor -fopenmp -I$(brew --prefix libomp)/include" \
|
||||
|
@ -712,7 +712,7 @@ Only **Apple Clang** version 8.1 or higher is supported.
|
|||
git clone --recursive https://github.com/microsoft/LightGBM ; cd LightGBM
|
||||
mkdir build ; cd build
|
||||
|
||||
# For Mojave (10.14)
|
||||
# For Mojave or newer (>=10.14)
|
||||
cmake \
|
||||
-DUSE_SWIG=ON \
|
||||
-DAPPLE_OUTPUT_DYLIB=ON \
|
||||
|
|
Загрузка…
Ссылка в новой задаче