Alex Miller
f040694bf0
Make ctest use --crash when running simulation tests.
...
So that tests with ASSERTion failures don't cause CI to run slow and
produce massive logs. There's also rarely a reason to continue through
assertion failures.
2020-05-05 03:11:09 -07:00
Alex Miller
ce19156afd
Merge pull request #2909 from mpilman/bugfixes/cmake-includes
...
don't include source and binary dir
2020-05-04 14:08:25 -07:00
Markus Pilman
3d1d46b129
simplified further
2020-05-04 10:47:24 -07:00
Markus Pilman
3aebb5e028
removed unused code
2020-05-04 10:45:56 -07:00
Markus Pilman
d9701f354d
Merge remote-tracking branch 'origin/master' into bugfixes/deb-dir-structure
2020-05-04 10:44:25 -07:00
Alex Miller
78d644f673
Merge branch 'master' into bugfixes/cmake-includes
2020-05-04 02:11:46 -07:00
Dave Cottlehuber
d7fe80b612
cmake: add dtrace toggle
2020-04-30 20:11:26 +00:00
Dave Cottlehuber
99d6e9497b
cmake: skip OpenJDK on FreeBSD
2020-04-30 18:11:23 +00:00
A.J. Beamon
1bcbb98656
Merge pull request #3040 from vishesh/issue-3029
...
cmake: Copy generated files to bindingtester bundle
2020-04-30 08:15:13 -07:00
Alex Miller
a76ac2df77
Merge pull request #3030 from atn34/atn34/openssl-cmake
...
Don't config TLS if OpenSSL is missing OPENSSL_INIT_NO_ATEXIT
2020-04-30 00:56:22 -07:00
Evan Tschannen
519ac70a2a
Revert "Enable -Wclass-memaccess and fix warnings"
2020-04-29 15:51:29 -07:00
Andrew Noyes
27043ee92f
Update cmake/FDBComponents.cmake
...
Co-Authored-By: Markus Pilman <markus@pilman.ch>
2020-04-29 15:45:33 -07:00
Andrew Noyes
05614d33cc
Add include(CheckSymbolExists)
2020-04-29 22:16:43 +00:00
Andrew Noyes
7659b1bff6
Use check_symbol_exists
2020-04-29 15:11:35 -07:00
Andrew Noyes
c62a4aef97
Upgrade TLS symbol not found message to WARNING
2020-04-29 15:06:02 -07:00
Evan Tschannen
ddb8515b89
Merge pull request #3042 from mpilman/features/filter-correctness-tests
...
Added possibility to include and exclude tests
2020-04-29 10:43:41 -07:00
Evan Tschannen
d5f9f16f29
Merge pull request #3031 from atn34/atn34/ubuntu-latest
...
Support compiling and packaging on ubuntu latest
2020-04-29 10:41:27 -07:00
Evan Tschannen
6156042f67
Merge pull request #3017 from tclinken/enable-wclass-memaccess
...
Enable -Wclass-memaccess and fix warnings
2020-04-29 10:38:59 -07:00
Evan Tschannen
31dd5af49c
Merge pull request #3001 from mpilman/bigfixes/source-dir-cleanup
...
Don't create package directories in source dir
2020-04-29 10:35:00 -07:00
Vishesh Yadav
fab4d698dc
build: Add JAR and Go's _stacktester to bindingtester bundle
2020-04-29 00:10:18 -07:00
Vishesh Yadav
17221b3e9a
cmake: Copy generated files to bindingtester bundle
...
Source generated by vexilographer were not copied into bindingtester. This patch
manually adds those files in `cmake/AddFdbTest.cmake`, since there doesn't seem
to be any easy way to make bindingtester script know about these generated
files (except copying these files to source directory).
FIXES #3029
2020-04-29 00:10:18 -07:00
Markus Pilman
50ad4a33fe
Added possibility to include and exclude tests
...
Description
Testing
2020-04-28 16:19:04 +00:00
Andrew Noyes
0a8474e995
Install /var/lib/foundationdb/data
...
This is what the old buildrpms.sh and builddebs.sh seemed to do
2020-04-26 20:53:41 +00:00
Andrew Noyes
fee9a5117f
Don't config TLS if OpenSSL is missing OPENSSL_INIT_NO_ATEXIT
2020-04-25 17:59:17 -07:00
Andrew Noyes
50592d58fd
Fix botched merge
2020-04-25 03:33:23 +00:00
Steve Atherton
a345e4b7fe
Merge pull request #3003 from atn34/atn34/fix-incr-compilation
...
Depend on actorcompiler.exe
2020-04-24 18:09:21 -07:00
Andrew Noyes
1a71062ea9
Support compiling/running with thread sanitizer
2020-04-25 00:26:50 +00:00
Markus Pilman
e870925b80
fixed documentation for USE_LD
2020-04-23 14:37:20 -07:00
Markus Pilman
b313e63a77
another MacOS fix
2020-04-23 13:11:09 -07:00
tclinken
2049b3802a
Only use -Wclass-memaccess when compiling C++ files
2020-04-23 12:42:26 -07:00
Markus Pilman
b58b035871
next attempt for fixing macos build
2020-04-23 12:33:18 -07:00
Markus Pilman
430cf4dbaa
don't explicitely set `LLD` on MacOS
2020-04-23 12:29:36 -07:00
Markus Pilman
159b97517b
Chose sensible compiler defaults
2020-04-23 12:24:12 -07:00
tclinken
b1f525583a
Added -Wclass-memaccess compiler option and fixed warnings
2020-04-22 21:53:42 -07:00
Markus Pilman
f571564db6
Attempted to fix debian directory structure
2020-04-22 16:29:28 -07:00
Andrew Noyes
a4434de4e8
Depend on actorcompiler.exe
...
Fixes #2985
This was originally done in 0443cf89ea
,
and removed in 75f692b931
, but I'm
not sure why it was removed. I'm guessing it was a botched merge
2020-04-22 12:12:48 -07:00
Markus Pilman
3024162196
Don't create package directories in source dir
...
This fixes one part of #2973
2020-04-22 11:55:26 -07:00
Andrew Noyes
9afa3545b5
Prevent server and clients rpm's from conflicting
...
Before, the file /etc/foundationdb conflicted between the server and
clients package, and /usr/lib64/cmake and /usr/lib64/pkgconfig
conflicted with some system packages.
2020-04-16 22:00:49 +00:00
mpilman
7aa030a850
fix weird typo
2020-04-13 21:08:48 -07:00
mpilman
f0ab168368
attempt on fixing make bug
2020-04-13 20:34:09 -07:00
Markus Pilman
e004d912bd
Also depend on Joshua scripts
2020-04-10 18:23:29 -07:00
Markus Pilman
4b5fdef976
fix correctness dependencies
2020-04-10 18:16:52 -07:00
Markus Pilman
a3b5efe6eb
suppress weird ccache warning with clang
2020-04-10 10:08:24 -07:00
Markus Pilman
ceab4374cf
statically link libc++
2020-04-09 14:16:14 -07:00
Markus Pilman
8b5780c36c
don't include source and binary dir
...
This forces users to use include paths from the sources root.
So `#include "Arena.h"` won't work anymore, only
`#include "flow/Arena.h"` will.
2020-04-06 10:13:49 -07:00
Markus Pilman
bbd2fe62cc
Merge branch 'master' of github.com:apple/foundationdb into features/boost70
2020-04-02 09:21:01 -07:00
Alvin Moore
cbcd0abdc0
Fixed the creation of binding test package
2020-03-31 18:40:25 -07:00
Markus Pilman
6e87770b27
Update cmake/CompileBoost.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-31 16:52:55 -07:00
Markus Pilman
95fc5ae4ec
Introduce `set_env` function
...
This makes it easier to handle environment variables in cmake.
It also reduces the code needed to check whether variables are correct
2020-03-27 15:44:55 -07:00
Markus Pilman
28cd38913d
Merge branch 'master' of github.com:apple/foundationdb into features/boost70
2020-03-27 13:44:10 -07:00
Markus Pilman
644e0ff30b
Use full version string in package names
2020-03-27 09:47:37 -07:00
Markus Pilman
0f224ead7a
fixed formatting
2020-03-27 09:38:20 -07:00
Markus Pilman
c5191f5c51
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:57 -07:00
Markus Pilman
ce318c18fa
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:46 -07:00
Markus Pilman
893a38008c
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:38 -07:00
Markus Pilman
55e5d5b4d9
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:30 -07:00
Markus Pilman
def7f39328
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:08 -07:00
Markus Pilman
ac9f79116e
Build bindingtester
2020-03-26 16:01:58 -07:00
Markus Pilman
99e4bb92c0
Generate valgrind tar file for Joshua
2020-03-26 14:02:21 -07:00
Markus Pilman
c095d26830
include joshua scripts
2020-03-26 13:52:18 -07:00
Markus Pilman
e8c41e3f82
fixed strip_target dependencies
2020-03-26 13:45:22 -07:00
Markus Pilman
74f21c831c
fixed correctness tar name
2020-03-26 13:45:12 -07:00
mpilman
7fe56ccb00
always build correctnes package
2020-03-25 18:01:08 -07:00
mpilman
ce6c4cb8d8
Build and package TestHarness
2020-03-25 17:36:47 -07:00
Andrew Noyes
0539ca55d8
Update cmake VALGRIND defs to match Makefile
2020-03-03 13:41:37 -08:00
A.J. Beamon
083e3f38f3
Merge pull request #2688 from schedutron/py3doc-cmake
...
Have CMake build docs with Python3
2020-02-24 11:53:41 -08:00
Evan Tschannen
96258b9809
Merge branch 'release-6.2'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbcli/fdbcli.actor.cpp
# fdbclient/ManagementAPI.actor.cpp
# fdbrpc/FlowTransport.actor.cpp
# fdbserver/ClusterController.actor.cpp
# fdbserver/DataDistribution.actor.cpp
# fdbserver/DataDistribution.actor.h
# fdbserver/DataDistributionQueue.actor.cpp
# fdbserver/KeyValueStoreMemory.actor.cpp
# fdbserver/MasterProxyServer.actor.cpp
# fdbserver/QuietDatabase.actor.cpp
# fdbserver/SkipList.cpp
# fdbserver/StorageMetrics.actor.h
# fdbserver/TLogServer.actor.cpp
# fdbserver/fdbserver.actor.cpp
# fdbserver/storageserver.actor.cpp
# fdbserver/workloads/KVStoreTest.actor.cpp
# flow/CMakeLists.txt
# flow/Knobs.cpp
# flow/Knobs.h
# flow/genericactors.actor.cpp
# flow/serialize.h
2020-02-21 19:09:16 -08:00
Alvin Moore
3354e6b278
Enabled TLS for CMake Mac builds
...
Disabled TLS for CMake Windows builds
2020-02-21 11:23:51 -08:00
Saurabh Chaturvedi
2707c91073
Find Interpreter Component for Python3
...
Co-Authored-By: Markus Pilman <markus@pilman.ch>
2020-02-21 12:18:35 +05:30
Saurabh Chaturvedi
b5f63f3c88
Check for Python3_Interpreter_FOUND instead of Python3_FOUND
...
Co-Authored-By: Markus Pilman <markus@pilman.ch>
2020-02-21 12:17:16 +05:30
Evan Tschannen
f04e311a1e
Merge commit 'b46d6e25e24993ab5a5f04091fd3235050b7cd09' into feature-boost-ssl
...
# Conflicts:
# fdbserver/SimulatedCluster.actor.cpp
# flow/Net2.actor.cpp
2020-02-20 17:36:38 -08:00
Alex Miller
41afeb245e
Temporarily disable TLS on OSX
2020-02-20 17:03:16 -08:00
Alex Miller
3bcecea30b
Fix the cmake build when neither SSL library is found.
2020-02-19 17:03:57 -08:00
Saurabh Chaturvedi
ed1458c834
Have CMake build docs with Python3
2020-02-17 19:30:03 +05:30
mpilman
c2ccbbadd8
Revert "Several fixes to make FDB compile with clang-cl"
...
This reverts commit 0e1f9efb85
.
2020-02-14 22:18:30 -08:00
Markus Pilman
0e1f9efb85
Several fixes to make FDB compile with clang-cl
2020-02-14 22:05:43 -08:00
mpilman
3a1e878a9b
Upgrade to boost 1.72
2020-02-14 18:10:13 -08:00
Alex Miller
d716c50000
Find OpenSSL or LibreSSL in CMake
2020-02-13 21:31:36 -08:00
Alex Miller
188b564dfb
Merge pull request #2147 from atn34/werror
...
Don't use -Werror by default
2020-02-13 18:35:57 -08:00
mpilman
5a9d420cb7
Merge remote-tracking branch 'upstream/release-6.2' into release-merges/20200210
2020-02-10 10:02:05 -08:00
mpilman
5c294e2646
Several build improvements - enables parallel builds on Windows (again)
2020-02-09 08:34:14 -08:00
mpilman
d09e07f1f5
Merge remote-tracking branch 'upstream/master' into features/icc
2020-02-04 10:26:18 -08:00
Andrew Noyes
a6b3a3ee47
Set USE_WERROR on build/docker-compose.yaml
2020-02-03 09:09:43 -08:00
Andrew Noyes
33132fe0ca
Set USE_WERROR to ON for gcc 8.3.1
2020-02-03 09:06:29 -08:00
Andrew Noyes
ffe617376c
Don't use -Werror by default
...
We'll still enforce that PR's are warning-free before they're merged.
2020-02-03 09:06:29 -08:00
Daniel Smith
9f1fda554c
Formatting
2020-01-28 21:32:56 -05:00
Daniel Smith
4ecf58adff
Apply suggestions from code review
...
Co-Authored-By: Markus Pilman <markus@pilman.ch>
2020-01-28 21:32:13 -05:00
Daniel Smith
b9de844ee7
Add link option specific to Clang
2020-01-28 12:51:05 -05:00
A.J. Beamon
62fc3bf084
Merge pull request #2558 from apple/release-6.2
...
Merge Release Into Master
2020-01-17 10:39:03 -08:00
Evan Tschannen
3f9d9d8b84
Merge branch 'release-6.2'
...
# Conflicts:
# CMakeLists.txt
# cmake/FlowCommands.cmake
# documentation/sphinx/source/release-notes.rst
# fdbclient/StorageServerInterface.h
# fdbserver/DataDistributionTracker.actor.cpp
# fdbserver/MasterProxyServer.actor.cpp
# fdbserver/fdbserver.actor.cpp
# flow/Knobs.h
# flow/Platform.cpp
# versions.target
2020-01-16 18:37:47 -08:00
mpilman
9095a8b151
make dependencies explicit
2020-01-16 14:40:29 -08:00
Alvin Moore
0ed6875f0e
Removed debug file
2020-01-15 06:43:48 -08:00
Alvin Moore
ae7e8cbcba
Fixed syntax
2020-01-15 02:51:16 -08:00
Alvin Moore
76c8a93cac
Add check for file existence before stripping
...
Added storing of debug infomratio
2020-01-15 02:29:34 -08:00
Alvin Moore
06e7bc061d
Merge pull request #2500 from apple/release-6.2
...
Merge Release 6.2 Into Master
2019-12-23 15:00:34 -08:00
Alvin Moore
6acf04bb72
Ensured that the cmake variable is always initialized/set to some value when compared and thereby has an expected value
2019-12-23 11:50:01 -08:00
Alvin Moore
93c1810ad8
Merge pull request #2496 from apple/release-6.2
...
Merge Release 6.2 Into Master
2019-12-23 10:17:23 -08:00
Alvin Moore
325d553973
Set the package release version based on if the build is a release package or not like the make builds
2019-12-23 02:42:02 -08:00
Alvin Moore
3ce3e1e06e
Changed the name of the rpm packages to conform to the existing names when building release project
2019-12-22 20:11:40 -08:00
Alvin Moore
c0614bc037
Merge pull request #2492 from apple/release-6.2
...
Release 6.2 Merge Into Master
2019-12-20 15:21:33 -08:00