Skip to content

Commit 5e3c9bc

Browse files
kimishpatelmeta-codesync[bot]
authored andcommitted
temp trial of cria pybindings (#16348)
Summary: Pull Request resolved: #16348 Move actual pybindings to xplat to allow for running on mac or devserver Reviewed By: JacobSzwejbka Differential Revision: D89434480
1 parent 09bdad7 commit 5e3c9bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kernels/optimized/lib_defs.bzl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ def define_libs(is_fbcode=False):
204204
exported_headers = native.glob([
205205
"blas/**/*.h",
206206
]),
207+
exported_linker_flags = select({
208+
"DEFAULT": [],
209+
"ovr_config//os:macos-arm64": ["-framework", "Accelerate"],
210+
"ovr_config//os:macos-x86_64": ["-framework", "Accelerate"],
211+
}),
207212
compiler_flags = ["-Wno-pass-failed"] + select({
208213
"ovr_config//runtime:fbcode": [],
209214
# TODO: replace with get_compiler_optimization_flags from op_registration_util.bzl when that

0 commit comments

Comments
 (0)