-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Query] Is it possible to use a wrapper for the compiler executables #178
Comments
Are you the wrapper author? We already have a wrapper here: https://github.com/f0rmiga/gcc-toolchain/blob/36e3e1f430871b539ce9261f53491564aa91c170/toolchain/wrapper.sh.tpl. It gets rendered here: gcc-toolchain/toolchain/defs.bzl Lines 229 to 237 in 36e3e1f
This means you have to patch If you come up with a solution that can be upstreamed, I'm happy to review a PR. Feel free to reopen this issue if my suggestion doesn't work. |
I created a pull request which help for this issue. Not a major change but in think it may help |
We are using a internal wrapper tool in the make for the gcc compiler.
In bazel since we need to use the toolchain, is there a way to run this wrapper in the toolchain.
EG:- The default gcc command is as
/usr/bin/gcc <args for compiler>
(Thnx to toolchain I can directly use the arch we need)Need to run a
<wrapper> <args_for_wrapper> /usr/bin/gcc <args for compiler>
Please help on a approach to achieve this using the hermatic toolchain.
The text was updated successfully, but these errors were encountered: