@huahaiy I am in the process of bringing datalevin into FreeBSD Ports and Packages. So far I have submitted Ports for USearch, javacpp, dlmdb and dtlvnative. USearch and javacpp have been accepted, dlmdb and dtlvnative are in progress. I noticed that you added code to limit SIMSIMD to Haswell. Since I portet USearch separately, if I follow you with this, this would limit all potenial other consumers of USearch, not just dtlvnative. Could you please elaborate on this? FreeBSD uses Clang.
The reason is to provide wider compatibility. There are still many machines that do not support AVX512, they crash if we do not limit the architecture to Haswell.
simsimd unfortunately detects hardware at compile time.
So on a CI server with AVX512, the compiled library crashed on a machine without AVX512. It's probably an upstream bug, I didn't have time to investigate.
Could you share what operating systems were involved? USearch seems to set -march=native on gcc, but not on clang.
The crash was on Linux
if the problem is only about gcc, feel free to send a PR.
Removed Haswell limitation