Skip to content

Commit dde53ca

Browse files
Di Xu (SWE)facebook-github-bot
authored andcommitted
Fix undefined fht_float in Apple OS (#10280)
Summary: Fix undefined fht_float in Apple OS - Added the lib source file for default OS: executorch/extension/llm/custom_ops/spinquant/third-party/FFHT/targets.bzl - Other changes are auto-gen by the linter ``` source ~/.bashrc cd ~/fbsource/fbcode/executorch conda activate executorch lintrunner -a ``` Differential Revision: D73213645
1 parent f911567 commit dde53ca

File tree

1 file changed

+3
-0
lines changed
  • extension/llm/custom_ops/spinquant/third-party/FFHT

1 file changed

+3
-0
lines changed

extension/llm/custom_ops/spinquant/third-party/FFHT/targets.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def define_common_targets():
1919
"DEFAULT": [],
2020
"ovr_config//cpu:arm64": ["fht_neon.c"],
2121
"ovr_config//cpu:x86_64": ["fht_avx.c"],
22+
"ovr_config//os:iphoneos": ["fht_avx.c"],
23+
"ovr_config//os:macos-x86_64": ["fht_avx.c"],
24+
"ovr_config//os:macos-arm64": ["fht_neon.c"],
2225
}),
2326
exported_headers = ["fht.h"],
2427
visibility = ["@EXECUTORCH_CLIENTS"],

0 commit comments

Comments
 (0)