rules_spm icon indicating copy to clipboard operation
rules_spm copied to clipboard

Revert use of custom Bazel for macos_build in CI workflow

Open cgrindel opened this issue 2 years ago • 0 comments

Remove the use of the custom Bazel in themacos_build.

    # Remove this when Keith's PR is merged and made available in a Bazel release.
    env:
      USE_BAZEL_VERSION: cgrindel/6.0.0-keith_patch

Background

Error from GitHub Actions run.

ERROR: /private/var/tmp/_bazel_runner/6ba398470370e09a654e1f7bdb97a6ab/external/io_bazel_stardoc/stardoc/BUILD:70:12: Target '@io_bazel_stardoc//stardoc:renderer' depends on toolchain '@local_config_cc//:cc-compiler-darwin', which cannot be found: error loading package '@local_config_cc//': cannot load '@local_config_cc_toolchains//:osx_archs.bzl': no such file'

Keith's PR with fix.

  • bazelbuild/bazel#13529

Chuck's custom Bazel release with Keith's patch

Related Issues:

  • https://github.com/bazelbuild/bazel/issues/14459
  • https://github.com/bazelbuild/bazel/issues/14603

cgrindel avatar Jan 20 '22 23:01 cgrindel