This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][lit] Recognize triple ppc64le.*-linux
ClosedPublic

Authored by tuliom on May 3 2023, 6:53 AM.

Details

Reviewers
probinson
qiucf
Group Reviewers
Restricted Project
Commits
rG7f9b0685061a: [PowerPC][lit] Recognize triple ppc64le.*-linux
Summary

Some Linux distributions, e.g. Red Hat, use the triple
ppc64le-redhat-linux. Add a pattern that treats ppc64le.*-linux as
powerpc64le-linux during test execution.

Diff Detail

Event Timeline

tuliom created this revision.May 3 2023, 6:53 AM
tuliom requested review of this revision.May 3 2023, 6:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 6:53 AM
tuliom added a reviewer: Restricted Project.May 3 2023, 6:54 AM
qiucf added a subscriber: qiucf.May 5 2023, 12:25 AM

Will this also recognize powerpc64le-redhat-linux?

tuliom added a comment.May 5 2023, 6:26 AM

Will this also recognize powerpc64le-redhat-linux?

This is not changing how powerpc64le-redhat-linux is interpreted. It is just interpreting ppc64le-redhat-linux as if it were powerpc64le-linux when running lit tests.

qiucf added inline comments.May 15 2023, 9:11 PM
llvm/utils/lit/lit/llvm/config.py
148

Why here is target= instead of target-?

tuliom added inline comments.May 16 2023, 6:19 AM
llvm/utils/lit/lit/llvm/config.py
148
qiucf accepted this revision as: qiucf.May 17 2023, 1:49 AM

LGTM, thanks

This revision is now accepted and ready to land.May 17 2023, 1:49 AM
This revision was automatically updated to reflect the committed changes.