Commit Graph
23 Commits
Author SHA1 Message Date
bhartnett 3fda46f2be Support building with liburing 2026-08-26 15:32:23 +02:00
Ben Hartnett 7f380aa747 Update RocksDB to v11.1.2 (#110) 2026-08-26 20:08:32 +08:00
Ben Hartnett 8a73d4a1d4 Use new RocksDB high-performance get functions (#106) 2026-04-15 22:12:54 +08:00
Ben Hartnett 7459ab54f3 Update RocksDB to v10.10.1 (#105) 2026-04-14 23:48:07 +08:00
bhartnett 1e724b9c1b Update RocksDB to v10.4.2 (#91)
* Update vendor deps.

* Update header and nim wrapper.
2025-08-27 15:43:17 +08:00
andri lim a95240da0f Don't rebuild librocksdb.dll if exists (#90) 2025-08-02 21:48:33 +07:00
bhartnett c8cc5506c8 Update RocksDB to v10.2.1 (#89) 2025-06-09 20:45:14 +08:00
bhartnett 92d25ea795 Improve build script (#85)
* Pass in NPROC in -j make parameter
2025-02-10 11:12:38 +08:00
bhartnett 43c7857f15 Skip building static libs when vendered rocksdb version is unchanged (#82) 2025-01-29 10:22:20 +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 d146f4a12e Fix nimble install on Fedora Linux (#78)
* Copy build directory during nimble install.

* Make VCPKG_CRT_LINKAGE dynamic.
2025-01-03 11:26:46 +08:00
web3-developer 2ae39ceb66 Bump RocksDb to v9.2.1 (#69)
* Bump RocksDb dependencies to v9.2.1

* Debug dlOpen.

* Static link dependencies.
2024-08-15 22:08:21 +08:00
Kim De Mey 965029e395 Use the make question option to avoid rebuild on macOS (#68)
There was already the earlier strange ` before the
"unity.a' is up to date message on macOS.

Turns out it might still not work on macOS because of certain
verbosity levels.

So use the question option instead of dry-run + grep as the
latter is more brittle, and the former is intended for this
purpose.
2024-07-26 16:18:18 +02:00
web3-developer 9a6d85e8da Fix issue on MacOS where build is never skipped even when the build artifacts already exist. (#65) 2024-07-22 19:13:47 +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 bb70e8980f Use unity.a for building static RocksDb library. (#58)
* Use unity.a for building static RocksDb library.
2024-06-28 20:50:11 +08:00
web3-developer 45f7a9266f Update RocksDb header file and automate regeneration of wrapper. 2024-06-21 12:08:16 +08:00
Jacek Sieka f5dcb34ae8 ignore clean failures 2024-06-19 09:42:58 +02:00
web3-developer 93c6df0765 If vendor RocksDb files have changed the trigger a clean rebuild. (#49) 2024-06-14 22:54:29 +08:00
web3-developer e36f454cd4 Add helper script to cleanup build artifacts. (#47) 2024-06-13 15:47:14 +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 e34c8e825c use MAKE variable when available, which can set -j 2024-06-04 17:14:24 +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