history-tools icon indicating copy to clipboard operation
history-tools copied to clipboard

No rocksdb in build. Removed from CMake

Open Thomas55777 opened this issue 5 years ago • 3 comments

It appears in commit 70407e8c4d2e1f69046502764f3f550afb9cb633 rocksdb (combo-rocksdb and fill-rocksdb) were removed from the CMake build. Does the history plugin no longer support rocksdb in favor of postgres? Will there be a new history method for EOSIO_v2?

Please see: Commit_Here

Thomas55777 avatar Feb 18 '20 04:02 Thomas55777

Both wasm-ql and rocksdb support are under active development in the idea branch.

tbfleming avatar Feb 18 '20 14:02 tbfleming

I am follow all the steps from build Ubuntu 18.04 except I am using the idea branch, but no build.ninja file is created. Is there a different way I should be building from idea?

This is what I am doing

git clone --recursive https://github.com/EOSIO/history-tools.git cd history-tools git checkout idea mkdir build cd build cmake -GNinja -DCMAKE_CXX_COMPILER=clang++-8 -DCMAKE_C_COMPILER=clang-8 .. bash -c "cd ../src && npm install node-fetch" ninja

ninja: error: loading 'build.ninja': No such file or directory

Thomas55777 avatar Mar 19 '20 19:03 Thomas55777

cmake has a bug that causes it to silently ignore -GNinja if it didn't find ninja when you built cmake from cmake-3.x.y.tar.gz.

tbfleming avatar Mar 19 '20 20:03 tbfleming