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
OpenDAS
dlib
Commits
ea2fbcab
Commit
ea2fbcab
authored
Jul 07, 2018
by
Davis King
Browse files
Disable LTO since it basically just makes the build process slow.
parent
e248cc8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
tools/python/CMakeLists.txt
tools/python/CMakeLists.txt
+5
-4
No files found.
tools/python/CMakeLists.txt
View file @
ea2fbcab
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.12
)
# Set this to disable link time optimization. The only reason for
# doing this to make the compile faster which is nice when developing
# new modules.
# set(PYBIND11_LTO_CXX_FLAGS "")
# Pybind11's cmake scripts enable link time optimization by default. However,
# it makes linking take a really long time and doesn't seem to substantively
# improve runtime performance. So we disable LTO here to make building dlib
# faster.
set
(
PYBIND11_LTO_CXX_FLAGS
""
)
# Avoid cmake warnings about changes in behavior of some Mac OS X path
...
...
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