* update benchmark to 1.9.0-1

This commit is contained in:
Alexander Baldeck 2024-10-01 17:50:28 +02:00
parent 0e8916480a
commit da682a5dde
3 changed files with 24 additions and 6 deletions

17
benchmark/.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = benchmark
pkgdesc = A microbenchmark support library
pkgver = 1.9.0
pkgrel = 1
url = https://github.com/google/benchmark
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = Apache-2.0
makedepends = cmake
depends = gcc-libs
source = https://github.com/google/benchmark/archive/v1.9.0/benchmark-1.9.0.tar.gz
sha256sums = 35a77f46cc782b16fac8d3b107fbfbb37dcd645f7c28eee19f3b8e0758b48994
pkgname = benchmark

View File

@ -0,0 +1,4 @@
[benchmark]
source = "git"
git = "https://github.com/google/benchmark.git"
prefix = "v"

View File

@ -3,7 +3,7 @@
# Contributor: Philipp Claßen <philipp.classen@posteo.de>
pkgname=benchmark
pkgver=1.8.4
pkgver=1.9.0
pkgrel=1
pkgdesc="A microbenchmark support library"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -12,14 +12,11 @@ license=('Apache-2.0')
depends=('gcc-libs')
makedepends=('cmake')
source=("https://github.com/google/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
"https://patch-diff.githubusercontent.com/raw/google/benchmark/pull/1793.patch")
sha256sums=('3e7059b6b11fb1bbe28e33e02519398ca94c1818874ebed18e504dc6f709be45'
'a064ca14bf086113c0eaae21a4f59f39e43e6291554b6d4985388e9553675bbb')
source=("https://github.com/google/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('35a77f46cc782b16fac8d3b107fbfbb37dcd645f7c28eee19f3b8e0758b48994')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../1793.patch
mkdir -p build
}