Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
76bda1e2
Commit
76bda1e2
authored
Nov 11, 2019
by
Nikita Titov
Committed by
James Lamb
Nov 10, 2019
Browse files
support Catalina (#2556)
parent
785e4778
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
.ci/test.sh
.ci/test.sh
+1
-1
docs/Installation-Guide.rst
docs/Installation-Guide.rst
+3
-3
No files found.
.ci/test.sh
View file @
76bda1e2
...
...
@@ -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
...
...
docs/Installation-Guide.rst
View file @
76bda1e2
...
...
@@ -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 \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment