This is an archive of the discontinued LLVM Phabricator instance.

llvm: cmake: set CMP0114 to OLD to avoid warning
ClosedPublic

Authored by nickdesaulniers on Jun 2 2022, 2:40 PM.

Details

Summary

Building with cmake 3.23.2+ produces warnings when using
LLVM_ENABLE_RUNTIMES. Set this policy to the existing behavior for now
to silence the warnings.

Fixes: https://github.com/llvm/llvm-project/issues/50122
Fixes: https://github.com/llvm/llvm-project/issues/54944

Diff Detail

Event Timeline

nickdesaulniers created this revision.Jun 2 2022, 2:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 2:40 PM
Herald added a subscriber: mgorny. · View Herald Transcript
nickdesaulniers requested review of this revision.Jun 2 2022, 2:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 2:40 PM
penzn accepted this revision.Jun 2 2022, 2:47 PM
penzn added a subscriber: penzn.

I am personally building with this change already, for extra peace of mind :)

This revision is now accepted and ready to land.Jun 2 2022, 2:47 PM
phosek accepted this revision.Jun 2 2022, 2:55 PM

LGTM

This revision was landed with ongoing or failed builds.Jun 3 2022, 9:45 AM
This revision was automatically updated to reflect the committed changes.