Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel build failed in mac #13833

Closed
liumilan opened this issue Aug 12, 2021 · 1 comment
Closed

bazel build failed in mac #13833

liumilan opened this issue Aug 12, 2021 · 1 comment

Comments

@liumilan
Copy link

mac version is
Darwin-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64
bazel version is bazel 4.1.0-homebrew
and when using bazel to build c++ code,it report Target '//:common_featurer' depends on toolchain '@local_config_cc//:cc-compiler-darwin_arm64', which cannot be found: no such target '@local_config_cc//:cc-compiler-darwin_arm64': target 'cc-compiler-darwin_arm64' not declared in package
how to fix it ?

@keith
Copy link
Member

keith commented Aug 12, 2021

Probably a duplicate of #13514, you can test with the 4.2 RC to verify https://releases.bazel.build/4.2.0/rc3/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants