From 7f02c3b16bb76c6928f91b025cdce8f59fa8fc06 Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Fri, 27 May 2022 11:11:05 -0700 Subject: [PATCH] Fix continuous aarch64 builds (#10067) Some of the continuous aarch64 builds started failing yesterday because the autotools -> CMake change caused the protoc binary to end up in an unexpected location. This change fixes the problem by putting a symlink in the src/ directory. --- kokoro/linux/aarch64/protoc_crosscompile_aarch64.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kokoro/linux/aarch64/protoc_crosscompile_aarch64.sh b/kokoro/linux/aarch64/protoc_crosscompile_aarch64.sh index 2880507539..d116c2f4a1 100755 --- a/kokoro/linux/aarch64/protoc_crosscompile_aarch64.sh +++ b/kokoro/linux/aarch64/protoc_crosscompile_aarch64.sh @@ -6,3 +6,6 @@ set -ex cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_WITH_ZLIB=0 . make -j8 + +# The Java build setup expects the protoc binary to be in the src/ directory. +ln -s $PWD/protoc ./src/protoc