mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
refs #5672 compile drd/helgrind tests with -O1 so they complete in a reasonable amount of time
git-svn-id: file:///svn/toku/tokudb@51305 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
d5f87ff058
commit
1517b01985
2 changed files with 3 additions and 1 deletions
|
@ -1064,7 +1064,7 @@ exit:
|
|||
// Using a valgrind suppressions file is better than the DRD_IGNORE_VAR macro because it's more targeted.
|
||||
// We need a function to have something a drd suppression can reference
|
||||
// see src/tests/drd.suppressions (unsafe_touch_clock)
|
||||
static inline void unsafe_touch_clock(FTNODE node, int i) {
|
||||
static void unsafe_touch_clock(FTNODE node, int i) {
|
||||
BP_TOUCH_CLOCK(node, i);
|
||||
}
|
||||
|
||||
|
|
|
@ -289,6 +289,8 @@ cmake \
|
|||
-D USE_GTAGS=OFF \
|
||||
-D USE_ETAGS=OFF \
|
||||
-D USE_CSCOPE=OFF \
|
||||
-D CMAKE_C_FLAGS_DEBUG="-O1" \
|
||||
-D CMAKE_CXX_FLAGS_DEBUG="-O1" \
|
||||
-D TOKU_SVNROOT="$toku_svnroot" \
|
||||
-G "$generator" \
|
||||
.. 2>&1 | tee -a $tracefile
|
||||
|
|
Loading…
Add table
Reference in a new issue