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

Static link rocksdb with Nimbus. #2084

Merged
merged 6 commits into from Mar 28, 2024
Merged

Conversation

web3-developer
Copy link
Contributor

@web3-developer web3-developer commented Mar 19, 2024

This PR include the following changes:

  • Update nim-rocksdb to the latest version which includes support for building RocksDb libs from source and static linking.
  • Make file is updated to support triggering building the RocksDb static library dependencies.
  • New make target nimbus_rocksdb_static will build nimbus using static linking.
  • Static linking is disabled by default so the regular make nimbus will continue to use the dynamic library.
  • Static linking is not supported on windows because RocksDb doesn't support building with Mingw.

@web3-developer web3-developer marked this pull request as ready for review March 27, 2024 06:15
@web3-developer web3-developer changed the title Static link rocksdb into Nimbus. Static link rocksdb with Nimbus. Mar 27, 2024
@web3-developer web3-developer requested review from jangko and kdeme and removed request for jangko and kdeme March 27, 2024 06:37
@web3-developer web3-developer merged commit 0c01418 into master Mar 28, 2024
25 checks passed
@web3-developer web3-developer deleted the rocksdb-static-linking branch March 28, 2024 01:55
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.

None yet

2 participants