liboqs
liboqs copied to clipboard
Compilation error: <instantiation>:16:5: error: instruction requires: sha3
Describe the bug
Compilation for ios fails:
13:23:30 liboqs/src/kem/kyber/oldpqclean_kyber512_aarch64/feat.S:147:5: note: while in macro instantiation
13:23:30 round
13:23:30 ^
13:23:30 <instantiation>:16:5: error: instruction requires: sha3
13:23:30 rax1.2d v29, v27, v29 ; d[3] = rotl(p[4], 1) ^ p[2]
I've found this stackoverflow question that suggests adding sha3
to the -march
option. Doing that seems to solve the issue.
Additional question: We want to support macos and ios arm/intel variants. How do we add some CI pipeline that tests compilation for those platforms?