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
main
parent
3573558ec5
commit
8b1df101da
Loading…
Reference in new issue