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
03705c3b
"...git@developer.sourcefind.cn:jerrrrry/infinicore.git" did not exist on "4a1800096fb6ade97fd22de0d550a9d5ba169d27"
Commit
03705c3b
authored
Jul 22, 2017
by
Qiwei Ye
Committed by
GitHub
Jul 22, 2017
Browse files
Update CMakeLists.txt
parent
72905d79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
CMakeLists.txt
CMakeLists.txt
+12
-0
No files found.
CMakeLists.txt
View file @
03705c3b
...
...
@@ -6,6 +6,18 @@ OPTION(USE_MPI "MPI based parallel learning" OFF)
OPTION
(
USE_OPENMP
"Enable OpenMP"
ON
)
OPTION
(
USE_GPU
"Enable GPU-acclerated training (EXPERIMENTAL)"
OFF
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"4.8.2"
)
message
(
FATAL_ERROR
"Insufficient gcc version"
)
endif
()
elseif
(
CMAKE_CXX_COMPILER_ID STREQUAL
"Clang"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"3.8"
)
message
(
FATAL_ERROR
"Insufficient Clang version"
)
endif
()
elseif
(
CMAKE_CXX_COMPILER_ID STREQUAL
"AppleClang"
)
message
(
FATAL_ERROR
"AppleClang wasn't supported. Please see https://github.com/Microsoft/LightGBM/wiki/Installation-Guide#osx"
)
endif
()
if
(
APPLE
)
OPTION
(
APPLE_OUTPUT_DYLIB
"Output dylib shared library"
OFF
)
endif
()
...
...
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