This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Make `intrinsics_gen` dependency unconditional.
ClosedPublic

Authored by michele.scandale on Jul 8 2020, 9:42 PM.

Details

Summary

The intrinsics_gen target exists in the CMake exports since r309389
(see LLVMConfig.cmake.in), hence projects can depend on intrinsics_gen
even it they are built separately from LLVM.

Diff Detail

Event Timeline

Herald added a reviewer: MaskRay. · View Herald Transcript
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
MaskRay accepted this revision.EditedJul 9 2020, 10:28 AM

Looks like a good cleanup. Hope someone with more CMake-fu can confirm.

This revision is now accepted and ready to land.Jul 9 2020, 10:28 AM

LGTM. I verified this works for the build-tree standalone build of LLDB, but please still keep an eye on http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake-standalone/ after you land this.

JDevlieghere accepted this revision.Jul 9 2020, 12:55 PM

I tested locally the standalone build of Clang with D83426.
I just want to make sure that we all agree this is right way moving forward.

I tested locally the standalone build of Clang with D83426.
I just want to make sure that we all agree this is right way moving forward.

Yep, with the target exported this is the right thing to do.

I tested locally the standalone build of Clang with D83426.
I just want to make sure that we all agree this is right way moving forward.

Yep, with the target exported this is the right thing to do.

Great.

I don't have commit rights. Could someone land this on my behalf?

Thanks.

I tested locally the standalone build of Clang with D83426.
I just want to make sure that we all agree this is right way moving forward.

Yep, with the target exported this is the right thing to do.

Great.

I don't have commit rights. Could someone land this on my behalf?

Anybody?

Thanks.

This revision was automatically updated to reflect the committed changes.