summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2026-05-03 15:53:41 +0800
committerZheng Junjie <z572@z572.online>2026-06-08 13:21:58 +0800
commit2acb5f9da33586b20cb49aeb60d5adcd7468e1fc (patch)
tree39d67eb278f6d80598020bd0977a0aa197157f03 /gnu/packages
parentc86d515f948c12c14c5837a1df914f9394e8c120 (diff)
gnu: rocksdb: Enable snappy.
* gnu/packages/databases.scm (rocksdb)[arguments]<#:configure-flags>: Add -DWITH_SNAPPY=1. [inputs]: Move snappy to ... [propagated-inputs]: ... here. Change-Id: Iebb6b88a77f24d4277a14fbf37ac727784f9cc96
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/databases.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1059775611e..20c3177e44e 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -72,6 +72,7 @@
72;;; Copyright © 2026 Peter Polidoro <peter@polidoro.io> 72;;; Copyright © 2026 Peter Polidoro <peter@polidoro.io>
73;;; Copyright © 2026 Josep Bigorra <jjbigorra@gmail.com> 73;;; Copyright © 2026 Josep Bigorra <jjbigorra@gmail.com>
74;;; Copyright © 2026 Daniel Littlewood <dan@danielittlewood.xyz> 74;;; Copyright © 2026 Daniel Littlewood <dan@danielittlewood.xyz>
75;;; Copyright © 2026 Zheng Junjie <z572@z572.online>
75;;; 76;;;
76;;; This file is part of GNU Guix. 77;;; This file is part of GNU Guix.
77;;; 78;;;
@@ -2341,7 +2342,8 @@ including field and record folding.")
2341 ;; Ceph requires that RTTI is enabled. 2342 ;; Ceph requires that RTTI is enabled.
2342 "-DUSE_RTTI=1" 2343 "-DUSE_RTTI=1"
2343 ;; Prevent the build from passing '-march=native' to the compiler. 2344 ;; Prevent the build from passing '-march=native' to the compiler.
2344 "-DPORTABLE=1") 2345 "-DPORTABLE=1"
2346 "-DWITH_SNAPPY=1")
2345 2347
2346 ;; Many tests fail on 32-bit platforms. There are multiple 2348 ;; Many tests fail on 32-bit platforms. There are multiple
2347 ;; reports about this upstream, but it's not going to be 2349 ;; reports about this upstream, but it's not going to be
@@ -2368,8 +2370,9 @@ including field and record folding.")
2368 gflags 2370 gflags
2369 jemalloc 2371 jemalloc
2370 lz4 2372 lz4
2371 snappy
2372 zlib)) 2373 zlib))
2374 ;; RocksDBConfig.cmake references snappy.
2375 (propagated-inputs (list snappy))
2373 (home-page "https://rocksdb.org/") 2376 (home-page "https://rocksdb.org/")
2374 (synopsis "Persistent key-value store for fast storage") 2377 (synopsis "Persistent key-value store for fast storage")
2375 (description 2378 (description