diff options
author | Bran <bran_avan@hotmail.co.uk> | 2019-03-04 21:14:32 +0000 |
---|---|---|
committer | Bran <bran_avan@hotmail.co.uk> | 2019-03-04 21:14:32 +0000 |
commit | 5acc591473a4239a994b19eb6e7b256ba557ce21 (patch) | |
tree | 7f3ea8e4b0f0b579b3cf8c083c899024b012d672 | |
parent | 3d319ffa5fabdd3a8e2732e98df4626289e9af9f (diff) | |
download | numpy-5acc591473a4239a994b19eb6e7b256ba557ce21.tar.gz |
AVX detection fails on MacOS if $PATH doesn't contain /usr/sbin #7801
-rw-r--r-- | numpy/_build_utils/src/apple_sgemv_fix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/_build_utils/src/apple_sgemv_fix.c b/numpy/_build_utils/src/apple_sgemv_fix.c index 5f84de232..5b27c73f4 100644 --- a/numpy/_build_utils/src/apple_sgemv_fix.c +++ b/numpy/_build_utils/src/apple_sgemv_fix.c @@ -80,7 +80,7 @@ static inline int cpu_supports_avx() { } /* Check if we are using MacOS X version 10.9 */ -static inline int cpu_supports_avx() { +static inline int using_mavericks() { int r; char str[32] = {0}; size_t size = sizeof(str); |