Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate RocksDB Jar from cmake file #262

Open
rupest opened this issue May 12, 2023 · 1 comment
Open

Generate RocksDB Jar from cmake file #262

rupest opened this issue May 12, 2023 · 1 comment

Comments

@rupest
Copy link

rupest commented May 12, 2023

Hi,

i am trying to build rocksdb-cloud source code on Linux using existing makefile provided with source code at below location -

https://github.com/rockset/rocksdb-cloud/Makefile

i tried below command -

make rocksdbjava

After completion ,In target folder i can see resulting dynamic libraries( .so ) files along with jar file.

When i try to build source code with cmake file using below command -

cmake ../rocksdb-cloud -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DWITH_AWS=1 -DWITH_GFLAGS=1 -DWITH_SNAPPY=1 -DWITH_LZ4=1 -DWITH_ZLIB=1 -DWITH_ZSTD=1 -DWITH_JNI=1 -DUSE_RTTI=1

i can see resulting dynamic libraries( .so ) files but i am not able to see rocksdb-cloud jar with cmake command.

can you please provide exact changes to generate rocksdb-cloud jar file using cmake command.

Regards-
Rupesh

@mrambacher
Copy link
Collaborator

Have you tried this with "vanilla RocksDB" and, if so, does it work?

I have not tried to build Java via CMAKE, but would guess the RocksDB community might be able to help. My guess is that this is not an issue specific to RocksDB-Cloud

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

No branches or pull requests

2 participants