This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add AddClang.cmake to the list of the CMake modules that are installed
ClosedPublic

Authored by awarzynski on Jan 12 2021, 10:52 AM.

Details

Summary

This makes sure that AddClang.cmake is installed alongside other Clang
CMake modules. This mirrors LLVM and MLIR in this respect and is
required when building the new Flang driver out of tree (as it depends
on Clang and includes AddClang.cmake).

EDIT
Some context info:

Similar logic in:

AddLLVM.cmake:

As this change mostly affects Flang, I'm adding some reviewers from that project too.

Diff Detail

Event Timeline

awarzynski created this revision.Jan 12 2021, 10:52 AM
awarzynski requested review of this revision.Jan 12 2021, 10:52 AM
awarzynski retitled this revision from [clang] Add AddClang.cmake to the list of the installed CMake modules to [clang] Add AddClang.cmake to the list of the CMake modules that are installed.
awarzynski edited the summary of this revision. (Show Details)Jan 15 2021, 2:21 AM
awarzynski added a project: Restricted Project.

Ping.

Would anyone be able to take a look? Thank you!

bogner accepted this revision.Feb 2 2021, 10:29 AM

This seems reasonable

This revision is now accepted and ready to land.Feb 2 2021, 10:29 AM