This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Fix path to LLVMConfig.cmake for multi-config builds
ClosedPublic

Authored by nhat-nguyen on Jan 11 2023, 12:10 PM.

Details

Summary

https://reviews.llvm.org/D139623 replaces CMAKE_CFG_INTDIR
with '.' for multi-config builds. However, this change has
not been reflected in mlir, flang, polly, lld, and clang.
The patch updates the path to LLVMConfig.cmake for those
projects.

Diff Detail

Event Timeline

nhat-nguyen created this revision.Jan 11 2023, 12:10 PM
Herald added a project: Restricted Project. · View Herald Transcript
nhat-nguyen requested review of this revision.Jan 11 2023, 12:10 PM

Rebase and remove whitespace

Herald added projects: Restricted Project, Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptJan 11 2023, 12:20 PM
sebastian-ne accepted this revision.Jan 11 2023, 12:36 PM

Thanks for fixing the whitespace as well!

This revision is now accepted and ready to land.Jan 11 2023, 12:36 PM

The build is failing on debian with these 4 tests timing out:

Timed Out Tests (4):
  Clang :: CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vloxseg.c
  Clang :: CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vluxseg.c
  Clang :: CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vloxseg.c
  Clang :: CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/overloaded/vluxseg.c

This is the first time I've contributed to llvm, are these known to time out since the cmake changes shouldn't affect codegen test right? How would I go about resolving these so that the change can land? Thanks!

The debian pre-checkin test is unfortunately quite unstable. I see the same failures in D141469 for example.
This looks good to go.

The debian pre-checkin test is unfortunately quite unstable. I see the same failures in D141469 for example.
This looks good to go.

Would you mind helping me commit this change? I unfortunately don't have commit access. Thank you!

This revision was landed with ongoing or failed builds.Jan 13 2023, 11:33 AM
This revision was automatically updated to reflect the committed changes.