This is an archive of the discontinued LLVM Phabricator instance.

[lld][clang][cmake] Clean up a few things
ClosedPublic

Authored by Ericson2314 on Feb 2 2022, 7:40 AM.

Details

Summary
  • If not using llvm-config, LLVM_MAIN_SRC_DIR now has a sane default
  • LLVM_CONFIG_PATH will continue to work for LLD for back compat.
  • More quoting of paths in an abundance of caution.

Diff Detail

Event Timeline

Ericson2314 created this revision.Feb 2 2022, 7:40 AM
Ericson2314 requested review of this revision.Feb 2 2022, 7:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 7:40 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
nikic accepted this revision.Feb 3 2022, 2:07 AM

Not very familiar with cmake, but this looks reasonable to me.

This revision is now accepted and ready to land.Feb 3 2022, 2:07 AM
This revision was landed with ongoing or failed builds.Feb 3 2022, 12:01 PM
This revision was automatically updated to reflect the committed changes.