Commit graph

63 commits

Author SHA1 Message Date
Leif Walsh
4d401f2816 refs #5485 fix gcov linking
git-svn-id: file:///svn/toku/tokudb@48037 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
737d1a6443 refs #5368 #4781 fix integration of gcov and OBJECT libs
git-svn-id: file:///svn/toku/tokudb@48036 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
bd63072bdf closes #5485 #5368 clean up cmake and get darwin portability:
for 5485:
 - remove icc handling stuff from cmake
 - clean up remaining cmake files
 - create libtokudb_static.a in a cleaner way using cmake OBJECT libs (requires cmake 2.8.9)
 - use POSITION_INDEPENDENT_CODE property instead of manually setting -fPIC
for 5368:
 - fix compilation failures due to small differences between gcc and clang, mostly in tests
 - use toku_fileids_are_equal instead of memcmp to compare fileids (closes #5505)
 - create dummy implementation of partitioned_counter for osx (quick fix for, and closes #5506)
 - add mutex->valid bit under TOKU_PTHREAD_DEBUG
 - initialize mutex of DB_TXN created during recovery for 2PC (closes #5507)


git-svn-id: file:///svn/toku/tokudb@48024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Christian Rober
5634ac801b refs #5086 commenting out cmake line to fix linux build. We have to find a permanent fix for clang later.
git-svn-id: file:///svn/toku/tokudb@47174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Christian Rober
4302350567 refs #5086 Adding cmake settings for Clang compatibility with c++0x on darwin.
git-svn-id: file:///svn/toku/tokudb@47172 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:05 -04:00
Leif Walsh
e6aed632eb closes #5379 add TOKU_PTHREAD_DEBUG for debug builds
git-svn-id: file:///svn/toku/tokudb@47040 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Leif Walsh
9c9aa70008 refs #4871 generate a different build name for coverage tests so they don't clobber the debug runs
git-svn-id: file:///svn/toku/tokudb@47021 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Zardosht Kasheff
7ea6dd4171 refs #4606, merge to main
git-svn-id: file:///svn/toku/tokudb@46797 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Leif Walsh
9e5e0aefcb refs #4871 default to USE_VALGRIND=ON
git-svn-id: file:///svn/toku/tokudb@46773 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
fffce5d49f refs #5155 refs #5308 closes #5309 merge new omt api functions to main (still unused), use templated omt for TOKUTXN->open_fts, OMT becomes a wrapper for omt<OMTVALUE>, other misc fixes
git-svn-id: file:///svn/toku/tokudb@46448 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Leif Walsh
f20569cd7c refs #5291 add -g -fuse-linker-plugin for link time optimization
git-svn-id: file:///svn/toku/tokudb@46102 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
7467b279f5 refs #5291 add USE_VALGRIND option to control NVALGRIND, and update
nightly tests to use gcc optimized build too


git-svn-id: file:///svn/toku/tokudb@46099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
TokuBuild
720ca62b9d refs #4871 fix finding of gcov47
git-svn-id: file:///svn/toku/tokudb@46067 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
389599b1a4 refs #4871 link against stdc++ instead of c
git-svn-id: file:///svn/toku/tokudb@46046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
ca1141d369 refs #4871 speed up tag generation for cscope and idutils
git-svn-id: file:///svn/toku/tokudb@46022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
e6fbdbdf81 refs #4871 use gcov47 when possible
git-svn-id: file:///svn/toku/tokudb@46020 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Yoni Fogel
81d8d1ca0d refs #5280 Intel compiler has some warnings for -WeffC++. Temporarily removing till warnings are fixed
git-svn-id: file:///svn/toku/tokudb@45982 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Yoni Fogel
2f23fc5db1 refs #5280 Add additional warning options and get it to compile cleanly.
Add comments and static asserts for on-disk formats (e.g. leafentries)

git-svn-id: file:///svn/toku/tokudb@45977 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Leif Walsh
958c447641 closes #5206 merge c++ changes to mainline
git-svn-id: file:///svn/toku/tokudb@45903 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Bradley C. Kuszmaul
936bb9d276 Fixes #5255. Disable intel warning 1292: {{{svn merge -c 45766 ../tokudb.3571}}}
git-svn-id: file:///svn/toku/tokudb@45767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Leif Walsh
a367232ad2 refs #5206 merge work making our code c99 and c++11 compatible, to mainline
git-svn-id: file:///svn/toku/tokudb@45632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
Leif Walsh
3d01baeed8 refs #5163 use CMAKE_PREFIX_PATH to find BDB and valgrind
git-svn-id: file:///svn/toku/tokudb@45358 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:57 -04:00
Leif Walsh
2ee18e3d18 fix valgrind finding algorithm and usage
refs #4871

git-svn-id: file:///svn/toku/tokudb@45046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:54 -04:00
Leif Walsh
82ae5280df [t:5136] add "NVALGRIND=1" to COMPILE_DEFINITIONS_RELEASE
git-svn-id: file:///svn/toku/tokudb@44902 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:53 -04:00
Leif Walsh
aebe247eaa [t:5094] merge to main, delete dev branch. closes #5094.
git-svn-id: file:///svn/toku/tokudb@44769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:52 -04:00
Leif Walsh
94b291779a [t:5094] revert change for #5094 because it doesn't work yet
git-svn-id: file:///svn/toku/tokudb@44672 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Leif Walsh
0da230d143 [t:5094] build libtokudb_static.a by extracting all .o files, recompiling
with -ipo-c into one .o, and rearchiving.  closes #5094.


git-svn-id: file:///svn/toku/tokudb@44667 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Bradley C. Kuszmaul
d04b3eaa52 [t:4934] Get rid of more #4934 stuff from main. Refs #4934.
git-svn-id: file:///svn/toku/tokudb@44663 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
2f8410fe0b [t:4934] Merge 44291 from ../../tokudb.4934-branch-from.6.0.0/newbrt/. Refs #4934.
git-svn-id: file:///svn/toku/tokudb@44632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
d6d59ec4b5 [t:4871] use shared lib for {lock,range}_tree tests, speeds up build, and add prefixes to test names to use regexes better
also better osx/clang support, compile with -O4 now
and use the same compiler for the fractal tree and lzma


git-svn-id: file:///svn/toku/tokudb@44602 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
0ec18d4ef1 [t:4871] fix problems using clang on linux
use TOKU_ALLOW_DEPRECATED
don't use PIE


git-svn-id: file:///svn/toku/tokudb@44595 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
78ad3e15f4 [t:4871] fix linking with gcc, I think
git-svn-id: file:///svn/toku/tokudb@44593 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
38ae050c90 [t:4871] do not use COMPILE_FLAGS_RELEASE until http://www.cmake.org/Bug/view.php?id=6493 is fixed.
git-svn-id: file:///svn/toku/tokudb@44550 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
dc4776a770 [t:4871] implement binary compilation options in a nicer way in cmake,
only do it for release builds, play nicer with multi-configuration
generators like vs and xcode


git-svn-id: file:///svn/toku/tokudb@44535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
d3a6f99e14 [t:5073] fix most clang problems on linux, ignore -Wcast-align for now
git-svn-id: file:///svn/toku/tokudb@44529 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
6f24c4fa88 [t:4871] clean up compilation flags across the board
git-svn-id: file:///svn/toku/tokudb@44507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
df558c4679 [t:4871] silence FindValgrind, fix debug settings for release icc builds
git-svn-id: file:///svn/toku/tokudb@44486 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
5410bb9998 [t:4871] remove -Wcast-align on darwin
git-svn-id: file:///svn/toku/tokudb@44440 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Yoni Fogel
b6b8dd84c4 [t:4905] closes #4905 Merge 4905b branch to main (removes pwrite lock)
git-svn-id: file:///svn/toku/tokudb@44315 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00
Leif Walsh
a8f936e6c0 [t:4845] remove lzma headers, depend instead on those that get installed. possibly also fix dependency scanning of lzma stuff for parallel builds
git-svn-id: file:///svn/toku/tokudb@44299 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00
Rich Prohaska
50c74b6536 #5006 use find_package(Valgrind) for linux refs[t:5006]
git-svn-id: file:///svn/toku/tokudb@44260 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Leif Walsh
576ecc92a2 [t:5006] change what we search for so VALGRIND_PREFIX makes more sense
git-svn-id: file:///svn/toku/tokudb@44253 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Leif Walsh
3df4ae6791 [t:5006] support VALGRIND_PREFIX for using non-standard valgrind installations (and error out correctly if we don't find valgrind). fixes #5006
git-svn-id: file:///svn/toku/tokudb@44252 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Leif Walsh
ea1c9352bf [t:4845] move xz-4.999.9beta up the tree
git-svn-id: file:///svn/toku/tokudb@44232 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Zardosht Kasheff
900d290cda [t:4877], [t:4966], [t:4952], [t:4881], [t:4918], merge to main
git-svn-id: file:///svn/toku/tokudb@44130 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:42 -04:00
Leif Walsh
e4aefe2604 [t:4871] forgot global generates GSYMS too
git-svn-id: file:///svn/toku/tokudb@44094 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
Leif Walsh
71101fd993 [t:4948] remove test1426.bdbdump from cmake files, add dependency on log code generation for tags
git-svn-id: file:///svn/toku/tokudb@44090 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:41 -04:00
Leif Walsh
966eea0f44 [t:4871] disable -Wshadow on osx
git-svn-id: file:///svn/toku/tokudb@43881 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Leif Walsh
3719bf2c2f [t:4901] merging brt->ft rename to main
git-svn-id: file:///svn/toku/tokudb@43686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Leif Walsh
ac02edd57d [t:4871] fix valgrind --trace-children-skip so that recover_stress and checkpoint_stress don't report so many errors (they're actually from grep)
git-svn-id: file:///svn/toku/tokudb@43630 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00