rocksdb/build_tools
anand76 be09943fb5 Build and link libfolly with RocksDB (#10103)
Summary:
The current integration with folly requires cherry-picking folly source files to include in RocksDB for external CI builds. Its not scaleable as we depend on more features in folly, such as coroutines. This PR adds a dependency from RocksDB to the folly library when ```USE_FOLLY``` or ```USE_COROUTINES``` are set. We build folly using the build scripts in ```third-party/folly```, relying on it to download and build its dependencies. A new ```Makefile``` target, ```build_folly```, is provided to make building folly easier.

A new option, ```USE_FOLLY_LITE``` is added to retain the old model of compiling selected folly sources with RocksDB. This might be useful for short-term development.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10103

Reviewed By: pdillinger

Differential Revision: D38426787

Pulled By: anand1976

fbshipit-source-id: 33bc84abd9fdc7e2567749f02aa1b2494eb62b2f
2022-09-11 21:40:11 -07:00
..
ubuntu20_image
amalgamate.py
benchmark_log_tool.py
build_detect_platform
check-sources.sh
dependencies_platform009.sh
dependencies_platform010.sh
dockerbuild.sh
error_filter.py
fb_compile_mongo.sh
fbcode_config.sh
fbcode_config_platform009.sh
fbcode_config_platform010.sh
format-diff.sh
gnu_parallel
make_package.sh
regression_build_test.sh
run_ci_db_test.ps1
setup_centos7.sh
update_dependencies.sh
version.sh