mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Rm pytorch deps platform args (#163086)
Summary: Platform args was a buck1 concept that we decided to port over to buck2 in order to make the migration easier. However, platforms args existing in the repo blocks some buck modernization like modefile free efforts, so we're trying to get rid of the usage. Test Plan: CI Rollback Plan: Differential Revision: D82470032 Pull Request resolved: https://github.com/pytorch/pytorch/pull/163086 Approved by: https://github.com/malfet, https://github.com/8Keep
This commit is contained in:
@ -1998,7 +1998,21 @@ def define_buck_targets(
|
||||
third_party("sleef_arm"),
|
||||
],
|
||||
}),
|
||||
compiler_flags = get_aten_compiler_flags(),
|
||||
compiler_flags = get_aten_compiler_flags() + select({
|
||||
"DEFAULT": [],
|
||||
"ovr_config//os:android-arm32": [
|
||||
"-mfpu=vfpv3-d16",
|
||||
"-march=armv7-a",
|
||||
"-mthumb",
|
||||
"-mfpu=neon",
|
||||
],
|
||||
"ovr_config//os:android-x86_32": [
|
||||
"-mssse3",
|
||||
],
|
||||
"ovr_config//os:android-x86_64": [
|
||||
"-mssse3",
|
||||
],
|
||||
}),
|
||||
exported_preprocessor_flags = get_aten_preprocessor_flags(),
|
||||
exported_deps = [
|
||||
":aten_header",
|
||||
|
Reference in New Issue
Block a user