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

fold in rocksdb libs (attempt 2) #2040

Open
wants to merge 317 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
317 commits
Select commit Hold shift + click to select a range
703dc79
Copy ByteStrings into CStringLens
kim Jun 11, 2012
c654ce9
Patch release 0.1.1
kim Jun 11, 2012
17a5940
Add *.hi to .gitignore
kim Nov 11, 2012
034e423
Make GC-safe batch write without copying
kim Nov 11, 2012
4d19957
Add convenient Makefile for examples
kim Nov 11, 2012
7080b05
Add support for bloom filter ("filter policy")
kim Nov 11, 2012
3b9e546
Add support for querying the runtime version of libleveldb
kim Nov 11, 2012
67d7296
Release 0.2.0
kim Nov 11, 2012
7cca3fd
Try setting up travis build
kim Nov 22, 2012
a020bd4
Tell travis about haskell
kim Nov 22, 2012
677839b
Use make for install (travis)
kim Nov 22, 2012
57c0b70
Typo
kim Nov 22, 2012
d12c2cc
Copy leveldb header files to /usr/local/include (travis)
kim Nov 22, 2012
112fc36
Add fancy travis build status image
kim Nov 22, 2012
3a29070
Fix build of 'features' example
NicolasT Apr 12, 2013
b66f8f2
Optionally build examples through Cabal
NicolasT Apr 13, 2013
1cbb383
Remove unnecessary imports & dependencies
NicolasT Apr 13, 2013
46d456e
Builds examples during TravisCI run
NicolasT Apr 13, 2013
30ce10a
Move Database.LevelDB.Base to Database.LevelDB.C
NicolasT Apr 13, 2013
70062a1
Bug: Fix 'fillCache' option setting
NicolasT Apr 13, 2013
f22769f
Create low-level API without MonadResource context
NicolasT Apr 13, 2013
96ce7c3
Refactor iterKey & iterValue
NicolasT Apr 13, 2013
13f7d0f
Merge pull request #10 from NicolasT/fix-features
kim Apr 13, 2013
df60e62
Prefix example executables with 'leveldb-example-'
kim Apr 13, 2013
565cec3
Merge pull request #12 from NicolasT/build-examples with additions
kim Apr 13, 2013
726ce41
Merge pull request #13 from NicolasT/fix-fillcache
kim Apr 13, 2013
9300491
Merge remote-tracking branch 'nicolast/less-resourcet'
kim Apr 19, 2013
a944131
Drop record syntax for Iterator
kim Apr 19, 2013
62f9405
Free options after handle
kim Apr 19, 2013
989d1ed
Don't use default-extensions + "stylish-haskell"-style imports
kim Apr 19, 2013
9529443
Formatting
kim Apr 21, 2013
7405224
Fix Iterator locking
kim Apr 21, 2013
ca2245b
Reorganize modules
kim Apr 21, 2013
8c6a73c
Adjust ghc options
kim Apr 21, 2013
2a08a46
Move ResourceT API to it's own module
kim Apr 22, 2013
868a2c1
(Re-)introduce withSnapshot combinator in Base
kim Apr 22, 2013
13b08ae
Require external synchronization for iterator access
kim May 21, 2013
279c3f4
Add note about external synchronization
kim May 21, 2013
6a3f783
(Re-) introduce 'withIter' bracket
kim Jan 10, 2014
8c6fc60
whitespace
kim Jan 10, 2014
9015dee
Add a changelog
kim Jan 10, 2014
54d3e43
Release 0.3 (finally)
kim Jan 10, 2014
f6b7ea9
first rocksdb version
agrafix Jul 29, 2014
ce82da2
switched to drone.io
agrafix Jul 29, 2014
794a357
Add stack.yaml, update .cabal and .gitignore
gromakovsky Dec 7, 2016
84967a5
Comment out currently broken functionality
gromakovsky Dec 7, 2016
00e63f7
Cosmetic: Redundant MonadResource removed, specified imports and remo…
pva701 Dec 9, 2016
92c58b7
Removed MonadResource
pva701 Dec 9, 2016
9b2c415
Removed ' from function's name
pva701 Dec 9, 2016
a2d85c4
Added get and put methods for Binary
pva701 Dec 12, 2016
f730b76
Add Linux/Windows/OSX CI
domenkozar Dec 18, 2016
7acc074
Merge pull request #1 from serokell/ci
domenkozar Dec 19, 2016
d21d00e
Also support Windows
domenkozar Dec 19, 2016
f0e045d
Merge pull request #2 from serokell/windows
gromakovsky Dec 19, 2016
f5f6d23
No need to install OpenSSL for windows
domenkozar Dec 20, 2016
eef063d
[CSL-275] Remove not implemented functionality
gromakovsky Jan 11, 2017
d1f65c2
Remove useless flags from .cabal
gromakovsky Jan 11, 2017
72dc064
Increase version
gromakovsky Jan 11, 2017
0493917
Add basic tests
gromakovsky Jul 17, 2014
8ca00a3
tests: also run on Windows
domenkozar Jan 14, 2017
aa6f223
README: note windows support
domenkozar Jan 14, 2017
883c671
Use c_rocksdb_free instead of standard free
gromakovsky Jan 14, 2017
bbcabd5
nix: Use dynamically linked rocksdb
domenkozar Jan 14, 2017
0061e5e
appveyor: use rocksdb 4.13.5
domenkozar Jan 14, 2017
4b66276
appveyor: remove cache as it's unreliable
domenkozar Jan 16, 2017
311b275
appveyor: copy the dll
domenkozar Jan 17, 2017
377d4ef
README: correct appveyor link
domenkozar Jan 18, 2017
8e525e3
Readme.md -> README.md
domenkozar Jan 18, 2017
22730f5
appveyor: add rocksdb.dll as artifact
domenkozar Jan 18, 2017
031cfb0
Fix extra-source-files in cabal
gromakovsky Jun 18, 2017
f838e1f
Change name to rocksdb-haskell
gromakovsky Jun 18, 2017
5004b4b
Make version consist of three components
gromakovsky Jun 18, 2017
9fe5b69
Remove some leftovers
gromakovsky Jun 18, 2017
599e919
Remove ghc-prof-options
gromakovsky Jun 18, 2017
0b6f266
Set version to 1.0.0
gromakovsky Jun 18, 2017
9ffff76
[CSL-1803] On Linux, use UTF-8 for filepath encoding
Nov 17, 2017
1a6491e
[CSL-1803] Fix Unicode problem in Windows
rockbmb Nov 24, 2017
48d77db
[CSL-1803] Bump LTS version to 9.14, so it uses ghc-8.0.2, which is a…
deepfire Dec 1, 2017
40bf018
[CSL-1803] Increase package version, update changelog
rockbmb Dec 1, 2017
96f78ca
Merge pull request #6 from serokell/neongreen/csl-1803-linux-encoding
gromakovsky Dec 2, 2017
b67a520
Exported 2 functions for usage in batch writes
Heimdell Mar 28, 2018
84d553e
Merge pull request #11 from Heimdell/patch-1
volhovm Apr 25, 2018
19bdd0a
initial commit
larskuhtz Jul 9, 2019
fda9a32
[DedupStore] only insert if dedupHash doesn't already exist
larskuhtz Jul 11, 2019
7a2be3d
Fix tableIterLast in Data.CAS.RocksDB
larskuhtz Jul 26, 2019
227b074
Add a simple test-suite for rocksdb tables
larskuhtz Jul 26, 2019
09b3166
Remove redundant "instance" key word
larskuhtz Aug 13, 2019
9f1e4dc
add travis-ci script
larskuhtz Aug 13, 2019
0d4fd21
Merge pull request #2 from kadena-io/travis-ci
larskuhtz Aug 13, 2019
29344d4
Add support for atomic write batches
larskuhtz Aug 13, 2019
5a89e54
More rocks db table tests
larskuhtz Aug 15, 2019
bde0263
Merge pull request #1 from kadena-io/lars/batches
larskuhtz Aug 15, 2019
32fb927
cas batch calls for RocksDbTable
larskuhtz Aug 16, 2019
18c44a8
Merge pull request #3 from kadena-io/rocksDbCas-batches
larskuhtz Aug 16, 2019
1a0e7c3
Add HasCasLookup
larskuhtz Apr 10, 2020
eb4a9f4
Merge pull request #4 from kadena-io/lars/has-cas-lookup
larskuhtz Apr 13, 2020
36ed1ec
update README
larskuhtz Sep 14, 2020
1cd6b77
add NoThunks instances to RocksDB types
larskuhtz Sep 14, 2020
ae73889
update travis-ci
larskuhtz Sep 15, 2020
f919743
github actions workflow
larskuhtz Sep 15, 2020
bb2d5c4
Merge pull request #6 from kadena-io/updated-ci
larskuhtz Sep 15, 2020
5bbd423
Merge branch 'master' into noThunks
larskuhtz Sep 15, 2020
50b607c
Merge pull request #5 from kadena-io/noThunks
larskuhtz Sep 15, 2020
ccf34bd
Fix caching in GitHub Actions build
larskuhtz Oct 30, 2020
59771ef
Merge pull request #7 from kadena-io/fix-github-actions-build
larskuhtz Nov 2, 2020
8bdb150
GitHub actions update dependencies
larskuhtz Nov 17, 2020
45dda30
Merge pull request #8 from kadena-io/larskuhtz-patch-1
larskuhtz Nov 17, 2020
fbb4b45
build with ghc-9
larskuhtz May 10, 2021
582f9fc
Merge branch 'master' of github.com:kadena-io/chainweb-storage
larskuhtz May 10, 2021
97e27a0
update ci build
larskuhtz Jun 24, 2021
8dbfdae
Add RocksDB checkpoint capabilities separate from the CAS interface
edmundnoble Dec 20, 2021
559f5b8
Add table size approximation and move checkpoint into the main RocksD…
edmundnoble Dec 21, 2021
2eb78a0
Address review
edmundnoble Dec 30, 2021
64c436c
Namespace movements
edmundnoble Dec 30, 2021
4c71dcc
Merge pull request #10 from edmundnoble/rocksdb-goodies
edmundnoble Dec 31, 2021
4136b82
Edmund/rocksdb delete range (#12)
edmundnoble Mar 4, 2022
cf356d9
Better ReadOptions API, scaffolding
edmundnoble Mar 15, 2022
f520867
set upper and lower bounds on iterator
edmundnoble Mar 15, 2022
6c66eda
Set auto prefix mode
edmundnoble Mar 15, 2022
8223031
Set prefix extractor
edmundnoble Mar 16, 2022
5d8dd7e
Enable C++17
edmundnoble Mar 16, 2022
caf9994
What
edmundnoble Mar 16, 2022
4a64e62
Expose modernDefaultOptions
edmundnoble Mar 17, 2022
8ef0bde
Enable createIfMissing by default
edmundnoble Mar 17, 2022
78b127f
More flags
edmundnoble Mar 17, 2022
c2f138b
Disable prefix extractor
edmundnoble Mar 19, 2022
fe4693b
Check
edmundnoble Mar 29, 2022
23735e9
Add include dir
edmundnoble Mar 30, 2022
e4bdb81
Use includes, not install-includes
edmundnoble Mar 30, 2022
edc67c0
Build rocksdb
edmundnoble Mar 28, 2022
a8842e3
Includes no
edmundnoble Mar 30, 2022
1dc70cc
Move includes
edmundnoble Mar 30, 2022
894a452
Try again
edmundnoble Mar 30, 2022
d69b331
Hm
edmundnoble Mar 30, 2022
31ca79e
Update rocksdb-haskell
edmundnoble Mar 30, 2022
bf97273
implement rocksdb multi-get
larskuhtz Mar 15, 2022
b2c44e9
Revert "implement rocksdb multi-get"
edmundnoble Apr 4, 2022
af60f16
Attempt to fix mac build
edmundnoble Apr 4, 2022
27b8464
Add back libCrocksdb.so
edmundnoble Apr 4, 2022
d4de41d
Remove gflags dep
edmundnoble Apr 4, 2022
d391b2e
What is with these library suffices??
edmundnoble Apr 4, 2022
4249f8d
Checkpoint using cabal to build C sources
edmundnoble Apr 5, 2022
52a65d3
Revert "Remove gflags dep"
edmundnoble Apr 5, 2022
18f632f
Revert "What is with these library suffices??"
edmundnoble Apr 5, 2022
1367eb5
Revert "Checkpoint using cabal to build C sources"
edmundnoble Apr 5, 2022
e3ad62a
Don't even build rocksdb on mac
edmundnoble Apr 6, 2022
635f2a2
Remove includes
edmundnoble Apr 6, 2022
8166e46
Stop bundling it if we don't build it
edmundnoble Apr 6, 2022
11f0f9b
Build on march=ivybridge
edmundnoble Apr 6, 2022
e93db6c
Add snappy and bz2 to extra_libs
edmundnoble Apr 6, 2022
c5e8196
Enable -DSNAPPY
edmundnoble Apr 7, 2022
6defcf2
Ping
edmundnoble Apr 7, 2022
ebcc3d5
Change around quotes
edmundnoble Apr 7, 2022
6ee4a60
Arch generic
edmundnoble Apr 7, 2022
0c88bf0
Build shared and static libraries separately
edmundnoble Apr 8, 2022
030ba29
-fPIC
edmundnoble Apr 8, 2022
d7e685e
Build shared first
edmundnoble Apr 8, 2022
0446457
No shared lib
edmundnoble Apr 8, 2022
ebaec2c
Clean after building
edmundnoble Apr 8, 2022
017ef69
Stop building shared
edmundnoble Apr 8, 2022
2fc9797
Hmm
edmundnoble Apr 8, 2022
bc1172a
Alter extra-libraries, rocksdb commit
edmundnoble Apr 11, 2022
95266a4
Revert "Revert "implement rocksdb multi-get""
edmundnoble Apr 11, 2022
f053800
Comment and reorganize Setup.hs
edmundnoble Apr 11, 2022
1a06529
Update rocksdb-haskell-kadena
edmundnoble Apr 11, 2022
679d307
Comments
edmundnoble Apr 11, 2022
995e9b6
Move FFI from chainweb-storage
edmundnoble Jul 20, 2022
541724f
Hm
edmundnoble Jul 20, 2022
02999ea
Add CPP files
edmundnoble Jul 20, 2022
a4bf67d
Fix prefix extractor
edmundnoble Jul 20, 2022
afe99d3
Move FFI to rocksdb-haskell
edmundnoble Jul 20, 2022
6f023a4
Add snappy to extra-libs
edmundnoble Jul 20, 2022
73fa3e4
Native build with GHC
edmundnoble Jul 21, 2022
c4f128d
C++17
edmundnoble Jul 21, 2022
08d8bc4
Stop statically linking libstdc++
edmundnoble Jul 21, 2022
04f6958
check
edmundnoble Jul 22, 2022
44d9563
correct table prefix extractor signature
edmundnoble Jul 22, 2022
f9ccc3f
Fix prefix extractor call
edmundnoble Jul 22, 2022
e8f9c0c
Disable prefix extractor memoization
edmundnoble Jul 22, 2022
5fc5a6f
Remove opts_ptr from DB datatype
edmundnoble Jul 22, 2022
b5f95ec
Put prefix extractor into options
edmundnoble Jul 23, 2022
6591b4c
Safely set prefix extractor without leaks
edmundnoble Jul 22, 2022
f3545d7
Let withRocksDb take an Options instead of a raw pointer
edmundnoble Jul 23, 2022
4206c48
Disable setting prefix extractor again
edmundnoble Jul 23, 2022
69ff80e
Make the prefix extractor but don't use it
edmundnoble Jul 23, 2022
7204254
Try less elaborate way to free prefix extractor
edmundnoble Jul 25, 2022
827cd7c
Remove unused Options' field
edmundnoble Jul 26, 2022
dfd7622
Update rocksdb
edmundnoble Jul 26, 2022
5e89683
Re-enable TBB, disable AVX2
edmundnoble Jul 29, 2022
ad9da62
Update rocksdb-haskell
edmundnoble Jul 29, 2022
bf2a062
Don't expose IteratorPtr
edmundnoble Jul 29, 2022
9d37db2
Review
edmundnoble Jul 30, 2022
671af28
Update chainweb-storage.cabal
edmundnoble Aug 1, 2022
cda088d
Merge pull request #3 from kadena-io/gain-all-ffi
edmundnoble Aug 10, 2022
8451af4
Update rocksdb-haskell pin
edmundnoble Aug 10, 2022
a495275
Update rocksdb-haskell
edmundnoble Aug 10, 2022
d0ed0c6
Merge remote-tracking branch 'origin/prefix-scan' into prefix-scan
edmundnoble Aug 10, 2022
034cef6
Merge pull request #14 from edmundnoble/prefix-scan
edmundnoble Sep 12, 2022
28954a5
add a Table abstraction replacing the Cas abstraction
edmundnoble Sep 26, 2022
2bf5a30
Iterator instance for RocksDB, warnings
edmundnoble Sep 26, 2022
a6fbf30
fix tests
edmundnoble Sep 27, 2022
beca678
Extra eq constraints for earlier GHC
edmundnoble Sep 27, 2022
37f5540
Relax tableLookupM constraint to ReadableTable
edmundnoble Sep 27, 2022
7a874ae
Add Casify newtype
edmundnoble Sep 28, 2022
119fcca
Make migration easier
edmundnoble Sep 28, 2022
6279886
Add *1 type aliases
edmundnoble Sep 28, 2022
f675b1a
Relax casLookupM constraint and fix indentation
edmundnoble Sep 28, 2022
b136f49
Add unCasify accessor
edmundnoble Sep 28, 2022
438bcc4
Eachify tableLookupBatch
edmundnoble Oct 15, 2022
55ec5d6
Explicitly use c_rocksdb_free instead of our own free, traversalify t…
edmundnoble Oct 16, 2022
c76bd8d
Fix build so it compiles for aarch64-darwin (M1 Mac)
jwiegley Nov 18, 2022
5b1d07c
Merge pull request #4 from kadena-io/johnw/aarch64
jwiegley Nov 18, 2022
2880dd4
Flag to disable tbb builds
sirlensalot Dec 7, 2022
bb53e16
positive flag name
sirlensalot Dec 7, 2022
788e3d7
disable by default
sirlensalot Dec 10, 2022
098ff43
Merge pull request #5 from kadena-io/feat/tbb-flag
edmundnoble Dec 10, 2022
cdf7faf
Fix docs and build
edmundnoble Jan 4, 2023
8e1e139
Attempt mac fix
edmundnoble Jan 5, 2023
06e72be
s/8.10.5/8.10.7
edmundnoble Jan 5, 2023
bfcc3e0
Include CI updates
edmundnoble Jan 5, 2023
0eb5697
Remove mac fix attempt
edmundnoble Jan 5, 2023
d691dd0
Merge pull request #16 from kadena-io/edmundnoble/table-abstraction
edmundnoble Jan 5, 2023
8e73594
Disable march=native
edmundnoble Jan 5, 2023
724ddad
try march=x86-64
edmundnoble Jan 9, 2023
5e310bc
Remove HAVE_SSE42
edmundnoble Jan 9, 2023
6059c95
Delete -D options add mtune=generic
edmundnoble Jan 9, 2023
5fcfe0e
Enable SSE3
edmundnoble Jan 9, 2023
51579ce
Only include certain compiler flags if we're on x86-64
jwiegley Feb 8, 2023
826434e
Only define Fast_CRC32 on Linux (for now)
jwiegley Feb 8, 2023
d8f962b
Merge pull request #6 from kadena-io/johnw/flags
jwiegley Feb 9, 2023
35d6377
Include Fast_CRC32 on Intel Mac machines
jwiegley Feb 14, 2023
c0dc486
Merge pull request #7 from kadena-io/johnw/mac-build
jwiegley Feb 14, 2023
03245b8
add read-only mode
edmundnoble Jun 8, 2023
3123ccd
Merge remote-tracking branch 'origin/master'
edmundnoble Jun 8, 2023
4db0a67
add read-only rocksdb
edmundnoble Jun 8, 2023
3aea300
Use newer rocksdb
edmundnoble Aug 14, 2023
232ea4e
Use std=c++2a for older gcc
edmundnoble Sep 21, 2023
4668081
Update rocksdb
edmundnoble Jan 29, 2024
e5d0ed5
cabal: remove `-Werror` for cxx sources (#12)
thoughtpolice May 8, 2024
54d1869
build rocksdb without -Werror (#11)
chessai May 12, 2024
a26a932
Merge commit 'FILTERED_HEAD' into chessai/fold-in-rocksdb-libs-attempt-2
chessai Nov 1, 2024
f291dd6
Merge commit 'FILTERED_HEAD' into chessai/fold-in-rocksdb-libs-attempt-2
chessai Nov 1, 2024
b8f0f05
clean up vendored library folders, fix bug in chainweb-storage tests
chessai Nov 13, 2024
42ea357
refer to libraries in cabal.project
chessai Nov 13, 2024
c748fe5
Merge branch 'master' into chessai/fold-in-rocksdb-libs-attempt-2
chessai Nov 13, 2024
28c01c0
rename chainweb-storage test component to be project-wide non-ambiguous
chessai Nov 13, 2024
253e372
make rocksdb-haskell-kadena Data.List partial-warning compliant
chessai Nov 13, 2024
ecd4f2f
remove upstream dependencies on chainweb-storage and rocksdb-haskell-…
chessai Nov 13, 2024
9ea3945
run rocksdb-haskell-kadena and chainweb-storage unit tests in CI
chessai Nov 13, 2024
cf687d3
remove bad license file reference
chessai Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 32 additions & 1 deletion .github/workflows/applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ jobs:
- name: Build chainweb library
run: cabal build --ghc-options=-j2 lib:chainweb
- name: Build chainweb applications
run: |
run: |
cabal build -j2 --ghc-options=-j2 \
exe:compact \
test:chainweb-tests \
Expand Down Expand Up @@ -398,6 +398,8 @@ jobs:
cp $(cabal list-bin compaction-tests) artifacts/chainweb
cp $(cabal list-bin cwtool) artifacts/chainweb
cp $(cabal list-bin bench) artifacts/chainweb
cp $(cabal list-bin rocksdb-tests) artifacts/chainweb
cp $(cabal list-bin chainweb-storage-tests) artifacts/chainweb
cp README.md artifacts/chainweb
cp CHANGELOG.md artifacts/chainweb
cp LICENSE artifacts/chainweb
Expand All @@ -420,6 +422,35 @@ jobs:
# ########################################################################## #
# Run misc test suites

rocksdb-library-tests:
name: RocksDB library tests
needs: [config, build]
runs-on: $${ matrix.os }}
env:
ARTIFACTS_NAME: chainweb-applications.${{ matrix.use-freeze-file }}.${{ matrix.ghc }}.${{ matrix.os }}
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.config.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACTS_NAME }}
path: .
- name: Install chainweb from artifacts
uses: ./.github/actions/install-chainweb-from-artifacts
with:
os: ${{ matrix.os }}
ghc: ${{ matrix.ghc }}
use-freeze-file: ${{ matrix.use-freeze-file }}
- name: Run rocksdb-haskell-kadena tests
timeout-minutes: 2
run: rocksdb-tests
- name: Run chainweb-storage tests
timeout-minutes: 2
run: chainweb-storage-tests

