[PATCH] D147354: [bazel] -lrt is not available on Android.

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 13:09:17 PDT 2023


rupprecht added a comment.

Note: this uses `@platforms//os:android` and not `@bazel_tools//src/conditions:android` because `android` is not one of the configs listed in `@bazel_tools//src/conditions`.

We should really be using `@platforms` in place of `@bazel_tools//src/conditions` everywhere, but that's a larger change, especially in `llvm/config.bzl` which has OS+CPU mappings that don't exist in `@platforms`. I have a pending change to do that as a followup.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147354/new/

https://reviews.llvm.org/D147354



More information about the llvm-commits mailing list