This is an archive of the discontinued LLVM Phabricator instance.

[openmp] [runtime] [test] Use more portable short options to sort(1)
ClosedPublic

Authored by mgorny on Dec 8 2018, 10:38 AM.

Details

Summary

Pass -n -s instead of --numeric --stable to sort(1), as long options
are not supported by NetBSD sort implementation. -n is defined
by POSIX, so it should be fully portable. -s is used consistently
at least in GNU sort and FreeBSD sort, and I honestly doubt it would
cause issues with any other implementation supporting --stable.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Dec 8 2018, 10:38 AM
krytarowski accepted this revision.Dec 8 2018, 10:39 AM
This revision is now accepted and ready to land.Dec 8 2018, 10:39 AM
This revision was automatically updated to reflect the committed changes.