rocksdb/utilities/transactions/lock/range/range_tree/lib/portability
XieJiSS 8b1df101da fix: build on risc-v (#9215)
Summary:
Patch is modified from ~~https://reviews.llvm.org/file/data/du5ol5zctyqw53ma7dwz/PHID-FILE-knherxziu4tl4erti5ab/file~~

Tested on Arch Linux riscv64gc (qemu)

UPDATE: Seems like the above link is broken, so I tried to search for a link pointing to the original merge request. It turned out to me that the LLVM guys are cherry-picking from `google/benchmark`, and the upstream should be this:

808571a52f/src/cycleclock.h (L190)

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

Reviewed By: siying, jay-zhuang

Differential Revision: D34170586

Pulled By: riversand963

fbshipit-source-id: 41b16b9f7f3bb0f3e7b26bb078eb575499c0f0f4
2022-05-17 17:33:01 -07:00
..
memory.h Apply the changes from: PS-5501 : Re-license PerconaFT 'locktree' to Apache V2 (#7801) 2020-12-22 14:47:41 -08:00
toku_assert_subst.h Migrate away from Travis+Linux+amd64 (#7791) 2020-12-22 00:20:57 -08:00
toku_atomic.h Apply the changes from: PS-5501 : Re-license PerconaFT 'locktree' to Apache V2 (#7801) 2020-12-22 14:47:41 -08:00
toku_external_pthread.h Make EventListener into a Customizable Class (#8473) 2021-07-27 07:47:02 -07:00
toku_instrumentation.h Apply the changes from: PS-5501 : Re-license PerconaFT 'locktree' to Apache V2 (#7801) 2020-12-22 14:47:41 -08:00
toku_portability.h Apply the changes from: PS-5501 : Re-license PerconaFT 'locktree' to Apache V2 (#7801) 2020-12-22 14:47:41 -08:00
toku_pthread.h Fix compilation against musl lib C (#7875) 2021-01-21 08:39:42 -08:00
toku_race_tools.h Apply the changes from: PS-5501 : Re-license PerconaFT 'locktree' to Apache V2 (#7801) 2020-12-22 14:47:41 -08:00
toku_time.h fix: build on risc-v (#9215) 2022-05-17 17:33:01 -07:00
txn_subst.h LockTree library, originally from PerconaFT (#7753) 2020-12-09 12:10:57 -08:00