Don't use GLIBCXX_ASSERTIONS in production
Compare changes
Files
2- kraus authored
+ 10
− 1
@@ -26,6 +26,13 @@ set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g ")
@@ -101,7 +108,9 @@ elseif (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.
Closes #627 (closed)
I assumed that this flag GLIBCXX_ASSERTIONS
has no effect when the build type is Release. However I did some timing measurements and observed an increase of ~6 percent when using. This is fine for development builds but not for production.