From 73e608da0eb11fb0c7995f547285b23d4d0c375b Mon Sep 17 00:00:00 2001 From: Molly Tian Date: Thu, 12 Oct 2023 12:27:44 -0700 Subject: [PATCH] Add flags specific to mac os system to workaround missing support of paths with spaces for runfiles. More information about the issue can be found in https://github.com/bazelbuild/bazel/issues/4327. PiperOrigin-RevId: 572980749 --- .bazelrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bazelrc b/.bazelrc index 5913e83..dc72c73 100644 --- a/.bazelrc +++ b/.bazelrc @@ -12,6 +12,12 @@ build --strategy=JavaDeployJar=local build --strategy=JavaSourceJar=local build --strategy=Turbine=local +# --experimental_inprocess_symlink_creation is used to workaround the missing +# support for paths with spaces https://github.com/bazelbuild/bazel/issues/4327. +# Remove the two flags after this issue is fixed in bazel new release. +build --enable_platform_specific_config +build:macos --experimental_inprocess_symlink_creation + test --test_output=errors # Enable Java 11