This is an archive of the discontinued LLVM Phabricator instance.

[CMake][AIX] Limit tools in external project build
ClosedPublic

Authored by daltenty on Sep 25 2020, 8:21 AM.

Details

Summary

This is a follow on to D85329 which disabled some llvm tools in the
runtimes build due to XCOFF64 limitations. This change disables them
in other external project builds as well, when no list of tools is
specified in the arguments.

Diff Detail

Event Timeline

daltenty created this revision.Sep 25 2020, 8:21 AM
daltenty requested review of this revision.Sep 25 2020, 8:21 AM
stevewan added inline comments.Sep 25 2020, 11:04 AM
llvm/cmake/modules/LLVMExternalProjectUtils.cmake
63

Minor nit: While it is clear given the context, can we also be explicit in the comment that 64-bit XCOFF and big AR format is an AIX thing?

64

Let's also use STREQUAL here?

daltenty updated this revision to Diff 294410.Sep 25 2020, 1:12 PM
  • Address comments
daltenty marked 2 inline comments as done.Sep 25 2020, 1:12 PM
stevewan accepted this revision.Sep 25 2020, 2:15 PM

LGTM thanks. Let's give other reviewers some time to have a look.

This revision is now accepted and ready to land.Sep 25 2020, 2:15 PM
hubert.reinterpretcast requested changes to this revision.Sep 26 2020, 8:34 PM
hubert.reinterpretcast added inline comments.
llvm/cmake/modules/LLVMExternalProjectUtils.cmake
65

llvm-lipo was originally only added for Darwin.

This revision now requires changes to proceed.Sep 26 2020, 8:34 PM
daltenty updated this revision to Diff 294687.Sep 28 2020, 6:17 AM
  • Remove stray llvm-lipo from list
daltenty marked an inline comment as done.Sep 28 2020, 6:17 AM
This revision is now accepted and ready to land.Sep 28 2020, 1:35 PM
This revision was automatically updated to reflect the committed changes.