rocksdb/buckifier
Yanqin Jin d6cd5d1e3c Add a rocksdb lib target with link_whole=True (#7466)
Summary:
We would like to build a shared library with all fbcode dependencies statically linked within.
This resulting .so should not drop any symbols definitions in the building process.
To ensure that, we use `link_whole=True` according to
https://buck.build/rule/cxx_library.html#link_whole.
Since `link_whole` is `False` by default, adding a `link_whole=False` to existing libraries won't
change any behavior.

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

Test Plan: build a .so and test internally.

Reviewed By: pdillinger

Differential Revision: D24009780

Pulled By: riversand963

fbshipit-source-id: d18804d495da7195ed72a2040e1a5de4fd336519
2020-10-05 11:26:16 -07:00
..
buckify_rocksdb.py Add a rocksdb lib target with link_whole=True (#7466) 2020-10-05 11:26:16 -07:00
check_buck_targets.sh Allow missing "unversioned" python, as in CentOS 8 (#6883) 2020-05-29 11:29:23 -07:00
rocks_test_runner.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
targets_builder.py Add a rocksdb lib target with link_whole=True (#7466) 2020-10-05 11:26:16 -07:00
targets_cfg.py Add a rocksdb lib target with link_whole=True (#7466) 2020-10-05 11:26:16 -07:00
util.py Make buckifier python3 compatible (#5922) 2019-10-23 13:52:27 -07:00