Skip to content

Commit

Permalink
Unbreak Intel Apple Buck builds (#5431)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #5431

The code is gated on `#ifdef __aarch64__`, but the `-march` flag wasn't.

Reviewed By: cccclai

Differential Revision: D62884370

fbshipit-source-id: 944c801dd1f140a652e4cd06c7fe12ab1b85ef64
  • Loading branch information
swolchok authored and facebook-github-bot committed Sep 17, 2024
1 parent 0658dce commit 06c0fa3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions kernels/optimized/lib_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,11 @@ def define_libs():
],
),
],
fbobjc_compiler_flags = [
"-march=armv8+bf16",
fbobjc_platform_compiler_flags = [
(
".*arm64.*",
["-march=armv8+bf16"],
),
],
fbobjc_exported_preprocessor_flags = [
"-DET_BUILD_WITH_BLAS",
Expand Down

0 comments on commit 06c0fa3

Please sign in to comment.