Commit 1517b019 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

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
parent d5f87ff0
...@@ -1064,7 +1064,7 @@ int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR* ...@@ -1064,7 +1064,7 @@ int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR*
// Using a valgrind suppressions file is better than the DRD_IGNORE_VAR macro because it's more targeted. // 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 // We need a function to have something a drd suppression can reference
// see src/tests/drd.suppressions (unsafe_touch_clock) // 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); BP_TOUCH_CLOCK(node, i);
} }
......
...@@ -289,6 +289,8 @@ cmake \ ...@@ -289,6 +289,8 @@ cmake \
-D USE_GTAGS=OFF \ -D USE_GTAGS=OFF \
-D USE_ETAGS=OFF \ -D USE_ETAGS=OFF \
-D USE_CSCOPE=OFF \ -D USE_CSCOPE=OFF \
-D CMAKE_C_FLAGS_DEBUG="-O1" \
-D CMAKE_CXX_FLAGS_DEBUG="-O1" \
-D TOKU_SVNROOT="$toku_svnroot" \ -D TOKU_SVNROOT="$toku_svnroot" \
-G "$generator" \ -G "$generator" \
.. 2>&1 | tee -a $tracefile .. 2>&1 | tee -a $tracefile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment