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
b82d0dcb
Unverified
Commit
b82d0dcb
authored
Oct 21, 2024
by
Nikita Titov
Committed by
GitHub
Oct 21, 2024
Browse files
[cmake] group sanitizer options together (#6688)
parent
c7d3ac1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
b82d0dcb
...
@@ -6,7 +6,6 @@ option(USE_TIMETAG "Set to ON to output time costs" OFF)
...
@@ -6,7 +6,6 @@ option(USE_TIMETAG "Set to ON to output time costs" OFF)
option
(
USE_CUDA
"Enable CUDA-accelerated training "
OFF
)
option
(
USE_CUDA
"Enable CUDA-accelerated training "
OFF
)
option
(
USE_DEBUG
"Set to ON for Debug mode"
OFF
)
option
(
USE_DEBUG
"Set to ON for Debug mode"
OFF
)
option
(
USE_SANITIZER
"Use santizer flags"
OFF
)
option
(
USE_SANITIZER
"Use santizer flags"
OFF
)
option
(
USE_HOMEBREW_FALLBACK
"(macOS-only) also look in 'brew --prefix' for libraries (e.g. OpenMP)"
ON
)
set
(
set
(
ENABLED_SANITIZERS
ENABLED_SANITIZERS
"address"
"leak"
"undefined"
"address"
"leak"
"undefined"
...
@@ -15,7 +14,8 @@ set(
...
@@ -15,7 +14,8 @@ set(
"Semicolon separated list of sanitizer names, e.g., 'address;leak'. \
"Semicolon separated list of sanitizer names, e.g., 'address;leak'. \
Supported sanitizers are address, leak, undefined and thread."
Supported sanitizers are address, leak, undefined and thread."
)
)
option
(
BUILD_CLI
"Build the 'lightbgm' command-line interface in addition to lib_lightgbm"
ON
)
option
(
USE_HOMEBREW_FALLBACK
"(macOS-only) also look in 'brew --prefix' for libraries (e.g. OpenMP)"
ON
)
option
(
BUILD_CLI
"Build the 'lightgbm' command-line interface in addition to lib_lightgbm"
ON
)
option
(
BUILD_CPP_TEST
"Build C++ tests with Google Test"
OFF
)
option
(
BUILD_CPP_TEST
"Build C++ tests with Google Test"
OFF
)
option
(
BUILD_STATIC_LIB
"Build static library"
OFF
)
option
(
BUILD_STATIC_LIB
"Build static library"
OFF
)
option
(
INSTALL_HEADERS
"Install headers to CMAKE_INSTALL_PREFIX (e.g. '/usr/local/include')"
ON
)
option
(
INSTALL_HEADERS
"Install headers to CMAKE_INSTALL_PREFIX (e.g. '/usr/local/include')"
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