-
Notifications
You must be signed in to change notification settings - Fork 30
Use static rocksdb linkage on Mac [ECR-3324] #1011
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
Changes from 1 commit
4451c39
8a6a12a
23428f7
7b66c71
e391901
a925080
c9022d9
668ca8f
db3ed9b
dced53d
a6775e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,13 @@ function build-exonum-java-for-platform() { | |
} | ||
|
||
function build-exonum-java-macos() { | ||
# We use static linkage for RocksDB on Mac | ||
export ROCKSDB_STATIC=1 | ||
# Check if ROCKSDB_LIB_DIR is set | ||
if [ -z "${ROCKSDB_LIB_DIR:-}" ]; then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need these variables? It's always the same There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're not requiring this from users, because our users will use the Homebrew package 😉 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mb it'll be better to replace by the following (in pseudo-code):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. actually, you can use a specific version of the rocksdb and use general path for snappy:
|
||
echo "Please set ROCKSDB_LIB_DIR" | ||
exit 1 | ||
fi | ||
build-exonum-java-for-platform "@loader_path" "libjava_bindings.dylib" | ||
} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.