mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/grpc: fix
This commit is contained in:
parent
121795b5e3
commit
227c3b8a42
1 changed files with 2 additions and 6 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - explicitly link v5/v6 with libatomic
|
||||
# - upstream PR to fix FTBFS
|
||||
|
||||
pkgbase='grpc'
|
||||
pkgname=('grpc' 'python-grpcio' 'php-grpc' 'php7-grpc' 'grpc-cli')
|
||||
|
@ -19,12 +18,10 @@ makedepends=('re2' 're2c' 'protobuf' 'php' 'php7' 'c-ares' 'openssl' 'chrpath' '
|
|||
'cmake' 'benchmark' 'python-setuptools' 'abseil-cpp' 'ninja')
|
||||
source=("https://github.com/grpc/grpc/archive/v$pkgver/$pkgbase-$pkgver.tar.gz"
|
||||
"https://github.com/google/googletest/archive/$_gtestver/googletest-$_gtestver.tar.gz"
|
||||
"python-grpcio-use-system-abseil.patch"
|
||||
"https://patch-diff.githubusercontent.com/raw/grpc/grpc/pull/28196.patch")
|
||||
"python-grpcio-use-system-abseil.patch")
|
||||
sha256sums=('9647220c699cea4dafa92ec0917c25c7812be51a18143af047e20f3fb05adddc'
|
||||
'443d383db648ebb8e391382c0ab63263b7091d03197f304390baac10f178a468'
|
||||
'3cfb289266f9d2697b917e4400f18a6592f95a99e658e401c1332870b219358b'
|
||||
'24e23817d5848413add68f1bd60e840c321a5a6ca48b0e9a8f70aaaca83f00bd')
|
||||
'3cfb289266f9d2697b917e4400f18a6592f95a99e658e401c1332870b219358b')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgbase-$pkgver"
|
||||
|
@ -38,7 +35,6 @@ prepare() {
|
|||
if [[ $CARCH == "armv6h" || $CARCH == "arm" ]]; then
|
||||
sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" CMakeLists.txt
|
||||
fi
|
||||
patch -p1 -i ../28196.patch
|
||||
|
||||
cmake -Bbuild \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
|
|
Loading…
Reference in a new issue