-
Notifications
You must be signed in to change notification settings - Fork 36
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
[G++] support #24
[G++] support #24
Conversation
copts = [ | ||
"-mcpu=cortex-m4", | ||
"-mthumb", | ||
"-mfloat-abi=hard", | ||
"-mfpu=fpv4-sp-d16", | ||
], | ||
gcc_tool = "g++", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is how g++
can be enabled
* [CC] no stdinc * [CC] bazel include and library paths * [BAZEL] test backward compat * [BAZEL] restore workspace * [CONFIG] restore behavior * [CI] fix windows env * [GCC] no canonical headers * [BZLMOD] add platforms dep (#27) * [BZLMOD] add platforms dep * [CI] switch to nativelink * add support for GCC 13.2.1 --------- Co-authored-by: d-asnaghi <[email protected]>
@RyanDraves mind taking a look at this? If you're happy and it works with bzlmod, I'll merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes LGTM. I built and flashed a sample target onto a microcontroller with this commit; works great!
I'm using bzlmod w/ Bazel 7.0.0
Provide a way to create custom toolchains that use
g++
instead ofgcc