421 Commits

Author SHA1 Message Date
Markus Pilman
dae8ea24ad Move compiler definitions into config file 2020-11-25 15:06:59 -07:00
David Youngworth
d64cf8b9e3 Merge branch 6.3 into master 2020-11-17 11:22:45 -08:00
Markus Pilman
864581c3b7 Merge remote-tracking branch 'origin/release-6.3' into features/versioned-packages 2020-11-05 15:54:39 -07:00
Markus Pilman
80d5b6c0c9
Merge pull request #4015 from xis19/release-6.3
Fix the CPack MacOS X package
2020-11-05 15:52:22 -07:00
Markus Pilman
703b2e276a addressed review comments 2020-11-05 15:50:24 -07:00
Daniel Smith
7d1db8a66e Restore building RocksDB by default with GCC 2020-11-05 09:11:58 -08:00
Daniel Smith
6b1bbc49e3 Restore building RocksDB by default with GCC 2020-11-05 17:07:53 +00:00
Daniel Smith
8ed7d296b4 Fix the ability to disable building RocksDB with GCC 2020-11-04 14:58:24 -08:00
Daniel Smith
b1194801b1 Fix the ability to disable building RocksDB with GCC 2020-11-04 21:59:14 +00:00
Xiaoge Su
59fa74bfb3 FoundationDB MacOS client package > add symlink, move files
* In FDB 6.2, there are symlinks to backup_agent to usr/local/bin, this
  patch makes 6.3 adds these symlinks to the proper positions.
* In FDB 6.2, the libfdb_c.dylib is installed to usr/local/lib, this
  patch makes 6.3 install the dylib to this path.
2020-11-04 10:43:46 -08:00
Xiaoge Su
bd3b6e3a48 FoundationDB MacOS server package > add data/logs path
The paths

    ./usr/local/foundationdb/logs
    ./usr/local/foundationdb/data

exists in 6.2 but not 6.3 for MacOS pkg server package. This patch fixes
the issue.
2020-11-04 10:43:39 -08:00
sfc-gh-tclinkenbeard
cf4c8e375f Merge remote-tracking branch 'origin/release-6.3' into merge 2020-10-29 22:15:41 -07:00
Markus Pilman
9861d90a9d add service files to versioned packages
This includes systemd and initd files. This way
an admin can manually install them in the system
2020-10-28 14:14:58 -06:00
Markus Pilman
f763d89dc3 add alternatives to install symlinks 2020-10-28 14:03:48 -06:00
Markus Pilman
ca57738df2 remove support for el6 2020-10-28 13:10:59 -06:00
Markus Pilman
b4c59e0a02 CPack refactoring and introduction of multiversion 2020-10-28 12:55:15 -06:00
Andrew Noyes
e82339f40e
Merge pull request #3906 from sfc-gh-anoyes/anoyes/use-gcov
Add USE_GCOV cmake option
2020-10-27 08:27:46 -07:00
A.J. Beamon
8e512f3109
Merge pull request #3943 from sfc-gh-anoyes/anoyes/valgrind-precise
Increase valgrind precision if env var FDB_VALGRIND_PRECISE is set
2020-10-26 14:01:58 -07:00
Andrew Noyes
832199a089
Merge pull request #3948 from sfc-gh-mpilman/features/coverage-in-correctness
Features/coverage in correctness
2020-10-23 08:35:41 -07:00
Jingyu Zhou
2a29df0d60
Merge pull request #3949 from sfc-gh-mpilman/bugfixes/gperftools
Bugfixes/gperftools
2020-10-22 17:16:17 -07:00
Markus Pilman
08eaa4bc8a
Update cmake/FDBComponents.cmake 2020-10-22 17:00:59 -06:00
Markus Pilman
82fcefcb7b add coverage files of dependencies 2020-10-22 14:51:10 -06:00
Markus Pilman
5c506908ab
Update cmake/FDBComponents.cmake 2020-10-22 14:13:24 -06:00
Markus Pilman
93d7addd28 minor fix to make gperftools integration a bit prettier 2020-10-22 13:56:05 -06:00
Markus Pilman
684171938a set package files through an out variable 2020-10-22 13:53:03 -06:00
Markus Pilman
0906afbbf7 Add coverage file to correctness package 2020-10-22 13:49:53 -06:00
Markus Pilman
4b12b9fc01 Fix toml11 cmake 2020-10-22 13:27:06 -06:00
Andrew Noyes
79163947a6 Add FLOW_KNOBS->VALGRIND_PRECISE 2020-10-22 16:31:48 +00:00
Andrew Noyes
1ad779631f
Update cmake/ConfigureCompiler.cmake 2020-10-16 09:19:10 -07:00
Andrew Noyes
dd23f5707f Use add_link_options 2020-10-16 14:59:17 +00:00
Andrew Noyes
52c8acf1e0 Link to how to build instrumented libc++ 2020-10-15 21:37:47 +00:00
Andrew Noyes
62d3b1c674 Use add_link_options. Also add USE_MSAN
And define the macros stacktrace.amalgamation.cpp expects
2020-10-15 17:08:41 +00:00
Andrew Noyes
68de888fb4 Add USE_GCOV cmake option
Enabling this option adds --coverage to compilation flags and dumps
coverage data (*.gcda) files in flushAndExit. Otherwise coverage data
would not be dumped in flushAndExit. Applications that exit more
normally (e.g. returning from main) don't need special changes to dump
coverage data.