remote-tests:
name: Remote tests
needs: [config, build]
Expand Down
27 changes: 12 additions & 15 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
packages:
chainweb.cabal
node/chainweb-node.cabal
vendored/rocksdb-haskell-kadena/rocksdb-haskell-kadena.cabal
vendored/chainweb-storage/chainweb-storage.cabal

debug-info: True

Expand Down Expand Up @@ -37,6 +39,16 @@ package chainweb
benchmarks: True
ghc-options: -Wno-missed-extra-shared-lib

package rocksdb-haskell-kadena
tests: True
benchmarks: True
ghc-options: -Wno-missed-extra-shared-lib -Wwarn -optc-w -optcxx-w

package chainweb-storage
tests: True
benchmarks: True
ghc-options: -Wno-missed-extra-shared-lib

package chainweb-node
ghc-options: -Wno-missed-extra-shared-lib

Expand All @@ -57,9 +69,6 @@ package pact
-- avoid conflict with cryptonite during linking
flags: +cryptonite-ed25519 -build-tool

package rocksdb-haskell-kadena
ghc-options: -Wwarn -optc-w -optcxx-w

package crypton
flags: +support_pclmuldq

Expand Down Expand Up @@ -89,18 +98,6 @@ source-repository-package
tag: 1d260bfaa48312b54851057885de4c43c420e35f
--sha256: 0fzq4mzaszj5clvixx9mn1x6r4dcrnwvbl2znd0p5mmy5h2jr0hh

