Commit Graph
15 Commits
Author SHA1 Message Date
Ben Hartnett 83688cf203 Use nph v0.7.0 (#104) 2026-03-05 14:26:41 +08:00
Ben Hartnett 6a9e8006ae Update CI (#97) 2025-11-19 21:23:20 +08:00
Jacek Sieka 54cbb3ad4f expose compression options (#86) 2025-06-03 09:45:06 +02:00
bhartnett 3df6bd7d65 Update RocksDb to version 9.10.0 (#83) 2025-01-29 12:18:59 +08:00
bhartnett 6149edce39 Use static linking on Linux and MacOS, dynamic on Windows (#81)
- We now only support static linking on Linux and MacOS. Windows is still only using dynamic linking.

- Dynamically linking can be enabled on Linux and MacOS using the 'rocksdb_dynamic_linking' flag but this is not documented and the dynamic libraries are not built in nimble install. They can be built using one of the build scripts if needed.

- Updated the wrapper generation so that we don't need to use dynlibOverride when using static linking.

- Static libs are copied to the same directory as the dll.

- Cleaned up the librocksdb.nim file which imports the rocksdb wrapper.

- Updated the tasks in the nimble file.
2025-01-21 14:24:04 +08:00
bhartnett 7b41c5c1e5 Update nim versions and macos builder (#71) 2024-10-07 12:49:48 +08:00
web3-developer 608d10a24e Use nph v0.6.0 in nimble format and run format on project. (#66) 2024-07-22 21:05:02 +08:00
web3-developer d31b8b8a72 Build dynamic libraries for all platforms using vcpkg. (#61)
* Build dynamic libraries for all platforms using vcpkg.

* Cleanup CI.
2024-07-03 11:34:40 +08:00
web3-developer ee15ce027b Update API to support passing in ColFamilyHandleRef instead of column family string. (#52)
* Refactor API to pass in column family handle instead of string.

* Check for unknown column family in getColFamilyHandle and update tests.

* Update column family function names. Remove redundant exists check.
2024-06-27 01:31:39 +08:00
web3-developer a691d5b9d2 Format using nph (#54)
* Format entire project using nph.

* Add nph lint to CI.
2024-06-26 23:00:10 +08:00
web3-developer a84cf5b896 Build windows DLLs from vendor directory (#45)
* Add vcpkg as a submodule.

* Set vendor submodules to RocksDb version v9.1.0

* Update readme.
2024-06-12 21:16:06 +08:00
Jacek Sieka 2879227085 expose additional configuration options (#43)
* caches
* table options
* spelling fixes
2024-06-04 12:06:14 +02:00
web3-developer 90027f1875 Support for static linking RocksDb. (#40)
* Added rocksdb as a submodule in vendor directory.

* Add support for static linking using nimble.

* Add script to build static library dependencies.

* Disable warnings as error in deps build.

* Set recommended compression options in build and in library.

* Move static linking into wrapper code.

* Conditionally set linker using when defined(macosx).

* Add support for linking windows static libraries.

* Build rocksdb static libs using vcpkg.

* Remove lib prefix from library names for windows.

* Static linking is not supported on windows. Update documentation and CI.
2024-03-27 14:18:21 +08:00
andri lim 5e2b026f84 Fix broken CI (#35)
* Remove appveyor and travis scripts

* Fix broken CI

* Fix set pointer field to nil with typed nil

* Add liblz4 in CI deps of linux i386
2024-02-13 20:59:41 +07:00
Ștefan Talpalaru c565aa88b9 CI: use GitHub Actions (#28)
* CI: use GitHub Actions
2022-01-11 02:39:31 +01:00