Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

No rocksdb in build. Removed from CMake #71

Open
Thomas55777 opened this issue Feb 18, 2020 · 3 comments
Open

No rocksdb in build. Removed from CMake #71

Thomas55777 opened this issue Feb 18, 2020 · 3 comments

Comments

@Thomas55777
Copy link

It appears in commit 70407e8 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

@tbfleming
Copy link
Contributor

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

@Thomas55777
Copy link
Author

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

@tbfleming
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants