This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Support undefined LLVM_NATIVE_ARCH in llvm_map_components_to_libnames().
ClosedPublic

Authored by kosarev on Jan 26 2023, 2:38 AM.

Details

Summary

https://reviews.llvm.org/D142405 made this function relying on the
LLVM_NATIVE_ARCH be defined, which is not necessarily the case for
third-party projects that include LLVM as their part.

Diff Detail

Event Timeline

kosarev created this revision.Jan 26 2023, 2:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2023, 2:38 AM
kosarev requested review of this revision.Jan 26 2023, 2:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2023, 2:38 AM
foad added a subscriber: foad.Jan 26 2023, 5:03 AM
beanz accepted this revision.Jan 26 2023, 8:06 AM

LGTM

This revision is now accepted and ready to land.Jan 26 2023, 8:06 AM