runtime
runtime copied to clipboard
rules_cuda example fails to run
When I run bazel run --cuda //examples:hello_cuda, it fails with the following error
gcc-8: error: unrecognized command line option '-Wthread-safety'; did you mean '-fthread-jumps'? gcc-8: error: unrecognized command line option '-Wself-assign'; did you mean '-Wcast-align'? gcc-8: error: unrecognized command line option '-fcolor-diagnostics'
These seem to be clang option, not gcc's.
It almost looks like you are picking up these copts. Do you have those in your ~/.bazelrc file or something?
Would you mind providing the output of bazel build --announce_rc --cuda //examples:hello_cuda?