This is an archive of the discontinued LLVM Phabricator instance.

[builtins] Use libtool for builtins when building for Apple platform
ClosedPublic

Authored by phosek on Jun 3 2019, 12:25 PM.

Details

Summary

compiler-rt already uses libtool instead of ar when building for
Apple platform, but that's not being used when builtins are being
built separately e.g. as part of the runtimes build. This change
extracts the logic setting up libtool into a separate file and uses
it from both the compiler-rt and standalone builtins build.

Diff Detail

Event Timeline

phosek created this revision.Jun 3 2019, 12:25 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 3 2019, 12:25 PM
Herald added subscribers: llvm-commits, Restricted Project, mgorny. · View Herald Transcript
beanz accepted this revision.Jun 3 2019, 5:24 PM

LGTM

This revision is now accepted and ready to land.Jun 3 2019, 5:24 PM
This revision was automatically updated to reflect the committed changes.