13 Commits

Author SHA1 Message Date
a69785b3ec [BE] fix typos in tools/ (#156082)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156082
Approved by: https://github.com/soulitzer
ghstack dependencies: #156079
2025-06-17 19:25:50 +00:00
25d8a0480b [lint] Remove unnecessary BUCKRESTRICTEDSYNTAX suppressions
Differential Revision: D59935630

Pull Request resolved: https://github.com/pytorch/pytorch/pull/131187
2024-07-19 07:19:11 -07:00
afe6d272c6 Fix buck OSS build after #115570 (#115804)
From #115570, `supports_shlib_interfaces` is only available in https://buck2.build/docs/api/rules/ not buck https://buck.build/rule/cxx_library.html.  The best way to fix this is probably to migrate OSS CI to buck2, so this is a temporary workaround because the fix from #115570 is only needed internally anyway
Pull Request resolved: https://github.com/pytorch/pytorch/pull/115804
Approved by: https://github.com/kit1980, https://github.com/malfet
2023-12-14 08:33:07 +00:00
a1d041728b Back out "[aarch64][tools/build_defs/third_party/fbcode_defs.bzl] Fix dep handling in cross-builds"
Differential Revision: D45415678nnPull Request resolved: https://github.com/pytorch/pytorch/pull/100294
2023-05-01 16:27:51 -07:00
0b1b063158 [buckbuild.bzl] Fix dep handling in cross-builds
Differential Revision: D44960349nnPull Request resolved: https://github.com/pytorch/pytorch/pull/99826
2023-04-25 20:53:28 -07:00
b62d39eda0 Consolidate all python targets in the tools folder (#80408)
Summary:
All buck targets that points to caffe2/tools folder are now moved to tools/BUCK.
This also eliminates all python library/binary import in pt_defs.bzl, which caused T124308913.

Test Plan: CI

Differential Revision: D37468313

Pull Request resolved: https://github.com/pytorch/pytorch/pull/80408
Approved by: https://github.com/seemethere, https://github.com/malfet
2022-06-29 23:27:47 +00:00
edf76cd9c2 Move qnnpack to shared BUCK build (#80260)
Differential Revision: D37434340

Pull Request resolved: https://github.com/pytorch/pytorch/pull/80260
Approved by: https://github.com/larryliu0820, https://github.com/malfet
2022-06-29 22:40:37 +00:00
736bbe1ec7 [3] move aten targets to shared buck file (#79966)
Summary: move aten related targets to the shared buck file

Test Plan: Github CI, sandcastle

Differential Revision: D37323401

Pull Request resolved: https://github.com/pytorch/pytorch/pull/79966
Approved by: https://github.com/iseeyuan
2022-06-23 15:16:44 +00:00
c9cbdb411d [2] move more pytorch buck targets to shared build (#79330)
Summary: as title

Test Plan: sandcastle and oss CI

Differential Revision: D37087229

Pull Request resolved: https://github.com/pytorch/pytorch/pull/79330
Approved by: https://github.com/dhruvbird
2022-06-22 03:14:23 +00:00
430955b3a8 [Test] create shared targets for xplat aten (#78345)
Differential Revision: D36694963

Pull Request resolved: https://github.com/pytorch/pytorch/pull/78345
Approved by: https://github.com/kit1980
2022-06-08 22:20:03 +00:00
1f8049566f Re-land BUCK build for pytorch mobile (#77612)
see https://github.com/pytorch/pytorch/pull/76480
fixed most lint errors
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77612
Approved by: https://github.com/kit1980
2022-05-17 00:30:13 +00:00
530481ed69 Revert "[mobile] add buck build for mobile targets (#76480)"
This reverts commit 168dc70faf9764417a7e41a14bf2f4e15a7f3e4a.

Reverted https://github.com/pytorch/pytorch/pull/76480 on behalf of https://github.com/atalman
2022-05-16 16:14:17 +00:00
168dc70faf [mobile] add buck build for mobile targets (#76480)
Create buck targets to replicate internal BUCK build, including
- XNNPACK
- QNNPACK
- C10
- aten_cpu
- torch_mobile_core
- torch_mobile_all_ops
- ptmobile_benchmark

And able to run mobilenet v2 using ptmobile_benchmark (with all ops).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76480
Approved by: https://github.com/seemethere, https://github.com/dreiss
2022-05-15 18:42:41 +00:00