Closed
Description
Bug report
Bug description:
blake2module.c
may include _hacl/Hacl_Hash_Blake2b_Simd256.h
and/or _hacl/Hacl_Hash_Blake2s_Simd128.h
, and thus needs to compile with LIBHACL_SIMD128_FLAGS
and/or LIBHACL_SIMD256_FLAGS
, or you get an error like this if the compiler doesn't enable those SIMD features by default:
In file included from ./Modules/blake2module.c:139:
In file included from ./Modules/_hacl/Hacl_Hash_Blake2b_Simd256.h:42:
In file included from ./Modules/_hacl/libintvector.h:28:
/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.2/include/smmintrin.h:28:2: error: "SSE4.1 instruction set not enabled"
I would create a PR but unfortunately I can't figure out where this needs to be added.
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs
- gh-130213: Check availability of Intel SIMD types #130332
- GH-130213: clang-cl: blake2module.c needs to "see" the AVX intrinsics during compiling #130447
- gh-130213: POC let blake2module.c see far less internals #130483
- gh-130213: update hacl_star_rev to 322f6d58290e0ed7f4ecb84fcce12917aa0f594b #130960