-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug flag in cmake #1588
Comments
For most users, Debug flags are not needed. However, having a Debug parameter for cmake is great. PR is welcomed. |
Closed in favor of being in #2302. We decided to keep all feature requests in one place. Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature. |
Added in #2825. |
Environment info
Operating System: x86_64-linux-gnu
CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
C++/Python/R version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
Error message
https://github.com/Microsoft/LightGBM/blob/master/CMakeLists.txt#L111
CMakeLists.txt specifies -O3 optimization flag, which makes it difficult to build the library for different build configs. Optimization flag should be defined as part of external build config using CMAKE_BUILD_TYPE=[Debug,Release].
The text was updated successfully, but these errors were encountered: