mpilman
7d247af500
Two minor bug fixes from recent optimizations
2019-07-31 19:14:11 -07:00
Alvin Moore
ef9187446c
Merge pull request #1882 from mpilman/bug/libexec-tgz
...
Put fdbmonitor into `sbin` dir in tgz-package
2019-07-31 14:27:07 -07:00
mpilman
058f21b0fc
fixed merge conflicts
2019-07-30 18:36:10 -07:00
mpilman
b6440c7781
added flamegraph util
2019-07-30 18:36:10 -07:00
mpilman
b7df7f3549
compatability with older cmake versions
2019-07-30 18:36:10 -07:00
mpilman
4dd219f55b
made probes follow c naming rules
2019-07-30 18:36:10 -07:00
mpilman
9b96d8c166
a step further to uniqueness
2019-07-30 18:36:10 -07:00
mpilman
8eb06f7ab4
Only generate probes where it is supported
2019-07-30 18:36:10 -07:00
mpilman
b81a4ef6a2
clang+libc++ support on linux + dtrace probes
2019-07-30 18:36:10 -07:00
A.J. Beamon
a92b6cd3d1
Merge branch 'master' into add-cache-memory-parameter
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
2019-07-25 13:41:57 -07:00
Andrew Noyes
3d2f35eec6
Fix a cmake typo
...
This allows a few more files to get type checked during an OPEN_FOR_IDE
build
2019-07-23 15:12:47 -07:00
A.J. Beamon
94be9560ea
Add cache_memory parameter to fdbserver to control the size of the (4K) page cache. Change the default slighty from 2000 MiB to 2GiB.
2019-07-23 15:05:21 -07:00
mpilman
23d2c58446
Put fdbmonitor into `sbin` dir in tgz-package
...
Fixes #1753
2019-07-23 09:40:33 -07:00
mpilman
1ac2d01b03
Merge remote-tracking branch 'upstream/master' into flatbuffers-fixes2
2019-07-18 09:50:08 -07:00
Alvin Moore
b9e938972c
Merge pull request #1719 from mpilman/features/static-libc++
...
statically link libstdc++ on Linux and remove std::variant
2019-07-16 21:00:02 -07:00
Evan Tschannen
2520b69803
Merge pull request #1832 from dyoungworth/bugFix
...
Fix ctests so each restart test has a seed unique to the first test
2019-07-16 16:43:17 -07:00
mpilman
b18666d942
statically link libstdc++ on Linux and remove std::variant
...
this will hopefully fix #1610
2019-07-16 14:53:16 -07:00
Markus Pilman
520f552082
Update cmake/ConfigureCompiler.cmake
...
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
2019-07-15 15:16:43 -07:00
dyoungworth
baf8e020d1
use one index to track tests in ctest
2019-07-15 14:52:24 -07:00
Andrew Noyes
274cb40eb8
Run tests under valgrind when USE_VALGRIND
2019-07-11 23:03:31 -07:00
dyoungworth
62d7ee9424
Fix ctests so each restart test has a seed unique to the first test
...
and any other test
2019-07-11 09:56:51 -07:00
mpilman
23963328cc
Compile relative paths into the debug info
...
This is a suggestion to resolve #1780
This change introduces a new cmake flag `RELATIVE_DEBUG_PATHS`.
If this flag is set or FDB is compiled with `-DFDB_RELEASE=ON`,
the resulting binary will have debug information using relative
file paths to source files. This simulates the behavior of the
old build system but might break local debugging (making the
debugger aware of build and source directory will be required).
2019-07-09 12:11:51 -07:00
Jingyu Zhou
e2d7929b73
Remove redundant actor compiler flags.
2019-06-30 08:25:53 -07:00
Andrew Noyes
3a246c1d25
Remove -fdiagnostics-color=always
...
This way you can run with -DCMAKE_COLOR_MAKEFILE=0 in CI and not get
garbled escape characters in your log
2019-06-28 17:46:47 -07:00
Alex Miller
30b27349a7
Fix addFdbTest
2019-06-25 21:57:09 -07:00
Alvin Moore
8ff5150470
Merge pull request #1636 from atn34/export-libfdb_c
...
Export libfdb c
2019-06-24 13:08:41 -07:00
mpilman
6f52059750
Fix backtraces
...
pass -fno-omit-frame-pointer as we otherwise see broken back traces.
This should fix #1631 as well.
2019-06-18 15:33:12 -07:00
Evan Tschannen
20e3edeb0a
Merge branch 'release-6.1'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbserver/storageserver.actor.cpp
# versions.target
2019-06-14 12:42:59 -07:00
mpilman
4c62458172
Make valgrind work on Fedora 30
2019-06-11 10:27:08 -07:00
mpilman
8590cd4286
Add libc++ support for non-MacOS
2019-06-10 17:34:03 -07:00
Andrew Noyes
c9dc2f98f0
Make pkg-config look more like example in man page
2019-06-09 15:22:06 -07:00
Andrew Noyes
f5e7b8b165
Support pkg-config
2019-06-09 15:21:36 -07:00
Andrew Noyes
9af6326e1b
Make find_package work
2019-06-09 15:21:36 -07:00
Andrew Noyes
882523330c
include(/path/to/cmake/file) now works for fdb_c
2019-06-09 15:21:36 -07:00
Andrew Noyes
cabe41626c
Prepare for exporting fdb_c
2019-06-09 15:21:36 -07:00
Andrew Noyes
2b07a0559e
Install headers in foundationdb dir
2019-06-09 15:21:36 -07:00
Andrew Noyes
8e0cbd299b
Use 'map' for finding install paths
2019-06-09 15:21:36 -07:00
Alvin Moore
4e99bebb18
Added support for enabling ccache by environmental variable
2019-06-06 08:54:31 -07:00
Alex Miller
77697666e6
Make USE_CCACHE=ON print an error if ccache is not found
2019-06-05 11:46:41 -07:00
Alex Miller
78137c9ae8
Add a cmake flag to enable ccache use by default.
2019-06-05 11:46:41 -07:00
sramamoorthy
8370871e4c
stale RESTORE option related code removed
2019-05-28 22:07:46 -07:00
sramamoorthy
281c785f94
'--restoring' cmd line arg removed for fdbserver
...
'--restoring' command line option was introduced to indicate
simulated fdbserver to restore from snapshot and restart the cluster.
As part of this change that option is removed and restore
information is stored in the restartInfo.ini.
2019-05-28 22:07:46 -07:00
sramamoorthy
4bc4c615da
exec op to all tlog, restore change in test &other
...
- exec operation to go to all the TLogs
- minor bug fix in tlog
- restore implementation for the simulator
- restore snap UID to be stored in restartInfo.ini
- test cases added
- indentation and trace file fixes
2019-05-28 22:07:46 -07:00
sramamoorthy
69edefe68b
Snapshot based backup and resotre implementation
2019-05-28 22:07:46 -07:00
Austin Seipp
ee1e3f620a
cmake: add support for choosing 'ld' via -DUSE_LD
...
This introduces a new USE_LD cached variable which can be set to one of
three values: LD, GOLD, or LLD. In the latter two cases, we propagate
the -fuse-ld={gold,lld} option to the compiler. The default case
defaults to whatever the ordinary system linker is, i.e. it does
nothing.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-15 08:33:36 -10:00
mpilman
69fa3d3903
fixed compilation issues after rebase
2019-05-13 14:15:23 -07:00
mpilman
8bbd28315e
Added Object serializer (does not yet compile)
2019-05-13 14:15:22 -07:00
mpilman
57db135858
Use productbuild instead of PackageMaker on MacOS
...
fixes #1547
fixes #1549
2019-05-11 14:42:48 -07:00
Evan Tschannen
22499666d0
Merge branch 'release-6.1'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbserver/LogRouter.actor.cpp
# flow/Trace.cpp
# versions.target
2019-05-08 18:19:35 -07:00
Austin Seipp
084c049e64
cmake: require mcs, not dmcs, and drop dmcs support
...
dmcs was noted as deprecated in its startup message script many years
ago (2016), and dmcs itself was *actually* deprecated even years before
that -- 'dmcs' itself only executes 'mcs' with the .NET 4.0 SDK enabled
anyway.
Since CMake will be the new primary build system, let's go ahead and
drop support for dmcs entirely in this setup.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-07 16:57:56 -10:00