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 Migrate to docker for CI run (#10496) 2022-08-10 17:34:38 -07:00
amalgamate.py Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
benchmark_log_tool.py Run new benchmark script in branch. (#10303) 2022-07-25 14:44:10 -07:00
build_detect_platform Build and link libfolly with RocksDB (#10103) 2022-09-11 21:40:11 -07:00
check-sources.sh Fix bad include (#10213) 2022-06-20 17:42:01 -07:00
dependencies_platform009.sh Build and link libfolly with RocksDB (#10103) 2022-09-11 21:40:11 -07:00
dependencies_platform010.sh Upgrade development environment. (#9843) 2022-04-15 16:05:38 -07:00
dockerbuild.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
error_filter.py Enable txn in crash tests (#6155) 2019-12-11 16:01:55 -08:00
fb_compile_mongo.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
fbcode_config.sh Remove ROCKSDB_SUPPORT_THREAD_LOCAL define because it's a part of C++11 (#10015) 2022-05-18 15:25:19 -07:00
fbcode_config_platform009.sh Build and link libfolly with RocksDB (#10103) 2022-09-11 21:40:11 -07:00
fbcode_config_platform010.sh Remove ROCKSDB_SUPPORT_THREAD_LOCAL define because it's a part of C++11 (#10015) 2022-05-18 15:25:19 -07:00
format-diff.sh Remove Travis CI (#10407) 2022-07-22 20:16:45 -07:00
gnu_parallel Fix parallel test updates in CI; fbcode LIB_MODE=shared (#9553) 2022-02-14 09:07:03 -08:00
make_package.sh Use standard variables for installing/uninstalling with make (#7187) 2020-08-28 14:47:31 -07:00
regression_build_test.sh Remove deprecated API AdvancedColumnFamilyOptions::soft_rate_limit/hard_rate_limit (#9452) 2022-01-27 13:01:09 -08:00
run_ci_db_test.ps1 Fix remaining uses of "backupable" (#9792) 2022-04-05 09:52:33 -07:00
setup_centos7.sh Adding new build script for CentOS 7 (#6617) 2020-04-06 16:20:27 -07:00
update_dependencies.sh Upgrade development environment. (#9843) 2022-04-15 16:05:38 -07:00
version.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00