This is an archive of the discontinued LLVM Phabricator instance.

llvm-config: Add --build-system option
ClosedPublic

Authored by tstellarAMD on Aug 7 2015, 9:17 AM.

Details

Summary

This can be used for distinguishing between cmake and autoconf builds.
Users may need this in order to handle inconsistencies between the
outputs of the two build systems.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to llvm-config: Add --build-system option.
tstellarAMD updated this object.
tstellarAMD added a subscriber: llvm-commits.
beanz accepted this revision.Aug 13 2015, 4:55 PM
beanz edited edge metadata.

LGTM. I suspect that behavioral differences between CMake and autoconf will probably exist until we remove the autoconf system, so this flag is probably an all-around good idea.

At the very least it will be potentially useful for debugging issues with distributed packages because llvm-config will be able to report which build system was used to generate the package.

Thanks,
-Chris

This revision is now accepted and ready to land.Aug 13 2015, 4:55 PM
This revision was automatically updated to reflect the committed changes.