We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8916b7 commit 61cddadCopy full SHA for 61cddad
kernels/optimized/lib_defs.bzl
@@ -204,6 +204,11 @@ def define_libs(is_fbcode=False):
204
exported_headers = native.glob([
205
"blas/**/*.h",
206
]),
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
+ }),
212
compiler_flags = ["-Wno-pass-failed"] + select({
213
"ovr_config//runtime:fbcode": [],
214
# TODO: replace with get_compiler_optimization_flags from op_registration_util.bzl when that
0 commit comments