message: Fix "ld: library not found for -lrt" issue in macOS builds.
diff: @@ -134,7 +134,13 @@ cc_library(
  ),
  copts = _COPTS_LIST,
  includes = _INCLUDES_LIST,
  - linkopts = ["-lrt"],
  + # TODO(penpornk): Use lrt_if_needed from tensorflow.bzl instead.
  + linkopts = select({
  + "@org_tensorflow//tensorflow:linux_aarch64": ["-lrt"],
  + "@org_tensorflow//tensorflow:linux_x86_64": ["-lrt"],
  + "@org_tensorflow//tensorflow:linux_ppc64le": ["-lrt"],
  + "//conditions:default": [],
  + }),
  textual_hdrs = _TEXTUAL_HDRS_LIST,
  visibility = ["//visibility:public"],
  deps = [":onednn_autogen"] + if_mkl_ml(
  