From 8dc449b8f5bcdfde1e714f270b72881d24a0727e Mon Sep 17 00:00:00 2001 From: Deanna Garcia Date: Fri, 12 Aug 2022 16:40:17 +0000 Subject: [PATCH 1/2] Relocate macos protoc build --- kokoro/release/protoc/macos/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/kokoro/release/protoc/macos/build.sh b/kokoro/release/protoc/macos/build.sh index 8daddf67a7..850db46d40 100755 --- a/kokoro/release/protoc/macos/build.sh +++ b/kokoro/release/protoc/macos/build.sh @@ -6,5 +6,6 @@ CXXFLAGS_COMMON="-std=c++14 -DNDEBUG -mmacosx-version-min=10.9" cd github/protobuf bazel build //:protoc --dynamic_mode=off +cp bazel-bin/protoc build64/src/protoc file bazel-bin/protoc otool -L bazel-bin/protoc | grep dylib From 12e720f4ba0531f7d05850c1d21adee7736bec74 Mon Sep 17 00:00:00 2001 From: Deanna Garcia Date: Fri, 12 Aug 2022 16:53:12 +0000 Subject: [PATCH 2/2] Make directory before copying --- kokoro/release/protoc/macos/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/kokoro/release/protoc/macos/build.sh b/kokoro/release/protoc/macos/build.sh index 850db46d40..2a3143198f 100755 --- a/kokoro/release/protoc/macos/build.sh +++ b/kokoro/release/protoc/macos/build.sh @@ -6,6 +6,7 @@ CXXFLAGS_COMMON="-std=c++14 -DNDEBUG -mmacosx-version-min=10.9" cd github/protobuf bazel build //:protoc --dynamic_mode=off +mkdir -p build64/src cp bazel-bin/protoc build64/src/protoc file bazel-bin/protoc otool -L bazel-bin/protoc | grep dylib