diff --git a/extension/llm/custom_ops/spinquant/third-party/FFHT/targets.bzl b/extension/llm/custom_ops/spinquant/third-party/FFHT/targets.bzl index 9ba0ae32fb4..d99f7418b30 100644 --- a/extension/llm/custom_ops/spinquant/third-party/FFHT/targets.bzl +++ b/extension/llm/custom_ops/spinquant/third-party/FFHT/targets.bzl @@ -19,6 +19,9 @@ def define_common_targets(): "DEFAULT": [], "ovr_config//cpu:arm64": ["fht_neon.c"], "ovr_config//cpu:x86_64": ["fht_avx.c"], + "ovr_config//os:iphoneos": ["fht_avx.c"], + "ovr_config//os:macos-x86_64": ["fht_avx.c"], + "ovr_config//os:macos-arm64": ["fht_neon.c"], }), exported_headers = ["fht.h"], visibility = ["@EXECUTORCH_CLIENTS"],