Rename build files from TARGETS to BUCK (group ID: -1179671466944197245) (#19416)#19416
Rename build files from TARGETS to BUCK (group ID: -1179671466944197245) (#19416)#19416bigfootjon wants to merge 1 commit intomainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19416
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: ❌ 2 New FailuresAs of commit 5d35efa with merge base 4413a5c ( NEW FAILURES - The following jobs have failed:
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 D104414920. |
This PR needs a
|
There was a problem hiding this comment.
Pull request overview
This PR migrates Vulkan backend Buck build definitions from legacy TARGETS files into BUCK files, using build_file_migration.bzl wrappers to distinguish fbcode vs non-fbcode targets.
Changes:
- Removed
TARGETSfiles underbackends/vulkan/test/**and merged their definitions into correspondingBUCKfiles. - Introduced
fbcode_target/non_fbcode_targetwrappers for shared build-file migration. - Updated Vulkan passes BUCK targets to be wrapped with
fbcode_target.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| backends/vulkan/test/TARGETS | Deleted; fbcode Python test targets migrated into backends/vulkan/test/BUCK. |
| backends/vulkan/test/op_tests/TARGETS | Deleted; fbcode invocation migrated into backends/vulkan/test/op_tests/BUCK. |
| backends/vulkan/test/op_tests/BUCK | Added; wraps common targets for fbcode vs non-fbcode. |
| backends/vulkan/test/custom_ops/TARGETS | Deleted; fbcode invocation migrated into backends/vulkan/test/custom_ops/BUCK. |
| backends/vulkan/test/custom_ops/BUCK | Added; wraps common targets for fbcode vs non-fbcode. |
| backends/vulkan/test/BUCK | Updated; now hosts both non-fbcode compute API targets and fbcode Python unittests. |
| backends/vulkan/_passes/BUCK | Updated; wraps existing python_library targets with fbcode_target. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # !!!! fbcode/executorch/backends/vulkan/test/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!! | ||
|
|
||
| load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest") | ||
| load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") | ||
|
|
| oncall("executorch") | ||
| # Any targets that should be shared between fbcode and xplat must be defined in | ||
| # targets.bzl. This file can contain xplat-only targets. | ||
|
|
||
| load(":targets.bzl", "define_common_targets") |
| oncall("executorch") | ||
| # Any targets that should be shared between fbcode and xplat must be defined in | ||
| # targets.bzl. This file can contain xplat-only targets. | ||
|
|
||
| load(":targets.bzl", "define_common_targets") |
749cd5a to
5d35efa
Compare
Summary: Pull Request resolved: #19416
Reviewed By: bigfootjon
Differential Revision: D104414920