Open stonebrakert6 opened 5 months ago
This is resolved if I do
bazel run --action_env=CC=clang --verbose_failures --sandbox_debug //:refresh_compile_commands
My project is built using clang but atleast compilation for print_args
shouldn't have any problem as gcc is also installed on my system and ld is at /usr/bin/ld
I am new to bazel and if someone can provide a oneliner, it would help in my understanding.
For some strange reason I am getting linking errors while running
bazel run //:refresh_compile_commands
. Prima facie it looks that I am doing something blatantly silly/stupid. Would really appreciate if someone can point me in the right direction.ld is already present
Here is my BUILD.bazel
I am using WORKSPACE file. Here is the top of the file
Bazel version