Merge pull request #217563 from wegank/grpc-cli-aarch64

grpc_cli: add aarch64-linux support
This commit is contained in:
Weijia Wang 2023-02-23 21:19:56 +02:00 committed by GitHub
commit 8aa6b18411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ curl numactl ];
cmakeFlags = [ "-DgRPC_BUILD_TESTS=ON" ];
makeFlags = [ "grpc_cli" ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-Wno-error=format-security";
installPhase = ''
runHook preInstall
@ -26,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/grpc/grpc";
license = licenses.asl20;
maintainers = with maintainers; [ doriath ];
platforms = [ "x86_64-linux" ];
platforms = platforms.linux;
};
}