Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "RocksDB an embeddable, persistent key-value store" |
| 2 | DESCRIPTION = "RocksDB is library that provides an embeddable, persistent key-value store for fast storage." |
| 3 | HOMEPAGE = "http://rocksdb.org/" |
| 4 | LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 6 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 7 | file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837" |
| 8 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 9 | SRCREV = "c60df9d9e7629fe208a9b848293a5599f83d5e77" |
| 10 | SRCBRANCH = "5.13.fb" |
| 11 | PV = "5.13.1" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 13 | SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH} \ |
| 14 | file://0001-Fix-GitHub-issue-3716-gcc-8-warnings.patch \ |
| 15 | " |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | inherit cmake |
| 20 | |
| 21 | PACKAGECONFIG ??= "bzip2 zlib lz4" |
| 22 | PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2" |
| 23 | PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4" |
| 24 | PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib" |
| 25 | PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF" |
| 26 | |
| 27 | # Tools and tests currently don't compile on armv5 so we disable them |
| 28 | EXTRA_OECMAKE = "\ |
| 29 | -DPORTABLE=ON \ |
| 30 | -DWITH_TESTS=OFF \ |
| 31 | -DWITH_TOOLS=OFF \ |
| 32 | " |