Bump nim-rocksdb (#3034)

This commit is contained in:
bhartnett 2025-01-29 11:46:11 +08:00 committed by GitHub
parent de80eb4214
commit 1b78aea40d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 9 deletions

View File

@ -1,5 +1,5 @@
# Nimbus
# Copyright (c) 2018-2024 Status Research & Development GmbH
# Copyright (c) 2018-2025 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
# http://www.apache.org/licenses/LICENSE-2.0)
@ -103,8 +103,8 @@ elif defined(macosx) and defined(arm64):
switch("passC", "-mcpu=apple-a14")
switch("passL", "-mcpu=apple-a14")
elif defined(riscv64):
# riscv64 needs specification of ISA with extensions. 'gc' is widely supported
# and seems to be the minimum extensions needed to build.
# riscv64 needs specification of ISA with extensions. 'gc' is widely supported
# and seems to be the minimum extensions needed to build.
switch("passC", "-march=rv64gc")
switch("passL", "-march=rv64gc")
else:
@ -180,7 +180,6 @@ switch("define", "kzgExternalBlst")
# We lock down rocksdb to a particular version
# TODO self-build rocksdb dll on windows
when not defined(use_system_rocksdb) and not defined(windows):
switch("define", "rocksdb_static_linking")
# use the C++ linker profile because it's a C++ library
when defined(macosx):
@ -188,10 +187,6 @@ when not defined(use_system_rocksdb) and not defined(windows):
else:
switch("gcc.linkerexe", "g++")
switch("dynlibOverride", "rocksdb")
switch("dynlibOverride", "lz4")
switch("dynlibOverride", "zstd")
# This applies per-file compiler flags to C files
# which do not support {.localPassC: "...".}
# Unfortunately this is filename based instead of path-based

2
vendor/nim-rocksdb vendored

@ -1 +1 @@
Subproject commit 985fb2c7955d64a1701c7e2cbb0e2e8780b13929
Subproject commit 43c7857f15a25925e479cfc726cbae28d5de0540