Skip to contentSkip to conversation

rocksdb: add version 5.8

PATCH Superseded Pascal Bach 2 participants 3 messages Oct 10, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rocksdb: add version 5.8

Version 5.8 does no longer includes the facebook patent grant and is licensed under the Apache-2.0 or GPL-2.0 license.

---
 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb | 28 +++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
meta-oe/recipes-extended/rocksdb/rocksdb_git.bb new file +28 -0
new file mode 100644
index 0000000..2e988bf
@@ -0,0 +1,28 @@
+SUMMARY = "RocksDB an embeddable, persistent key-value store"
+DESCRIPTION = "RocksDB is library that provides an embeddable, persistent key-value store for fast storage."
+HOMEPAGE = "http://rocksdb.org/"
+LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+                    file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
+
+SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
+PV = "5.8+git${SRCPV}"
+
+SRC_URI = "git://github.com/facebook/${BPN}.git"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "bzip2 zlib lz4"
+PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
+PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
+PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
+
+EXTRA_OECMAKE = "\
+    -DPORTABLE=ON \
+"
+
+FILES_${PN}-dev += "${libdir}/cmake"
Signature · 1 line
2.1.4
#1 lore raw

The v1 failed to build with:
http://errors.yoctoproject.org/Errors/Details/157120/

If the v2 only updated LICENSE, it will need fix for this as well.

Quoted 57 lines · Pascal Bach

Version 5.8 does no longer includes the facebook patent grant and is licensed under the Apache-2.0 or GPL-2.0 license.

---
 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb | 28
+++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
meta-oe/recipes-extended/rocksdb/rocksdb_git.bb new file +2 -0
new file mode 100644
index 0000000..2e988bf
@@ -0,0 +1,28 @@
+SUMMARY = "RocksDB an embeddable, persistent key-value store"
+DESCRIPTION = "RocksDB is library that provides an embeddable, persistent

key-value store for fast storage."

meta-oe/recipes-extended/rocksdb/rocksdb_git.bb new file +3 -0
+HOMEPAGE = "http://rocksdb.org/"
+LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=

3b83ef96387f14655fc854ddc3c6bd57 \

meta-oe/recipes-extended/rocksdb/rocksdb_git.bb new file +2 -0
+                    file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://LICENSE.leveldb;md5=

fb04ff57a14f308f2eed4a9b87d45837"

meta-oe/recipes-extended/rocksdb/rocksdb_git.bb new file +21 -1
+
+SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
+PV = "5.8+git${SRCPV}"
+
+SRC_URI = "git://github.com/facebook/${BPN}.git"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "bzip2 zlib lz4"
+PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
+PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
+PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
+
+EXTRA_OECMAKE = "\
+    -DPORTABLE=ON \
+"
+
+FILES_${PN}-dev += "${libdir}/cmake"
--

2.1.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 4 lines · Martin Jansa

The v1 failed to build with:
http://errors.yoctoproject.org/Errors/Details/157120/

If the v2 only updated LICENSE, it will need fix for this as well.

It seems this only happens on ARMv5 as there seems to be some instructions for atomic. I need to dig deeper into how I can fix this.

Quoted 56 lines · On Tue, Oct 10, 2017 at 8:59 AM, Pascal Bach <[email protected]…
    Version 5.8 does no longer includes the facebook patent grant and is
    licensed under the Apache-2.0 or GPL-2.0 license.

    Signed-off-by: Pascal Bach <[email protected] <mailto:[email protected]>>
    ---
     meta-oe/recipes-extended/rocksdb/rocksdb_git.bb <http://rocksdb_git.bb> | 28 +++++++++++++++++++++++++
     1 file changed, 28 insertions(+)
     create mode 100644 meta-oe/recipes-extended/rocksdb/rocksdb_git.bb <http://rocksdb_git.bb>

    diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb <http://rocksdb_git.bb> b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb <http://rocksdb_git.bb>
    new file mode 100644
    index 0000000..2e988bf
    --- /dev/null
    +++ b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb <http://rocksdb_git.bb>
    @@ -0,0 +1,28 @@
    +SUMMARY = "RocksDB an embeddable, persistent key-value store"
    +DESCRIPTION = "RocksDB is library that provides an embeddable, persistent key-value store for fast storage."
    +HOMEPAGE = "http://rocksdb.org/"
    +LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause"
    +LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
    +                    file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
    +                    file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
    +
    +SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
    +PV = "5.8+git${SRCPV}"
    +
    +SRC_URI = "git://github.com/facebook/${BPN}.git <http://github.com/facebook/$%7BBPN%7D.git>"
    +
    +S = "${WORKDIR}/git"
    +
    +inherit cmake
    +
    +PACKAGECONFIG ??= "bzip2 zlib lz4"
    +PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
    +PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
    +PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
    +PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
    +
    +EXTRA_OECMAKE = "\
    +    -DPORTABLE=ON \
    +"
    +
    +FILES_${PN}-dev += "${libdir}/cmake"
    --
    2.1.4

    --
    _______________________________________________
    Openembedded-devel mailing list
    [email protected] <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>