This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Factor the setting of LLVM_BUILD_MODE to a macro so that we can re-use it in compiler-rt
ClosedPublic

Authored by gbedwell on Oct 2 2017, 10:48 AM.

Details

Summary

This is essentially an NFC as it stands, but is required for a followup patch where the new macro is used from part of the compiler-rt CMake system. I'll cross-reference the patches shortly.

Diff Detail

Event Timeline

gbedwell created this revision.Oct 2 2017, 10:48 AM

See https://reviews.llvm.org/D38471 for the follow-up that this commit is a pre-requisite for.

rnk accepted this revision.Oct 2 2017, 12:39 PM

lgtm

This revision is now accepted and ready to land.Oct 2 2017, 12:39 PM
This revision was automatically updated to reflect the committed changes.