extra/benchmark to 1.8.5-1

This commit is contained in:
David Beauchamp 2024-07-18 11:26:29 -04:00
parent bc6a927c4a
commit 2a04cbb16c
3 changed files with 20 additions and 6 deletions

13
extra/benchmark/.SRCINFO Normal file
View file

@ -0,0 +1,13 @@
pkgbase = benchmark
pkgdesc = A microbenchmark support library
pkgver = 1.8.5
pkgrel = 1
url = https://github.com/google/benchmark
arch = x86_64
license = Apache-2.0
makedepends = cmake
depends = gcc-libs
source = https://github.com/google/benchmark/archive/v1.8.5/benchmark-1.8.5.tar.gz
sha256sums = d26789a2b46d8808a48a4556ee58ccc7c497fcd4c0af9b90197674a81e04798a
pkgname = benchmark

View file

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

View file

@ -5,7 +5,7 @@
# - -DBENCHMARK_ENABLE_LTO=OFF
pkgname=benchmark
pkgver=1.8.4
pkgver=1.8.5
pkgrel=1
pkgdesc="A microbenchmark support library"
arch=('x86_64')
@ -14,14 +14,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=('d26789a2b46d8808a48a4556ee58ccc7c497fcd4c0af9b90197674a81e04798a')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../1793.patch
mkdir -p build
}