This is still experimental and we don't exactly have a plan for running
this in CI e.g., so this change just adds the option.

Tested with clang11
2020-10-15 17:08:41 +00:00
Lukas Joswiak
7a356d142c Disable network test, peg doctest to version 2.4 2020-10-08 14:24:36 -07:00
Lukas Joswiak
2442466fc5 Remove pthread flag 2020-10-08 13:45:00 -07:00
Lukas Joswiak
ff5eafcf42 Swap to -pthread from -lpthread
This is a (probably temporary?) fix to actually fix the compilation
issue with the added unit tests when compiling with gcc. The issue seems
to be that lpthread is getting linked before another library which
requires it, so linking fails. Linking pthread instead of lpthread fixes
the issue, but this may have an effect on other binaries in the system
as well.
2020-10-02 22:52:42 -07:00
Markus Pilman
c7324761c1 pass the library path to Java tests 2020-09-25 09:38:33 -06:00
Markus Pilman
33d6c412c1 return error code correctly and cmake fixes 2020-09-24 15:58:41 -06:00
Markus Pilman
4c25214085 Add ability to run tests on fdb in ctest 2020-09-24 15:43:05 -06:00
Meng Xu
a3c861b59d
Merge pull request #3777 from apple/release-6.3
Merge Release 6.3 into master
2020-09-14 10:32:50 -07:00
Daniel Smith
cfbf9dbb36 Merge remote-tracking branch 'upstream/release-6.3' into rocksdb-lz4 2020-09-09 19:20:16 +00:00
Daniel Smith
1b4aead939 Enable the RocksDB engine by default with GCC 2020-09-08 16:30:23 +00:00
Russell Sears
d12946e569 fix autodownload path for rocksdb 2020-09-03 16:23:05 +00:00
Daniel Smith
bf5acc7296 Use lz4 2020-08-31 20:07:35 +00:00
XiaoxiWang
1c96a37a77 turn off avx instruction when enable valgrind 2020-08-14 21:14:48 +00:00
Meng Xu
fe5902994c
Merge pull request #3605 from apple/release-6.3
Merge Release 6.3 to master
2020-08-05 23:37:44 -07:00
Daniel Smith
c7532f3b55 Use a consistent compiler for Rocks and FDB 2020-07-29 21:41:00 +00:00
Evan Tschannen
a49cb41de7 Merge branch 'release-6.3'
# Conflicts:
#	CMakeLists.txt
#	cmake/ConfigureCompiler.cmake
#	fdbserver/Knobs.cpp
#	fdbserver/StorageCache.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	flow/ThreadHelper.actor.h
#	flow/serialize.h
#	tests/CMakeLists.txt
2020-07-29 00:31:55 -07:00
Andrew Noyes
1d22a21510 Revert "temporarily disable compiler warnings"
This reverts commit 29142fa38220082c709b48d13d42ac679872e349.
2020-07-28 17:19:52 +00:00
Evan Tschannen
29142fa382 temporarily disable compiler warnings 2020-07-24 12:37:15 -07:00