-
Notifications
You must be signed in to change notification settings - Fork 4
Clang support? #16
Comments
Hi! I don't think that adding more and more compilers to the Docker image is a long term solution. Other ways to solve it:
What do you think? |
There may be a way to do this without any changes at all using the CROSSTOOL option, but it doesn't look trivial. I think that the latter option is probably the best, but it looks like a larger engineering effort. It also strongly couples the project to github- which is fine but the containers are potentially useful outside of the actions context. HB a I'm sure other docker based actions are probably running into similar issues. Honestly the easiest option for consumers is to fork and implement their own changes, which looks like it already happening: https://github.com/Penn-Electric-Racing/bazel-action/blob/master/Dockerfile I threw this over to g/bazel-discuss just to see if anyone else has ideas: https://groups.google.com/forum/#!topic/bazel-discuss/G4IVy55fzC0 |
I agree that forking is the easiest option, and probably the best if you need a specific setup. By the way, it looks like |
Thank you for your input! I thought a bit about this, and I no longer see any reason for this action, see #25. I think you will find it easier to fill your needs with the approach I mention in the README |
g++
does weird things with my tests. I generally run onclang
.entry.sh
to pull a requested compiler.Setting the
CC_COMPILE
env variable is sufficient for Bazel.The text was updated successfully, but these errors were encountered: