Grigory Kirillov 5a31a06c12 testing/simdjson: new aport
Parsing gigabytes of JSON per second
https://simdjson.org
2022-05-20 16:14:43 +00:00

36 lines
1.0 KiB
Plaintext

# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Grigory Kirillov <txgk@bk.ru>
pkgname=simdjson
pkgver=1.1.0
pkgrel=0
pkgdesc="Parsing gigabytes of JSON per second"
url="https://simdjson.org"
arch="all"
license="Apache-2.0"
# tests take a very long time to compile and require downloading other JSON parsers
options="!check"
makedepends="cmake samurai"
subpackages="$pkgname-static $pkgname-dev"
source="https://github.com/simdjson/simdjson/archive/v$pkgver/simdjson-$pkgver.tar.gz"
build() {
cmake -B builddir -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON
cmake -B builddir-static -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
cmake --build builddir
cmake --build builddir-static
}
package() {
DESTDIR="$pkgdir" cmake --install builddir
DESTDIR="$pkgdir" cmake --install builddir-static
}
sha512sums="
f8718bd039e1a25f0b95880b957c43e6eba6eada6bb7f58cedde37669a46b15b3ff9f4c4ea775e1cf949657642ef0472fa8bac5bdc98882df63e7f292fb5a723 simdjson-1.1.0.tar.gz
"