[arch-commits] Commit in rocksdb/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Fri Mar 27 01:28:51 UTC 2020
Date: Friday, March 27, 2020 @ 01:28:50
Author: anatolik
Revision: 604940
upgpkg: rocksdb 6.7.3-1
Modified:
rocksdb/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-27 01:28:32 UTC (rev 604939)
+++ PKGBUILD 2020-03-27 01:28:50 UTC (rev 604940)
@@ -2,7 +2,7 @@
# Contributor: László Várady <laszlo.varady93 at gmail.com>
pkgname=rocksdb
-pkgver=6.5.3
+pkgver=6.7.3
pkgrel=1
pkgdesc='Embedded key-value store for fast storage'
arch=(x86_64)
@@ -9,26 +9,28 @@
url="https://rocksdb.org/"
license=(GPL2 Apache)
depends=(bzip2 gcc-libs gflags jemalloc lz4 snappy zlib zstd)
-makedepends=(cmake)
+makedepends=(cmake ninja)
#checkdepends=('python2')
source=(rocksdb-$pkgver.tar.gz::https://github.com/facebook/rocksdb/archive/v$pkgver.tar.gz)
-sha256sums=('6dc023a11d61d00c8391bd44f26ba7db06c44be228c10b552edc84e02d7fbde2')
+sha256sums=('c4d1397b58e4801b5fd7c3dd9175e6ae84541119cbebb739fe17d998f1829e81')
build() {
cd rocksdb-$pkgver
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_BZ2=ON -DWITH_LZ4=ON -DWITH_SNAPPY=ON -DWITH_ZLIB=ON -DWITH_ZSTD=ON \
- -DUSE_RTTI=ON -DWITH_JEMALLOC=ON -DWITH_TESTS=OFF -DFAIL_ON_WARNINGS=OFF -DPORTABLE=ON \
- -S . -B build
- cmake --build build
+ -DUSE_RTTI=ON -DWITH_JEMALLOC=ON -DFAIL_ON_WARNINGS=OFF -DPORTABLE=ON \
+ -DWITH_BENCHMARK_TOOLS=OFF \
+ -GNinja -S . -B build
+ ninja -C build
}
check() {
cd rocksdb-$pkgver
- # cmake --build build --target test
+ # currently upstream enables tests for Debug configuration only
+ # ninja -C build check
}
package() {
cd rocksdb-$pkgver
- cmake --build build --target install -- DESTDIR="$pkgdir"
+ DESTDIR="$pkgdir" ninja -C build install
}
More information about the arch-commits
mailing list