This is an archive of the discontinued LLVM Phabricator instance.

[bazel] -lrt is not available on Android.
ClosedPublic

Authored by rupprecht on Mar 31 2023, 1:05 PM.

Diff Detail

Event Timeline

rupprecht created this revision.Mar 31 2023, 1:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2023, 1:05 PM
Herald added a subscriber: danielkiss. · View Herald Transcript
rupprecht requested review of this revision.Mar 31 2023, 1:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2023, 1:05 PM

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.

This revision is now accepted and ready to land.Mar 31 2023, 4:45 PM
This revision was automatically updated to reflect the committed changes.