Skip to content

Commit

Permalink
Merge pull request #47594 from freedomtan:bazel_native_build_on_m1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 364844678
Change-Id: I77cb87a511a185d39a11deca5b078ae82f9b378a
  • Loading branch information
tensorflower-gardener committed Mar 24, 2021
2 parents b8142c1 + fea751e commit ca4c4a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tensorflow/compiler/xla/service/cpu/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ cc_library(
"//tensorflow:linux_ppc64le": [
"@llvm-project//llvm:PowerPCCodeGen", # fixdeps: keep
],
"//tensorflow:macos_arm64": [
"@llvm-project//llvm:AArch64CodeGen", # fixdeps: keep
],
"//conditions:default": [
],
}) + if_llvm_system_z_available([
Expand Down
2 changes: 2 additions & 0 deletions tensorflow/core/kernels/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ cc_library(
"//tensorflow:ios": [],
"//tensorflow:linux_ppc64le": [],
"//tensorflow:linux_s390x": [],
"//tensorflow:macos_arm64": [],
"//conditions:default": [
"TENSORFLOW_USE_CUSTOM_CONTRACTION_KERNEL",
"TENSORFLOW_USE_MKLDNN_CONTRACTION_KERNEL",
Expand All @@ -831,6 +832,7 @@ cc_library(
"//tensorflow:ios": [],
"//tensorflow:linux_ppc64le": [],
"//tensorflow:linux_s390x": [],
"//tensorflow:macos_arm64": [],
"//conditions:default": ["@mkl_dnn_v1//:mkl_dnn"],
}),
)
Expand Down

0 comments on commit ca4c4a1

Please sign in to comment.