Skip to contentSkip to conversation

package/rocksdb: new package

PATCH New Fabrice Fontaine 2 participants 2 messages Feb 2, 2020 – Feb 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rocksdb: new package

The RocksDB library provides a persistent key value store. Keys and values are arbitrary byte arrays. The keys are ordered within the key value store according to a user-specified comparator function.

The library is maintained by the Facebook Database Engineering Team, and is based on LevelDB, by Sanjay Ghemawat and Jeff Dean at Google.

http://rocksdb.org

---
 DEVELOPERS                                    |   1 +
 package/Config.in                             |   1 +
 .../rocksdb/0001-Check-for-sys-auxv.h.patch   |  85 ++++++
 ...to-disable-building-shared-libraries.patch | 244 ++++++++++++++++++
 package/rocksdb/Config.in                     |  26 ++
 package/rocksdb/rocksdb.hash                  |   8 +
 package/rocksdb/rocksdb.mk                    |  67 +++++
 7 files changed, 432 insertions(+)
 create mode 100644 package/rocksdb/0001-Check-for-sys-auxv.h.patch
 create mode 100644 package/rocksdb/0002-Add-an-option-to-the-CMake-build-to-disable-building-shared-libraries.patch
 create mode 100644 package/rocksdb/Config.in
 create mode 100644 package/rocksdb/rocksdb.hash
 create mode 100644 package/rocksdb/rocksdb.mk
DEVELOPERS +1 -0
index 02fa656b50..7bf7ea29cd 100644
@@ -885,6 +885,7 @@ F:	package/pcmanfm/
 F:	package/python-backcall/
 F:	package/python-jedi/
 F:	package/python-parso/
+F:	package/rocksdb/
 F:	package/rygel/
 F:	package/safeclib/
 F:	package/snort3/
package/Config.in +1 -0
index 6684172965..589b93434b 100644
@@ -1323,6 +1323,7 @@ menu "Database"
 	source "package/mysql/Config.in"
 	source "package/postgresql/Config.in"
 	source "package/redis/Config.in"
+	source "package/rocksdb/Config.in"
 	source "package/sqlcipher/Config.in"
 	source "package/sqlite/Config.in"
 	source "package/unixodbc/Config.in"
package/rocksdb/0001-Check-for-sys-auxv.h.patch new file +85 -0

85 lines not on this page · raw message

package/rocksdb/0002-Add-an-option-to-the-CMake-build-to-disable-building-shared-libraries.patch new file +244 -0

244 lines not on this page · raw message

package/rocksdb/Config.in new file +26 -0
new file mode 100644
index 0000000000..c55170c1d2
@@ -0,0 +1,26 @@
+config BR2_PACKAGE_ROCKSDB
+	bool "rocksdb"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_WCHAR
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
+	help
+	  The RocksDB library provides a persistent key value store.
+	  Keys and values are arbitrary byte arrays. The keys are
+	  ordered within the key value store according to a
+	  user-specified comparator function.
+
+	  The library is maintained by the Facebook Database Engineering
+	  Team, and is based on LevelDB, by Sanjay Ghemawat and Jeff
+	  Dean at Google.
+
+	  http://rocksdb.org
+
+comment "rocksdb needs a toolchain w/ C++, threads, wchar, gcc >= 4.8"
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+
+comment "rocksdb needs a toolchain not affected by GCC bug 64735"
+	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
package/rocksdb/rocksdb.hash new file +8 -0
new file mode 100644
index 0000000000..2e4071298e
@@ -0,0 +1,8 @@
+# Locally computed:
+sha256	feab859ee355fbe7beffd7085904b63f560417f450f83cc34310e6dadff936f6	rocksdb-6.6.4.tar.gz
+
+# Hash for license files:
+sha256	8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643	COPYING
+sha256	cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30	LICENSE.Apache
+sha256	b568f1f37a5a1d37a3e981e7c8b7fc4856ca33b2ca0a45bc8e847aaaf7afe485	LICENSE.leveldb
+sha256	112d88749baec5ddecba47057216465e91e22352aac7677c50bd237a27614083	README.md
package/rocksdb/rocksdb.mk new file +67 -0

67 lines not on this page · raw message

Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/rocksdb: new package

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

The RocksDB library provides a persistent key value store. Keys and values are arbitrary byte arrays. The keys are ordered within the key value store according to a user-specified comparator function.

The library is maintained by the Facebook Database Engineering Team, and is based on LevelDB, by Sanjay Ghemawat and Jeff Dean at Google.

Quoted 8 lines

http://rocksdb.org

---
 DEVELOPERS                                    |   1 +
 package/Config.in                             |   1 +
 .../rocksdb/0001-Check-for-sys-auxv.h.patch   |  85 ++++++
 ...to-disable-building-shared-libraries.patch | 244 ++++++++++++++++++

check-package complains about your missing signed-off-by here, so I've added that and committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard