diff options
author | Sayed Adel <seiko@imavr.com> | 2021-12-15 16:01:29 +0200 |
---|---|---|
committer | Sayed Adel <seiko@imavr.com> | 2021-12-15 16:43:30 +0200 |
commit | 3e8123046a686b952e3c624b00b3502406033339 (patch) | |
tree | bb73cc6c343b9c53f902d5b7e114d97c69b81600 /numpy/array_api/_array_object.py | |
parent | 8111d51af2c743c1ff90dc014ede49564a8f22d9 (diff) | |
download | numpy-3e8123046a686b952e3c624b00b3502406033339.tar.gz |
BUG, DIST: fix normalize IBMZ features flags
The normal behavior is to erase any flag that starts with
`-m[a-z0-9\-\.]` when flag `-march` or `-mcpu` specified. for example:
cc_normalize_flags([
'-msse', '-msse2', '-msse3', '-mssse3', '-march=core-avx2'
])
should be normalized to: ['-march=core-avx2']
but in the case of `s390x`, on GCC flag `-march=arch[0-9]` doesn't implies flag
`-mzvector` which is required to enable zvector api. for example:
cc_normalize_flags([
'-mzvector', '-march=arch11', '-march=arch12', '-march=arch13']
)
should be normalized to: ['-mzvector', '-march=arch13']
instead of: ['-march=arch13']
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions