Revision c0c33a4854587e412742841f199edd4616be6c00 authored by Andrew Kryczka on 28 July 2020, 20:09:12 UTC, committed by Facebook GitHub Bot on 28 July 2020, 20:10:44 UTC
Summary:
`USE_LTO=1` in `make` commands now enables LTO. The archiver (`ar`) needed
to change in this PR to use a wrapper that enables the LTO plugin.

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

Test Plan:
build a few ways
```
$ make clean && USE_LTO=1 make -j48 db_bench
$ make clean && USE_CLANG=1 USE_LTO=1 make -j48 db_bench
$ make clean && ROCKSDB_NO_FBCODE=1 USE_LTO=1 make -j48 db_bench
```

Reviewed By: cheng-chang

Differential Revision: D22784994

Pulled By: ajkr

fbshipit-source-id: 9c45333bd49bf4615aa04c85b7c6fd3925421152
1 parent 83ea266
History
File Mode Size
CMakeLists.txt -rw-r--r-- 414 bytes
batched_ops_stress.cc -rw-r--r-- 13.0 KB
cf_consistency_stress.cc -rw-r--r-- 22.1 KB
db_stress.cc -rw-r--r-- 763 bytes
db_stress_common.cc -rw-r--r-- 8.6 KB
db_stress_common.h -rw-r--r-- 18.8 KB
db_stress_compaction_filter.h -rw-r--r-- 2.6 KB
db_stress_driver.cc -rw-r--r-- 5.1 KB
db_stress_driver.h -rw-r--r-- 727 bytes
db_stress_env_wrapper.h -rw-r--r-- 1.3 KB
db_stress_gflags.cc -rw-r--r-- 30.2 KB
db_stress_listener.h -rw-r--r-- 6.5 KB
db_stress_shared_state.cc -rw-r--r-- 1023 bytes
db_stress_shared_state.h -rw-r--r-- 14.1 KB
db_stress_stat.h -rw-r--r-- 6.4 KB
db_stress_test_base.cc -rw-r--r-- 82.9 KB
db_stress_test_base.h -rw-r--r-- 9.0 KB
db_stress_tool.cc -rw-r--r-- 10.8 KB
no_batched_ops_stress.cc -rw-r--r-- 28.0 KB

back to top