This is an archive of the discontinued LLVM Phabricator instance.

[CMake] [Darwin] Use libtool instead of ar && ranlib
ClosedPublic

Authored by beanz on Apr 27 2016, 12:15 PM.

Details

Summary

Using libtool instead of ar and ranlib on Darwin shaves a minute off my clang build. This is because on Darwin libtool is optimized to give hints to the kernel about filesystem interactions that allow it to be faster.

Diff Detail

Repository
rL LLVM

Event Timeline

beanz updated this revision to Diff 55289.Apr 27 2016, 12:15 PM
beanz retitled this revision from to [CMake] [Darwin] Use libtool instead of ar && ranlib.
beanz updated this object.
beanz added reviewers: bogner, pete.
beanz added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.