Enable XNNPACK aarch64 builds (#159762)

Summary:
This fixes the build of TorchScript's XNNPACK dependency for our aarch64 device.

Thanks to andrewjcg for proposing this fix.

Rollback Plan:

Reviewed By: andrewjcg

Differential Revision: D79497613

Pull Request resolved: https://github.com/pytorch/pytorch/pull/159762
Approved by: https://github.com/frankseide, https://github.com/malfet

Co-authored-by: Frank Seide <seide@meta.com>
This commit is contained in:
Frank Seide
2025-08-06 20:20:32 +00:00
committed by PyTorch MergeBot
parent 0de2a45a48
commit b8ef60b6bc

View File

@ -2227,6 +2227,7 @@ def define_xnnpack(third_party, labels = [], XNNPACK_WINDOWS_AVX512F_ENABLED = F
], ],
# doesn't cover iphonesimulator-x86_64 # doesn't cover iphonesimulator-x86_64
"ovr_config//runtime:arm64-linux-ubuntu-neon": [":arm64_lib"], "ovr_config//runtime:arm64-linux-ubuntu-neon": [":arm64_lib"],
"ovr_config//runtime:fbcode-arm64": [":arm64_lib"],
"ovr_config//runtime:platform010": [":x86_and_x86_64_lib"], "ovr_config//runtime:platform010": [":x86_and_x86_64_lib"],
}), }),
) )