Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy files into
local_config_apple_cc
instead of symlinking
There is a bug in Bazel where the symlinks can resolve (nondeterministically in a race condition way) to old contents of files. This leads to errors like: ``` ERROR: error loading package '@@apple_support~~apple_cc_configure_extension~local_config_apple_cc//': Encountered error while reading extension file 'cc_toolchain_config.bzl': Unexpected short read from file '/Users/brentley.jones/Developer/rules_xcodeproj/bazel-output-base/external/apple_support~~apple_cc_configure_extension~local_config_apple_cc/cc_toolchain_config.bzl' (expected 100570, got 95733 bytes) ``` or ``` ERROR: /Users/brentley.jones/Developer/rules_xcodeproj/bazel-output-base/external/apple_support~~apple_cc_configure_extension~local_config_apple_cc/cc_toolchain_config.bzl:2667:23: syntax error at 'newline': expected ] ``` Signed-off-by: Brentley Jones <github@brentleyjones.com>
- Loading branch information