Closed mratsim closed 2 years ago
Similar to https://github.com/status-im/nim-blscurve/commit/168fc670e5c3f6dc10e6ef52c06fe168f699fbf3
we need to guard the ADX path when building the library on 32-bit on a CPU that does support ADX. https://github.com/status-im/nim-blscurve/blob/9dda507a09c3d684f7bbf51402d2a4d81efea567/blscurve/eth2_keygen/hkdf_mod_r_blst.nim#L56-L62=
3 ways to solve this:
!defined(__BLST_NO_ASM__)
We choose the last one.
Similar to https://github.com/status-im/nim-blscurve/commit/168fc670e5c3f6dc10e6ef52c06fe168f699fbf3
we need to guard the ADX path when building the library on 32-bit on a CPU that does support ADX. https://github.com/status-im/nim-blscurve/blob/9dda507a09c3d684f7bbf51402d2a4d81efea567/blscurve/eth2_keygen/hkdf_mod_r_blst.nim#L56-L62=
3 ways to solve this:
!defined(__BLST_NO_ASM__)
like https://github.com/supranational/blst/pull/122We choose the last one.