This is an archive of the discontinued LLVM Phabricator instance.

[CMake][runtimes] Set clang-header dependency for builtins
ClosedPublic

Authored by phosek on Feb 20 2019, 12:42 PM.

Details

Summary

compiler-rt builtins depend on clang headers, but that dependency
wasn't explicitly stated in the build system and we were relying
on the transitive depenendecy via clang. However, when we're
cross-compiling clang, we'll be using host compiler instead and
that depenendecy is missing, breaking the build.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Feb 20 2019, 12:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 20 2019, 12:42 PM
smeenai accepted this revision.Feb 20 2019, 1:45 PM

LGTM

llvm/runtimes/CMakeLists.txt
214 ↗(On Diff #187650)

Any reason for spelling these as "DEPS" instead of the standard CMake spelling of "DEPENDS"?

This revision is now accepted and ready to land.Feb 20 2019, 1:45 PM
beanz accepted this revision.Feb 20 2019, 2:02 PM

Makes sense

phosek updated this revision to Diff 187679.Feb 20 2019, 2:31 PM
phosek marked an inline comment as done.

Ah, I didn't realize there were existing uses of DEPS, but thanks for the rename :)

This revision was automatically updated to reflect the committed changes.