forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mobile] add buck build for mobile targets (pytorch#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: pytorch#76480 Approved by: https://github.com/seemethere, https://github.com/dreiss
- Loading branch information
1 parent
e5a752a
commit 168dc70
Showing
24 changed files
with
4,356 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[buildfile] | ||
name = BUILD.buck | ||
|
||
[repositories] | ||
bazel_skylib = third_party/bazel-skylib/ | ||
|
||
[download] | ||
in_build = true | ||
|
||
[cxx] | ||
cxxflags = -std=c++17 | ||
should_remap_host_platform = true | ||
|
||
[project] | ||
default_flavors_mode=all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -325,3 +325,7 @@ pr.diff | |
.lsp-buck-out/ | ||
.lsp.buckd/ | ||
buck-out/ | ||
|
||
# Downloaded libraries | ||
third_party/ruy/ | ||
third_party/glog/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.