This is an archive of the discontinued LLVM Phabricator instance.

[libunwind] Fix path to libunwind for per-target-runtime-dir builds
ClosedPublic

Authored by ldionne on Oct 22 2021, 9:05 AM.

Details

Summary

We recently introduced a from-scratch config to run the libunwind tests.
However, that config was always looking for libunwind in <install>/lib,
and never in <install>/<target>/lib, which is necessary for tests to
work when the per-target-runtime-dir configuration is enabled.

This commit fixes that. I believe this is what caused the CI failures we
saw after 5a8ad80b6fa5 and caused it to be reverted.

Diff Detail

Event Timeline

ldionne created this revision.Oct 22 2021, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2021, 9:05 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne requested review of this revision.Oct 22 2021, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2021, 9:05 AM
steven_wu accepted this revision as: steven_wu.Oct 22 2021, 9:12 AM
steven_wu added a subscriber: steven_wu.

LGTM. Can you use a better commit message?

ldionne updated this revision to Diff 381588.Oct 22 2021, 9:50 AM

Rebase onto main after fixing tests

ldionne edited the summary of this revision. (Show Details)Oct 22 2021, 10:05 AM
ldionne accepted this revision as: Restricted Project.Oct 22 2021, 11:35 AM

Only the non-libcxx CI is failing, so I'll ship this.

This revision is now accepted and ready to land.Oct 22 2021, 11:35 AM
This revision was landed with ongoing or failed builds.Oct 22 2021, 11:36 AM
This revision was automatically updated to reflect the committed changes.