mirror of
https://github.com/facebook/sapling.git
synced 2024-12-27 23:22:02 +03:00
cd5b4b6d92
Summary: This diff enables building the eden watcher by linking in thrift and its various dependencies. To support building in-fbsource and in the github repo, a `maybe_shipit_dir` function is used to setup a symlink to the `eden` and `fboss/common` dirs (this mirrors the shipit configuration for this project: we cannot simply run shipit because we have to build on mac and windows and shipit requires Hack, and that does not support those platforms). I tried to persuade cmake to let me build this without the use of a symlink but found it too difficult to teach everything about the path mapping. The symlinks aren't terrible, but are the reason why this diff also updates some `.gitinore` files that are seemingly unrelated to this diff. This diff changes a couple of build/link options: without them the end product fails to link either due to implicit/unilateral enablement of UBSAN in some of the deps, or because warning->error promotion is turned on. This diff includes a copy of the `ThriftCppLibrary.cmake` file from the fboss repo. This should get centralized and shipit'ed out into the places that consume it. That can be done when someone gets around to doing the same for the `FindGlog.cmake` file and doesn't need to hold up this diff. Reviewed By: simpkins Differential Revision: D13486486 fbshipit-source-id: 3bb5b011771b2a87618147ca019b4e50a8e0aaf2 |
||
---|---|---|
.. | ||
fb303 | ||
logging | ||
network/if | ||
stats | ||
time | ||
.gitignore | ||
CMakeLists.txt | ||
README.md |
This directory mostly contains stub implementations of Facebook libraries that are not fully open source yet. These stubs allow the FBOSS code to build while we are still working on fully open sourcing these libraries.
The code in common/stats is the main piece that is not fully open source yet. We are working to eventually make all of this code available in the facebook/folly repository.