Summary:
Update the copyright & license headers in Python files to reflect the
relicensing to GPLv2
Reviewed By: wez
Differential Revision: D15487088
fbshipit-source-id: 9f2138dff41048d2c35f15e09a04ae5a9c9c80dd
Summary:
as above; this makes the build faster and makes us
slightly less sensitive to problems with building its tests.
Reviewed By: pkaush
Differential Revision: D14137089
fbshipit-source-id: 7edf4ac4a24bd90db55410363821f30635010627
Summary:
Make `build-oss.sh` actually run the cmake build.
At the moment this is only run from nbtd for mac platforms,
so that is all that I've tested with it.
This is similar to the the equivalent scripts for watchman.
In a later diff we can centralize and clean up the duplication.
Reviewed By: simpkins
Differential Revision: D13910031
fbshipit-source-id: 6a7250c22033e913d999cf928fed27dada0647ef
Summary:
There's nothing nice about this; the full set of kernel headers are
not installed with the binary distribution, and since the kernel distribution
has to be signed to be loaded on osx, there's no benefit to us building it
for ourselves.
This diff adds a nop builder and tweaks the cmake to point into the osxfuse
repo.
The osxfuse repo aggregates a couple of related repos using the git
submodule feature, so trigger that from getdeps.py too.
Reviewed By: strager
Differential Revision: D13480148
fbshipit-source-id: 84e09a86f6a83f83ffd1e3fe113dc7b15b3ea208
Summary:
this causes getdeps.py to successfully finish building the deps for
eden on a mac.
I'll follow-up to try to get eden building on top of this.
Reviewed By: simpkins
Differential Revision: D4676073
fbshipit-source-id: 303aa44137b56d1884093c26f8f4836c968aed69
Summary: We only need the libraries, so skip building the examples and benchmarks.
Reviewed By: strager
Differential Revision: D12813740
fbshipit-source-id: 03b60da4acefbb22e616d234368f440ecc2ee046
Summary:
Rename the `--install-deps` argument to `--system-deps`, to make it more clear
that this installs dependencies available from the underlying operating
system.
Reviewed By: strager
Differential Revision: D12813743
fbshipit-source-id: 63f9f8f2614d970dee5f0b21bd5f1a8323af786d
Summary:
For the open source build, pass `-DBUILD_TESTS=OFF` to `cmake` when building
`folly` and `wangle` but not all CMake-based builds. This setting is used by
the build files for folly and wangle, but not by all CMake projects in
general.
This shouldn't make any functional difference, but it avoids some warnings in
the build output when building projects that do not use this setting.
Reviewed By: wez
Differential Revision: D10503903
fbshipit-source-id: fb0fa363864fee625f1f547dc19a887db55186a0
Summary:
On Ubuntu systems libzstd-dev is available through `apt-get`, so change
`getdeps.py` to install it that way rather than building it from a clone of
the github repository. Building it locally produces some build warnings for
other projects that use `zstd` if they can find it both via `external/install`
and via the system library paths.
Reviewed By: chadaustin
Differential Revision: D10503907
fbshipit-source-id: 93129c39a9ee21f835ff9a87d9569b496324ec43
Summary:
Update getdeps.py to also remove the external/install directory when cleaning
out the external projects. This is needed to make sure that the install
directory does not still contain older installed versions of some of the
project files before we start rebuilding.
Reviewed By: strager
Differential Revision: D10436527
fbshipit-source-id: 50b44ec2d562d025162fecfe977e5fc24dc0af13
Summary:
Our CMake-based build had gotten somewhat out of date. This fixes several
issues that were preventing it from building:
- wangle now depends on fizz, which in turn depends on libsodium
- fbthrift now depends on yarpl for the streaming functionality
- Eden now depends on libsqlite3
- The eden/fs/inode library now depends on eden/fs/config
Reviewed By: strager
Differential Revision: D10436531
fbshipit-source-id: f41065da2edb909e8eb94e03d0e62ae19ad3a84f
Summary:
Rocksdb default build does not include snappy support.
Eden needs it. Therefore enable it when building rocksdb.
Reviewed By: bolinfest
Differential Revision: D9029273
fbshipit-source-id: e2b702f1f2f46984d80afe79f609a2c32ee8dd5e
Summary: Mostly empty lines removed and added. A few bugfixes on excessive line splitting.
Reviewed By: cooperlees
Differential Revision: D8198776
fbshipit-source-id: 4361faf4a2b9347d57fb6e1342c494575f2beb67
Summary:
This is stacked on top of Black 18.5b0.
allow-large-files
Reviewed By: carljm
Differential Revision: D8061834
fbshipit-source-id: 92e3645e159b60d77cf7e0bec64a8262ca4e88c2
Summary: Eden also depends on cpptoml for config files these days.
Reviewed By: wez
Differential Revision: D7786127
fbshipit-source-id: d220773a6a09959a4a1007f4c246dcb0ef371aa9
Summary:
Update getdeps.py to install all of the external projects into the
external/install directory after building them. This makes it easy for
projects to find their dependencies simply by pointing CMAKE_PREFIX_PATH at
external/install.
Reviewed By: wez
Differential Revision: D7786124
fbshipit-source-id: bfdc0cd6b225eb06a4c98c336f514509ad34b3c9
Summary:
Add an option to getdeps.py to have it clean build artifacts from the
third-party dependency repositories, so we guarantee that we rebuild
everything.
This behavior is now enabled by default when updating the repositories. The
external projects generally rebuild themselves correctly when their own source
files have changed, but they normally do not rebuild correctly if projects they
depend on have changed.
Reviewed By: wez
Differential Revision: D7786126
fbshipit-source-id: b86f773e42e591821123b9bfd8a3455ded186ad6
Summary:
Confirm that we are running on an Ubuntu system before trying to install
dependencies with `apt-get`. This provides the framework for supporting other
platforms and distributions in the future, but we still only know how to
install dependencies on Ubuntu distributions for now.
Reviewed By: wez
Differential Revision: D7786125
fbshipit-source-id: e5e4d2f690d6872fff850de8932a3843967f9583
Summary: D6161089 removes autoconf support in fbthrift. So let's switch to cmake.
Reviewed By: wez
Differential Revision: D6675252
fbshipit-source-id: 5d04d3e285f80aec4ce3b566c5046c6f2c3d76b1
Summary:
Replace the hacky getdeps.sh shell script added in D4633747 with a slightly
less hacky python version. In the future we could potentially split this up
into a generic library module and an eden-specific piece, so that it could be
more easily shared with other projects (such as fboss).
Reviewed By: bolinfest
Differential Revision: D4665160
fbshipit-source-id: 627d34d10ca1119c302a67974324784122b67c8b