source-repository-package
type: git
location: https://github.com/kadena-io/chainweb-storage.git
tag: a5e06a8aa2da1e7981ff9fad91dfd41f7c39fc85
--sha256: sha256-3Zqsgrxa7SQUr8XzT2O5PLTELkI92NXZU4j2UUvlL4E=

source-repository-package
type: git
location: https://github.com/kadena-io/rocksdb-haskell.git
tag: cede9de2932a4ead1bd82fd7709b19ab7b19b33d
--sha256: 1dngd44va6h66vwpdpwmnj0zcky87m4vzykjwv49p2km12lwq9mf

source-repository-package
type: git
location: https://github.com/kadena-io/rosetta.git
Expand Down
81 changes: 81 additions & 0 deletions vendored/chainweb-storage/chainweb-storage.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
cabal-version: 3.0
name: chainweb-storage
version: 0.1.0.0
synopsis: Key Value Storage for Chainweb
description:
Various tools for key value stores used in
chainweb (https://github.com/kadena-io/chainweb-node
homepage: https://github.com/kadena-io/chainweb-storage
bug-reports: https://github.com/kadena-io/chainweb-storage/issues
license: BSD-3-Clause
license-file: LICENSE
author: Lars Kuhtz
maintainer: [email protected]
copyright: Copyright (c) 2019, Kadena LLC
category: Data
tested-with:
GHC==9.0.1
GHC==8.10.4
GHC==8.8.4

source-repository head
type: git
location: https://github.com/kadena-io/chainweb-storage.git

library
hs-source-dirs: src
default-language: Haskell2010
ghc-options:
-Wall
exposed-modules:
Chainweb.Storage.Table
Chainweb.Storage.Table.Forgetful
Chainweb.Storage.Table.HashMap
Chainweb.Storage.Table.RocksDB
Chainweb.Storage.DedupStore
build-depends:
, base >=4.10 && <5
, bytestring >=0.10
, containers >=0.5
, cryptonite >= 0.25
, directory >=1.3
, filepath
, deepseq >=1.4
, exceptions >=0.10
, hashable >=1.2
, lens >=4.16
, memory >=0.14
, mtl >= 2.2
, nothunks >= 0.1.0.0
, rocksdb-haskell-kadena >=1.1.0
, stm >=2.4
, streaming >=0.2
, temporary >=1.3
, text >=1.2
, transformers >=0.5
, unordered-containers >=0.2
, vector >=0.12

test-suite chainweb-storage-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
main-is: Main.hs
ghc-options:
-Wall
-threaded
-with-rtsopts=-N
other-modules:
build-depends:
-- internal
, chainweb-storage

-- external
, async >=2.2
, base >=4.10 && <5
, bytestring >=0.10
, exceptions >=0.10
, lens >=4.16
, nothunks >= 0.1.0.0
, vector >=0.12

Loading
Loading