Skip to content

Commit db8a14f

Browse files
committed
Update on "[Executorch] enable sleef consistently"
Earlier only android platofrms had support for sleef Differential Revision: [D64571782](https://our.internmc.facebook.com/intern/diff/D64571782/) [ghstack-poisoned]
2 parents 6dbdb64 + ff5bf31 commit db8a14f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

kernels/optimized/lib_defs.bzl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,24 @@ def define_libs(is_fbcode=False):
133133
"@EXECUTORCH_CLIENTS",
134134
],
135135
deps = get_vec_deps(),
136+
cxx_platform_deps = select({
137+
"DEFAULT": [
138+
(
139+
DEVSERVER_PLATFORM_REGEX,
140+
[
141+
"fbsource//third-party/sleef:sleef",
142+
],
143+
),
144+
],
145+
"ovr_config//cpu:arm64": [
146+
(
147+
DEVSERVER_PLATFORM_REGEX,
148+
[
149+
"fbsource//third-party/sleef:sleef_arm",
150+
],
151+
),
152+
],
153+
}),
136154
)
137155

138156
runtime.cxx_library(

0 commit comments

Comments
 (0)