Congyuwang / RocksDict

Python fast on-disk dictionary / RocksDB & SpeeDB Python binding
https://congyuwang.github.io/RocksDict/rocksdict.html
MIT License
173 stars 8 forks source link

How can I build RocksDict from source? #83

Closed linqy71 closed 10 months ago

linqy71 commented 10 months ago

How can I build RocksDict from source? As I modified Rocksdb and I wanted to link my local Rocksdb to RocksDict. Thanks.

Congyuwang commented 10 months ago

Certainly you can. But it probably requires some work. Currently this repo relies on rust-rocksdict which has a submodule to Meta's C++ rocksdb repo. You can change the rocksdb repo to your own, and perhaps do some adjustments to make compilation work.

Congyuwang commented 10 months ago

To build directly upon this current library (without modifying rocksdb). Use maturin build --release is enough for producing wheels.