This is an archive of the discontinued LLVM Phabricator instance.

[runtimes] Calculate the path to the llvm directory without the LLVM cmake package
ClosedPublic

Authored by mstorsjo on Sep 13 2021, 12:36 PM.

Details

Summary

If building by pointing cmake directly at the llvm-project/runtimes
directory, the llvm cmake package files (that provide e.g.
LLVM_BUILD_MAIN_SRC_DIR) aren't necessarily available. Instead just
use a path relative to the current source dir.

Diff Detail

Event Timeline

mstorsjo created this revision.Sep 13 2021, 12:36 PM
mstorsjo requested review of this revision.Sep 13 2021, 12:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 13 2021, 12:36 PM
phosek accepted this revision.Sep 13 2021, 12:56 PM
This revision is now accepted and ready to land.Sep 13 2021, 12:56 PM