-
Notifications
You must be signed in to change notification settings - Fork 161
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
fake_compiler works incorrectly on Bazel #48
Comments
|
I have no experience with Bazel. Googling a bit i found some other people wanting to generate the compile_commands: for example https://gist.github.com/bsilver8192/0115ee5d040bb601e3b7 It would be nice if bazel could support that However, it might be easier to do the build without compilation_command.json Instead of passing the So you can use simple something like this:
|
Hi @ogoffart , I am wondering how did you get that very long line of compiler arguments for Tensorflow? Thanks! |
@wangkuiyi |
Hi @Yangff , Thank you for the hint and the awesome work at http://yangff.coding.me/tf-doc/codebrowser/codebrowser/tensorflow ! But when I tried to follow your hint, I got an error complaining that the rule
|
If this is still an issue, you may also try out https://github.com/grailbio/bazel-compilation-database as an alternative. |
I'm trying to create a doc for tensorflow.
First, it's hard to use a dummy gcc on Bazel. (you need to change a lot of things)
And, the simple scripts is not work for Bazel's complicated build command (like
)
I've a idea for it, use
--subcommands
and recover compile info from it. I'm trying this and if I success I will post it here.The text was updated successfully, but these errors were encountered: