This is an archive of the discontinued LLVM Phabricator instance.

[runtimes] Only depend on builtins for same target
ClosedPublic

Authored by smeenai on Dec 12 2022, 9:56 PM.

Details

Summary

We don't need to have built all the builtins before building the
runtimes for a particular target, only the builtins for that target.
While I'm here, rename the variable that stores the builtins dep to
something less generic than deps, to minimize the chances of
accidentally using a variable with the same name from an outer scope.

Diff Detail

Event Timeline

smeenai created this revision.Dec 12 2022, 9:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 9:56 PM
smeenai requested review of this revision.Dec 12 2022, 9:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 9:56 PM
smeenai updated this revision to Diff 482649.Dec 13 2022, 3:34 PM

Rebase to see if CI is happier

phosek accepted this revision.Dec 18 2022, 8:56 AM

LGTM

llvm/runtimes/CMakeLists.txt
423

Super minor nit: I think that builtins_dep_name would be more consistent with other variables used in this file.

This revision is now accepted and ready to land.Dec 18 2022, 8:56 AM
smeenai updated this revision to Diff 486228.Jan 4 2023, 3:26 AM
smeenai marked an inline comment as done.

Address comment

This revision was landed with ongoing or failed builds.Jan 4 2023, 3:27 AM
This revision was automatically updated to reflect the committed changes.