From b8ef60b6bcce244a7c5baa5f5cd29a81abde8c92 Mon Sep 17 00:00:00 2001 From: Frank Seide Date: Wed, 6 Aug 2025 20:20:32 +0000 Subject: [PATCH] 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 --- third_party/xnnpack.buck.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/xnnpack.buck.bzl b/third_party/xnnpack.buck.bzl index db16e3565273..b353d5d0d598 100644 --- a/third_party/xnnpack.buck.bzl +++ b/third_party/xnnpack.buck.bzl @@ -2227,6 +2227,7 @@ def define_xnnpack(third_party, labels = [], XNNPACK_WINDOWS_AVX512F_ENABLED = F ], # doesn't cover iphonesimulator-x86_64 "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"], }), )