mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-07 02:43:57 +00:00
[OpenMP][Tools] Have sort(1) not use long name parameters (#73477)
I noticed a few tests were failing on NetBSD. NetBSD's sort(1) does not support long name parameters unlike GNU and FreeBSD/OpenBSD/DragonFly's sort(1). executed command: sort --numeric-sort --stable .---command stderr------------ | sort: unknown option -- - | usage: sort [-bdfHilmnrSsu] [-k kstart[,kend]] [-o output] [-R char] [-T dir] | [-t char] [file ...] | or: sort -C|-c [-bdfilnru] [-k kstart[,kend]] [-o output] [-R char] | [-t char] [file] `-----------------------------
This commit is contained in:
parent
20406af31b
commit
e66876f2e0
@ -90,7 +90,7 @@ if 'Linux' in config.operating_system:
|
||||
|
||||
# substitutions
|
||||
config.substitutions.append(("FileCheck", "tee %%t.out | %s" % config.test_filecheck))
|
||||
config.substitutions.append(("%sort-threads", "sort --numeric-sort --stable"))
|
||||
config.substitutions.append(("%sort-threads", "sort -n -s"))
|
||||
|
||||
config.substitutions.append(("%libomp-compile-and-run", \
|
||||
"%libomp-compile && %libomp-run"))
|
||||
|
Loading…
Reference in New Issue
Block a user