Commit graph

12 commits

Author SHA1 Message Date
Calin Culianu
18359e695e Updated rocksdb to 9.1.1 + updated librocksdb binaries
This is because rocksdb 6.x didn't work ok with C++20
2024-05-23 00:04:23 +03:00
Calin Culianu
559ba4344e
macOS: Made the librocksdb.a a "fat" binary (has both x86_64 and arm64)
This allows Apple Silicon users to be able to just use the pre-built lib
"out of the box".  Apple clang linker will auto-magically do the right
thing when linking depending on platform.

Closes #206
2023-11-03 09:19:17 +02:00
mainnet-pat
8b63f55a21
Add arm64 support to Docker image + add librocksdb.a for linux aarch64 (#84)
This commit:

- Adds building docker images for multiple architectures (currently intel, arm64) 
  using docker `buildx`
- Temporarily modifies the `Dockerfile` to use `ppa:mainnet-pat/opt-qt-5.13.2-bionic` 
  which is a clone of previously used `ppa:beineri/opt-qt-5.13.2-bionic` but builds 
  arm64 deb packages as well. Author is contacted to support this in their repo.
    - Calin verified that the input source tree and build control files are identical to ~beineri
- Adds librocksdb.a static lib built for arm64 (should be generally useful outside of docker)
2021-07-02 01:36:51 +03:00
Calin Culianu
87fb48076d
Upgrade to rocksdb 6.14.6 + bump version to 1.3.3
Upgraded the included headers and static libs to this latest version of
rocksdb. It is hoped that performance and memory consumption will
improve as a result of this update.

Also we bumped the app version to 1.3.3.
2020-12-10 08:59:25 +02:00
Calin Culianu
c91612099e
Updated rocksdb to version 6.6.4; updated robin_hood.h
- Updated robin_hood library (robin_hood.h) to version 3.6.0 release
- Updated rocksdb to 6.6.4 release headers + staticlib (OSX, Windows, &
  Linux)
- Updated build instructions in Fulcrum.pro to reflect changed commit
  hash for rocksdb, and changes to how Windows is built.
- Bumped version to 1.0.4
2020-03-16 01:09:26 +02:00
Axel Gembe
87f861c4ff
Build: Make it possible to use a system supplied rocksdb
All the rocksdb headers have been moved to the staticlibs folder
to prevent include path conflicts. They have also been removed
from the project file as they are not necessary for building and
when using a system rocksdb the headers are different ones.

Storage.cpp has been changed to include rocksdb from the system
include path first.

In the project there are new feature flags, the first of them
being "staticlibs" and set by default. These can be overridden
from the qmake command line like this:

qmake -makefiles features= Fulcrum.pro

The project now only adds the staticlibs to the include and
library path when the feature is set.
2020-01-09 17:25:18 +07:00
Calin Culianu
f130c0450d Compile fixups for linux; rebuilt rocksdb for linux with USE_RTTI 2019-12-12 01:28:27 +02:00
Calin Culianu
4dbc8e1b7d
Added scripthash_history update during sync
Requires the "merge operator" for performance. This ends up requiring a
lib recompile to use RTTI.
2019-12-12 00:07:29 +02:00
Calin Culianu
7358a8d687
Updated built librocksdb.a for Linux and OSX to latest
Commit hash: e8f997ca597761087c46ad6657aebe7c73a45e38

Also added build instructions directly in the .pro file lest I forget
how I accomplished all of this magic.
2019-11-28 17:58:05 +02:00
Calin Culianu
2c4019cdf6 Got Win64 working with librocksdb.a. Yippeee. 2019-11-28 17:18:43 +02:00
Calin Culianu
918b0ff064
added linux static lib 2019-11-28 00:04:53 +02:00
Calin Culianu
a4dc536dfb
initial stab at adding rocksdb to project -- still need windows 2019-11-28 00:04:17 +02:00