mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-135755: rename undocumented HACL_CAN_COMPILE_SIMD{128,256}
macros (#135847)
Rename undocumented `HACL_CAN_COMPILE_SIMD{128,256}` macros to `_Py_HACL_CAN_COMPILE_VEC{128,256}`. These macros are private.
This commit is contained in:
parent
065194c1a9
commit
1e975aee28
6 changed files with 62 additions and 55 deletions
4
configure
generated
vendored
4
configure
generated
vendored
|
@ -32633,7 +32633,7 @@ then :
|
|||
LIBHACL_SIMD128_FLAGS="-msse -msse2 -msse3 -msse4.1 -msse4.2"
|
||||
|
||||
|
||||
printf "%s\n" "#define HACL_CAN_COMPILE_SIMD128 1" >>confdefs.h
|
||||
printf "%s\n" "#define _Py_HACL_CAN_COMPILE_VEC128 1" >>confdefs.h
|
||||
|
||||
|
||||
# macOS universal2 builds *support* the -msse etc flags because they're
|
||||
|
@ -32709,7 +32709,7 @@ then :
|
|||
|
||||
LIBHACL_SIMD256_FLAGS="-mavx2"
|
||||
|
||||
printf "%s\n" "#define HACL_CAN_COMPILE_SIMD256 1" >>confdefs.h
|
||||
printf "%s\n" "#define _Py_HACL_CAN_COMPILE_VEC256 1" >>confdefs.h
|
||||
|
||||
|
||||
# macOS universal2 builds *support* the -mavx2 compiler flag because it's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue