From 9b7685436b2c82abc327823f77462ae847d0ed09 Mon Sep 17 00:00:00 2001 From: Deanna Garcia Date: Fri, 13 Aug 2021 20:09:07 +0000 Subject: [PATCH 1/2] Removing php workaround --- php/generate_test_protos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/generate_test_protos.sh b/php/generate_test_protos.sh index 424b50f42b..8607499c8e 100755 --- a/php/generate_test_protos.sh +++ b/php/generate_test_protos.sh @@ -10,7 +10,7 @@ else # Bazel seems to be creating a problematic symlink in # _build/out/external/com_google_protobuf, so we remove the _build directory # before building protoc. - (cd .. && rm -rf _build && bazel build -c opt :protoc) + (cd .. && bazel build -c opt :protoc) PROTOC=bazel-bin/protoc fi From b3d25f7d2f3372436b710afdfe19573783af44a4 Mon Sep 17 00:00:00 2001 From: Deanna Garcia Date: Fri, 13 Aug 2021 23:35:37 +0000 Subject: [PATCH 2/2] Add _build to .bazelignore --- .bazelignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.bazelignore b/.bazelignore index 201f851370..5c3a81cce9 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,3 +1,4 @@ # These are fetched as external repositories. third_party/benchmark third_party/googletest +_build/