This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] kmp_affinity.h: add missing #else
ClosedPublic

Authored by wzssyqa on Oct 9 2022, 8:31 PM.

Details

Summary

When detect __NR_sched_getaffinity. the last #else is missing,
which make the last platform MIPS64 failed to build with an error:

"Unknown or unsupported architecture"

Diff Detail

Event Timeline

wzssyqa created this revision.Oct 9 2022, 8:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 9 2022, 8:31 PM
wzssyqa requested review of this revision.Oct 9 2022, 8:31 PM
Herald added a project: Restricted Project. · View Herald Transcript
MaskRay accepted this revision.Oct 9 2022, 10:37 PM

Looks great!

This revision is now accepted and ready to land.Oct 9 2022, 10:37 PM
MaskRay retitled this revision from openmp: kmp_affinity.h add missing #else to [OpenMP] kmp_affinity.h: add missing #else.Oct 25 2022, 7:53 PM
This revision was automatically updated to reflect the committed changes.