rules_foreign_cc
rules_foreign_cc copied to clipboard
Issue building with system Python in MacOS Monterey 12.4
In MacOS Monterey 12.4, python
is no longer a command that's installed by default; only python3
. When building MySQL through rules_foreign_cc, I get a python not found
based on this call https://github.com/bazelbuild/rules_foreign_cc/blob/main/foreign_cc/private/framework/toolchains/macos_commands.bzl#L255.
I wasn't sure how to provide Bazel with an alias for python
during this build script step; so I ended up forking this repo and modifying the line.
If there's a best practice that I missed, PLMK, I'm new to Bazel and very new to rules_foreign_cc
.
Thank you for your consideration.