You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build v0.5.1 using cmake on Alpine Linux x86_64 (running in a VM), the tests (not just benchmark) fail on illegal instruction. However, the base64 utility works fine, so it seems that the detection is broken only in the tests? When I disable all AVX (-DBASE64_WITH_AVX512=OFF, -DBASE64_WITH_AVX2=OFF, -DBASE64_WITH_AVX=OFF), the tests pass.
I read related issues (#77, #95), but these are just about the benchmarks, not the tests.
./build/bin/test_base64
Codec AVX2:
The process was killed by SIGILL: Illegal instruction
There's no automatic feature detection in tests. Tests try to run what was built, even if unsupported (the base64 utility uses the dynamic/runtime dispatch & is thus unaffected).
Maybe #145 could help (allows to disable some tests using environment variables).
When I build v0.5.1 using cmake on Alpine Linux x86_64 (running in a VM), the tests (not just benchmark) fail on illegal instruction. However, the
base64
utility works fine, so it seems that the detection is broken only in the tests? When I disable all AVX (-DBASE64_WITH_AVX512=OFF
,-DBASE64_WITH_AVX2=OFF
,-DBASE64_WITH_AVX=OFF
), the tests pass.I read related issues (#77, #95), but these are just about the benchmarks, not the tests.
The text was updated successfully, but these errors were encountered: