Skip to content

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

Closed
@bondhugula

Description

@bondhugula

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions