Skip to content

Support "darwin_x86_64" CPU in cares.BUILD.#18125

Merged
nicolasnoble merged 1 commit intogrpc:masterfrom
allevato:fix-cares-config
Feb 21, 2019
Merged

Support "darwin_x86_64" CPU in cares.BUILD.#18125
nicolasnoble merged 1 commit intogrpc:masterfrom
allevato:fix-cares-config

Conversation

@allevato
Copy link
Copy Markdown
Contributor

Bazel recognizes both "darwin" and "darwin_x86_64" as CPU values, and
the Apple Bazel rules currently recommend the latter for building
macOS targets. Until this is cleaned up, this change allows grpc to
build correctly when that configuration is used.

Fixes #17649.

Bazel recognizes both "darwin" and "darwin_x86_64" as CPU values, and
the Apple Bazel rules currently recommend the latter for building
macOS targets. Until this is cleaned up, this change allows grpc to
build correctly when that configuration is used.

Fixes grpc#17649.
@thelinuxfoundation
Copy link
Copy Markdown

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.

After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

Regards,
CLA GitHub bot

@allevato
Copy link
Copy Markdown
Contributor Author

I've signed the CLA.

@allevato
Copy link
Copy Markdown
Contributor Author

Thanks for the quick approval! Now that the checks have passed, is there anything else needed before you can merge this?

@nicolasnoble nicolasnoble merged commit 8fd43c2 into grpc:master Feb 21, 2019
@allevato allevato deleted the fix-cares-config branch February 25, 2019 16:25
chokobole added a commit to chokobole/felicia that referenced this pull request Mar 12, 2019
On macos, due to grpc can't be built with `--cpu darwin_x86_64`,
libgtest.a was built on `darwin` and `darwin_x86_64`, because
`objc_library`'s the default value of cpu is `local`, which is
`darwin_x86_64` and this depends on `gtest`.

Now grpc/grpc#18125 was accepted, and
we upgraded grpc version to v1.9.1
@lock lock bot locked as resolved and limited conversation to collaborators May 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lang/core release notes: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bazel build is broken on macOS

5 participants