"vscode:/vscode.git/clone" did not exist on "22cd39e89a9139f7fb74aec7b612cef57ddf760c"
Commit b588cae2 authored by Nikita Titov's avatar Nikita Titov Committed by James Lamb
Browse files

[ci] indicate support only for the last 3 macOS versions in wheel name (#2691)

* indicate support only for the last 3 macOS versions in wheel name

* document support only for 3 newest macOS versions
parent d6c41fa1
...@@ -104,7 +104,7 @@ if [[ $TASK == "sdist" ]]; then ...@@ -104,7 +104,7 @@ if [[ $TASK == "sdist" ]]; then
elif [[ $TASK == "bdist" ]]; then elif [[ $TASK == "bdist" ]]; then
if [[ $OS_NAME == "macos" ]]; then if [[ $OS_NAME == "macos" ]]; then
cd $BUILD_DIRECTORY/python-package && python setup.py bdist_wheel --plat-name=macosx --universal || exit -1 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_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 mv dist/lightgbm-$LGB_VER-py2.py3-none-macosx.whl dist/lightgbm-$LGB_VER-py2.py3-none-macosx_10_13_x86_64.macosx_10_14_x86_64.macosx_10_15_x86_64.whl
if [[ $AZURE == "true" ]]; then if [[ $AZURE == "true" ]]; then
cp dist/lightgbm-$LGB_VER-py2.py3-none-macosx*.whl $BUILD_ARTIFACTSTAGINGDIRECTORY cp dist/lightgbm-$LGB_VER-py2.py3-none-macosx*.whl $BUILD_ARTIFACTSTAGINGDIRECTORY
fi fi
......
...@@ -20,7 +20,7 @@ For **Windows** users, `VC runtime <https://support.microsoft.com/en-us/help/297 ...@@ -20,7 +20,7 @@ For **Windows** users, `VC runtime <https://support.microsoft.com/en-us/help/297
For **Linux** users, **glibc** >= 2.14 is required. For **Linux** users, **glibc** >= 2.14 is required.
For **macOS** users: For **macOS** (we provide wheels for 3 newest macOS versions) users:
- Starting from version 2.2.1, the library file in distribution wheels is built by the **Apple Clang** (Xcode_8.3.3) compiler. This means that you don't need to install the **gcc** compiler anymore. Instead of that you need to install the **OpenMP** library, which is required for running LightGBM on the system with the **Apple Clang** compiler. You can install the **OpenMP** library by the following command: ``brew install libomp``. - Starting from version 2.2.1, the library file in distribution wheels is built by the **Apple Clang** (Xcode_8.3.3) compiler. This means that you don't need to install the **gcc** compiler anymore. Instead of that you need to install the **OpenMP** library, which is required for running LightGBM on the system with the **Apple Clang** compiler. You can install the **OpenMP** library by the following command: ``brew install libomp``.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment