Commit Graph

352 Commits

Author SHA1 Message Date
Daniel Smith c7532f3b55 Use a consistent compiler for Rocks and FDB 2020-07-29 21:41:00 +00:00
Andrew Noyes 1d22a21510 Revert "temporarily disable compiler warnings"
This reverts commit 29142fa382.
2020-07-28 17:19:52 +00:00
Evan Tschannen 29142fa382 temporarily disable compiler warnings 2020-07-24 12:37:15 -07:00
Evan Tschannen d3093f50bb attempt to get rid of compiler warnings 2020-07-24 12:24:42 -07:00
Evan Tschannen e1dedff7b3 Merge branch 'release-6.2' into release-6.3
# Conflicts:
#	CMakeLists.txt
#	bindings/c/test/mako/mako.c
#	cmake/ConfigureCompiler.cmake
#	documentation/sphinx/source/downloads.rst
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/FileBackupAgent.actor.cpp
#	packaging/msi/FDBInstaller.wxs
#	versions.target
2020-07-24 12:10:44 -07:00
Meng Xu ea48975c6e
Merge pull request #3492 from ajbeamon/merge-release-6.2-into-release-6.3
Merge release 6.2 into release 6.3
2020-07-13 10:02:13 -07:00
A.J. Beamon b09dddc07e Merge branch 'release-6.2' into merge-release-6.2-into-release-6.3
# Conflicts:
#	cmake/ConfigureCompiler.cmake
#	documentation/sphinx/source/downloads.rst
#	fdbrpc/FlowTransport.actor.cpp
#	fdbrpc/fdbrpc.vcxproj
#	fdbserver/DataDistributionQueue.actor.cpp
#	fdbserver/Knobs.cpp
#	fdbserver/Knobs.h
#	fdbserver/LogSystemPeekCursor.actor.cpp
#	fdbserver/MasterProxyServer.actor.cpp
#	fdbserver/Status.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	flow/flow.vcxproj
2020-07-10 15:06:34 -07:00
Andrew Noyes f077d9889b Fix osx build 2020-07-10 09:46:32 -07:00
Andrew Noyes 6446b4c082 WIP 2020-07-09 22:02:43 +00:00
Russell Sears 4ce51c4cce
Merge pull request #2768 from atn34/atn34/arena-cpp
Check for memory errors in arena-allocated memory
2020-07-06 09:43:28 -07:00
Andrew Noyes 42159ccfe0 Add -Wpessimizing-move and -Wredundant-move for clang 2020-06-22 23:45:03 +00:00
A.J. Beamon 970c6d02be Fix: correctness packages included removed/future tests 2020-06-18 15:59:08 -07:00
Daniel Smith 2d1bbfd067
Fix typo 2020-06-11 14:50:48 -04:00
Daniel Smith bb1f56fdb0 Merge branch 'rocksdb-build' of github.com:Daniel-B-Smith/foundationdb into rocksdb-build 2020-06-11 15:27:42 +00:00
Daniel Smith eedf0cb7a6 Don't build shared RocksDB 2020-06-11 15:27:36 +00:00
Daniel Smith 1a1d45cab5 Fix ninja build 2020-06-10 22:37:03 +00:00
Daniel Smith 31db90963d factor out duplicate include directories 2020-06-10 21:45:40 +00:00
Daniel Smith 9b3a5f8e13
Fix typo
Co-authored-by: Markus Pilman <markus.pilman@snowflake.com>
2020-06-10 17:34:00 -04:00
Daniel Smith 49562c2de3 Merge branch 'rocksdb-build' of github.com:Daniel-B-Smith/foundationdb into rocksdb-build 2020-06-10 21:29:39 +00:00
Daniel Smith 8c00b391da Merge remote-tracking branch 'upstream/release-6.3' into rocksdb-build 2020-06-10 21:29:20 +00:00
Daniel Smith dae91bb05f Add RocksDB to FDBComponents.cmake 2020-06-10 21:07:49 +00:00
Daniel Smith b8ac6ee41e Get build to work with Ninja 2020-06-10 20:53:53 +00:00
Daniel Smith 8d2007cd82 Delete debugging message 2020-06-08 20:20:10 +00:00
Daniel Smith 8190329ab8 Disable the install step 2020-06-08 17:00:18 +00:00
Daniel Smith c54ad12072 Incremental improvements 2020-06-08 16:46:42 +00:00
Daniel Smith c836a9f5a9 Add RocksDB to build Dockerfile and CMake to build RocksDB 2020-06-08 16:22:28 +00:00
Daniel Smith aa9d30a111 Build RocksDB as an external package 2020-06-05 22:58:45 +00:00
A.J. Beamon ac19ba19b8
Merge pull request #3218 from ajbeamon/support-correctness-with-valgrind
Normal correctness package can be built when USE_VALGRIND is on
2020-06-01 09:10:25 -07:00
Evan Tschannen 6fe054cd1a
Merge pull request #3253 from ajbeamon/backport-generate-debug-packages-flag
Backport the GENERATE_DEBUG_PACKAGES flag to 6.2
2020-05-29 11:34:58 -07:00
A.J. Beamon 57390bfbc5
Merge pull request #3263 from apple/release-6.2
Merge release-6.2 into release-6.3
2020-05-28 14:14:38 -07:00
A.J. Beamon b0f3754fbb Fix whitespace 2020-05-28 12:42:57 -07:00
A.J. Beamon 382666d21e Permissions were wrong on installed files. A missing DESTINATION for fdbserver caused the binary to be missing. 2020-05-28 10:33:09 -07:00
A.J. Beamon 0e7e9390d2 Backport the GENERATE_DEBUG_PACKAGES flag to 6.2 2020-05-27 19:13:09 -07:00
A.J. Beamon f9d96225ab Use add_custom_command instead of file(COPY ...) when copying external files into correctness packages 2020-05-27 11:34:15 -07:00
A.J. Beamon cb119c76d7
Don't use non-existent variables
Co-authored-by: Markus Pilman <markus.pilman@snowflake.com>
2020-05-27 10:25:13 -07:00
A.J. Beamon 9656542cca Create the bin directory in the correctness staging directories 2020-05-22 10:10:34 -07:00
Daniel Smith 5d361fe532 Copy/paste rebase onto 6.3 2020-05-22 15:02:51 +00:00
A.J. Beamon 56e14a25fe Normal correctness package can be built when USE_VALGRIND is on. Correctness and valgrind now stage their files in separate directories. Add CMakeCache.txt to testing packages. 2020-05-21 13:35:54 -07:00
Andrew Noyes 1448d1b214 Don't check for c11 atomics on windows
We don't need it. We don't even compile eio.c on windows apparently.
2020-05-20 21:50:57 +00:00
Andrew Noyes 6289342908 Revert "Revert "Improve build-from-source user experience""
This reverts commit a7e2fe21a7.
2020-05-20 21:26:05 +00:00
A.J. Beamon a7e2fe21a7
Revert "Improve build-from-source user experience" 2020-05-20 12:37:51 -07:00
Andrew Noyes 55f0b13fe9 Require c11 atomics
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)

apparently is not enough, and gcc 4.8.5 e.g. passes whatever checks are
done for the above but doesn't support c11 atomics. Let's just check for
them explicitly.
2020-05-18 16:30:12 +00:00
Andrew Noyes 747243e9cb Set CMAKE_{C,CXX}_STANDARD_REQUIRED ON 2020-05-18 16:14:43 +00:00
Andrew Noyes b5ef0eab10 Enforce no static libcxx with tsan 2020-05-13 22:44:43 +00:00
Andrew Noyes cdc16a8610 Disable static linking for tsan 2020-05-13 20:54:36 +00:00
Kao Makino c2e80fe47b Linux aarch64 port 2020-05-09 22:14:03 +00:00
A.J. Beamon 0be453de0a
Merge pull request #3026 from atn34/atn34/tsan
Add USE_TSAN and fix some data races
2020-05-07 18:06:18 -07:00
Andrew Noyes 202129d5a7 Require c11 support for our c compiler 2020-05-07 23:45:19 +00:00
Andrew Noyes e772f3a3f1 Separate knob to control valgrind arena instrumentation 2020-05-07 22:07:33 +00:00
Alex Miller 378951360d
Merge pull request #3086 from alexmiller-apple/ctest-use-crash
Make ctest use --crash when running simulation tests.
2020-05-05 12:49:21 -07:00