This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Support runtimes in distributions
ClosedPublic

Authored by beanz on May 10 2018, 10:18 AM.

Details

Summary

This patch adds a new internal variable
LLVM_RUNTIME_DISTRIBUTION_COMPONENTS which specifies distribution
components that are part of runtime projects, and thus should be exposed
from runtime configuraitons up into the top-level CMake configurations.

This is required for allowing runtime components to be included in
LLVM_DISTRIBUTION_COMPONENTS because we verify that the build and
install targets exist for every component specified for the
distribution.

Without this patch runtimes and builtins can only be included in
distributions in whole, not by component.

Diff Detail

Repository
rL LLVM

Event Timeline

beanz created this revision.May 10 2018, 10:18 AM
phosek accepted this revision.May 14 2018, 6:05 PM

LGTM

This revision is now accepted and ready to land.May 14 2018, 6:05 PM
This revision was automatically updated to reflect the committed changes.