File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -145,10 +145,7 @@ For **macOS** users, the GPU version is not supported.
145
145
146
146
.. code :: sh
147
147
148
- pip install lightgbm --no-binary lightgbm \
149
- --config-settings=cmake.define.USE_GPU=ON \
150
- --config-settings=cmake.define.OpenCL_INCLUDE_DIR=" /usr/local/cuda/include/" \
151
- --config-settings=cmake.define.OpenCL_LIBRARY=" /usr/local/cuda/lib64/libOpenCL.so"
148
+ pip install lightgbm --no-binary lightgbm --config-settings=cmake.define.USE_GPU=ON --config-settings=cmake.define.OpenCL_INCLUDE_DIR=" /usr/local/cuda/include/" --config-settings=cmake.define.OpenCL_LIBRARY=" /usr/local/cuda/lib64/libOpenCL.so"
152
149
153
150
All available options that can be passed via ``cmake.define.{option} ``.
154
151
@@ -243,7 +240,7 @@ Build in Debug Mode
243
240
244
241
.. code :: sh
245
242
246
- pip install lightgbm --no-binary lightgbm --config-settings=cmake.define.USE_DEBUG=ON
243
+ pip install lightgbm --no-binary lightgbm --config-settings=cmake.define.USE_DEBUG=ON --config-settings=cmake.build-type=Debug
247
244
248
245
Use this mode to make LightGBM perform more checks internally and disable all compiler optimizations.
249
246
You can’t perform that action at this time.
0 commit comments