Rename build files from TARGETS to BUCK (group ID: -7288301333183062993) (#19425)#19425
Rename build files from TARGETS to BUCK (group ID: -7288301333183062993) (#19425)#19425bigfootjon wants to merge 1 commit intomainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19425
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@bigfootjon has exported this pull request. If you are a Meta employee, you can view the originating Diff in D104414850. |
This PR needs a
|
There was a problem hiding this comment.
Pull request overview
Migrates ExecuTorch EXIR Buck build definitions from TARGETS files to BUCK files, aligning these directories with the expected build-file naming while preserving the existing target graph via fbcode_target wrappers.
Changes:
- Moved
exir/testsBuck targets fromTARGETSintoBUCKusingfbcode_target. - Moved
exir/emitBuck targets fromTARGETSintoBUCKusingfbcode_target. - Updated
exir/dialects/test/BUCKto wrap the unittest target withfbcode_target.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| exir/tests/TARGETS | Removed in favor of exir/tests/BUCK. |
| exir/tests/BUCK | Added migrated targets previously defined in exir/tests/TARGETS. |
| exir/emit/TARGETS | Removed in favor of exir/emit/BUCK. |
| exir/emit/BUCK | Added migrated targets previously defined in exir/emit/TARGETS. |
| exir/dialects/test/BUCK | Wrapped existing unittest target with fbcode_target for migration consistency. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,4 +1,513 @@ | |||
| load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target") | |||
| oncall("executorch") | |||
| # add this empty BUCK file to unblock landing. Without this, we get land error: | |||
| @@ -1,4 +1,45 @@ | |||
| load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target") | |||
| oncall("executorch") | |||
| # add this empty BUCK file to unblock landing. Without this, we get land error: | |||
850c3d8 to
6414aae
Compare
Summary: Pull Request resolved: #19425
Reviewed By: bigfootjon
Differential Revision: D104414850