This is an archive of the discontinued LLVM Phabricator instance.

[CMake][runtimes] Use the same configuration for non-target and "default" target
ClosedPublic

Authored by phosek on Sep 4 2017, 4:21 PM.

Details

Summary

The default host target for builtins and runtimes has special behavior
on some platforms, e.g. on Linux both i386 and x86_64 targets are being
built. Specifying "default" as a target name should lead to the same
behavior, which wasn't the case in the past. This patch unifies the
configuration between the non-target and "default" target to produce the
same behavior by moving the default configuration into a function that
can be used from both paths.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Sep 4 2017, 4:21 PM
phosek updated this revision to Diff 113931.Sep 5 2017, 4:27 PM
phosek retitled this revision from [CMake][runtimes] Use default compiler-rt build setting for default target to [CMake][runtimes] Use the same configuration for non-target and "default" target.
phosek edited the summary of this revision. (Show Details)
phosek updated this revision to Diff 113934.Sep 5 2017, 4:42 PM
beanz accepted this revision.Sep 8 2017, 1:35 PM

LGTM!

This revision is now accepted and ready to land.Sep 8 2017, 1:35 PM
phosek updated this revision to Diff 114435.Sep 8 2017, 2:51 PM
phosek updated this revision to Diff 114437.
This revision was automatically updated to reflect the committed changes.