Skip to content
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

bazel clean gives an error: unrecognized arguments --@rules_cuda #51

Closed
bondhugula opened this issue Apr 24, 2021 · 2 comments
Closed

Comments

@bondhugula
Copy link

bondhugula commented Apr 24, 2021

After a fresh clone of the current git tip 46ba4b6, I can reproduce:

$ bazel clean
WARNING: Blaze clean does not support starlark options. Ignoring options: [--@rules_cuda//cuda:cuda_targets=sm_60, --@rules_cuda//cuda:compiler=clang, --@rules_cuda//cuda:copts=-Wno-unknown-cuda-version]
ERROR: Unrecognized arguments: --@rules_cuda//cuda:cuda_runtime=@tf_runtime//backends/gpu:cuda_stubs

bazel --version
bazel 4.0.0

I can reproduce this on too very different OSs - Ubuntu 20.04 LTS and CentOS 8.3.2011 with the same bazel version.

@tlemo
Copy link
Contributor

tlemo commented Apr 30, 2021

Seems to be the same issue as #39

@chsigg
Copy link
Collaborator

chsigg commented Jun 22, 2021

Thanks Leonard. Yes, please use bazel --noworkspace_rc clean as a workaround according to #39.

@chsigg chsigg closed this as completed Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants