This is an archive of the discontinued LLVM Phabricator instance.

gn build: Create regular archives for the sanitizer runtimes.
ClosedPublic

Authored by pcc on Feb 1 2019, 11:27 AM.

Details

Summary

We'll need to do this eventually if we create an installable package.
For now, this lets me use the archives to build Android, whose build
system wants to copy the archives to another location.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Feb 1 2019, 11:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 1 2019, 11:27 AM
Herald added a subscriber: kubamracek. · View Herald Transcript
thakis accepted this revision.Feb 1 2019, 12:15 PM

lgtm if mixing non-dash style flags (rcsD) with -T works in both gnu ar and llvm-ar.

llvm/utils/gn/build/BUILD.gn
139 ↗(On Diff #184803)

Want to add a comment like "to make an archive not thin, you need to remove this config and set complete-static_lib"?

This revision is now accepted and ready to land.Feb 1 2019, 12:15 PM
pcc marked an inline comment as done.Feb 1 2019, 12:33 PM

lgtm if mixing non-dash style flags (rcsD) with -T works in both gnu ar and llvm-ar.

Seems to work here.

This revision was automatically updated to reflect the committed changes.