This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Fix test rcom-detect.hip
ClosedPublic

Authored by yaxunl on Oct 13 2021, 8:24 AM.

Details

Summary

This patches fixes https://bugs.llvm.org/show_bug.cgi?id=51404

Some builds use custom resource directory for clang, therefore the test
cannot assume default resource directory for clang. Use -resource-dir
to force it.

Diff Detail

Event Timeline

yaxunl requested review of this revision.Oct 13 2021, 8:24 AM
yaxunl created this revision.
tra accepted this revision.Oct 13 2021, 10:06 AM
This revision is now accepted and ready to land.Oct 13 2021, 10:06 AM
mgorny added a subscriber: mgorny.Oct 13 2021, 10:54 AM

I can confirm that the tests pass for me with this patch.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2021, 12:01 PM