Skip to content

[feat] fix compile RocksDb issue - #1

Open
rhdong wants to merge 1 commit into
bashimao:rocksdb-backendfrom
rhdong:rhdong/bashmao_rocksdb-backend-dev
Open

rhdong wants to merge 1 commit into
bashimao:rocksdb-backendfrom
rhdong:rhdong/bashmao_rocksdb-backend-dev

Conversation

@rhdong

@rhdong rhdong commented Dec 24, 2021 •

Copy link
Copy Markdown
  • We require user install RocksDb and its Deps on local machine "/usr/local/lib/" directory firstly .
  • This's temporary and ugly method, for ideal method, we should download rocksDB on compiling time. I'll try, but before that, we can use this test the RocksDB function.

- We require user install RocksDb and its Deps on local machine.
- This's temporary and ugly method, for ideal method, we should download rocksDB on compiling time. I'll try, but before that, we can use this test the RocksDB function.
@rhdong
rhdong force-pushed the rhdong/bashmao_rocksdb-backend-dev branch 3 times, most recently from 33dd6e6 to a92d965 Compare January 19, 2022 03:01
copts = ["-Itensorflow_recommenders_addons/dynamic_embedding/core/lib/rocksdb/"],
deps = ["//tensorflow_recommenders_addons/dynamic_embedding/core/lib/rocksdb:rocksdb"],
linkopts = [
"-L/usr/local/lib/",

@rhdong rhdong Jan 29, 2022 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please pay attention to here. I resume, in build phrase, the RocksDB in this directory, but maybe not reasonable, please let know you opinion. I believe in running time, tfra will search RocksDB lib from LD_LIBRARY_PATH, is it right?

Comment thread WORKSPACE
"https://github.com/facebook/rocksdb/archive/refs/tags/v6.22.1.tar.gz",
],
)
#

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cancel the compile and install for RocksDB and copy the headers of Rocksdb to tensorflow_recommenders_addons/dynamic_embedding/core/lib/rocksdb/ and request users to guarantee their machine has RocksDB lib.

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

Successfully merging this pull request may close these issues.

1 participant