Skip to content

Commit

Permalink
disable the //:generate-code target in Bazel (pytorch#76174)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#76174

This is about to conflict with the existing Bazel codegen
outputs. Switch to it atomically.
ghstack-source-id: 155029309

Test Plan: Verify manually and rely on CI.

Reviewed By: dreiss

Differential Revision: D35815288

fbshipit-source-id: 8b35e7baeb8572aef13c07cac689ee84dc7335d5
(cherry picked from commit 6dde983)
  • Loading branch information
mikey dagitses authored and pytorchmergebot committed May 3, 2022
1 parent 596c54c commit 401179f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ def define_targets(rules):
"--native-functions-path $(location :native_functions.yaml) " +
"--tags-path=$(location :tags.yaml) " +
"--gen_lazy_ts_backend",
tags = [
# Filter this target out for Bazel until we are ready to
# use it. When we refactor this for fbcode it will start
# to conflict with the Bazel code generator.
"-bazel",
],
)

rules.genrule(
Expand Down

0 comments on commit 401179f

Please sign in to comment.