Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov committed Jan 5, 2024
1 parent d72a951 commit 4d631a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/if_cuda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ It is a good practice to set target compatibility as e.g. done here for `//if_cu
With target compatibility set up, any attempt to build a `rules_cuda`-defined rule (e.g. `cuda_library` or `cuda_objects`) will _FAIL_ if `rules_cuda` is disabled:
```
bazel build //if_cuda:kernel --@rules_cuda//cuda:enable=false
bazel build //if_cuda:kernel --@rules_cuda//cuda:enable=false
ERROR: Target //if_cuda:kernel is incompatible and cannot be built, but was explicitly requested.
Dependency chain:
//if_cuda:kernel (6b3a99) <-- target platform (@local_config_platform//:host) didn't satisfy constraint @platforms//:incompatible
//if_cuda:kernel (6b3a99) <-- target platform (@local_config_platform//:host) didn't satisfy constraints [@rules_cuda//cuda:cuda_must_be_enabled, @rules_cuda//cuda:cuda_must_be_found]
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
```
Expand Down

0 comments on commit 4d631a3

Please sign in to comment.