From 04eb837dc08d7eb1dce9f4a128b29ebfba16fa74 Mon Sep 17 00:00:00 2001 From: Ash Vardanian <1983160+ashvardanian@users.noreply.github.com> Date: Thu, 10 Oct 2024 04:01:32 +0000 Subject: [PATCH] Make: Disable SimSIMD on Windows --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ae717582..39d59904 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,10 @@ def get_bool_env_w_name(name: str, preference: bool) -> tuple: pass -prefer_simsimd: bool = True +# ? Is there a way we can bring back SimSIMD on Windows? +# ? Using `ctypes.CDLL(simsimd.__file__)` breaks the CI +# ? with "Windows fatal exception: access violation". +prefer_simsimd: bool = not is_windows prefer_fp16lib: bool = True prefer_openmp: bool = is_linux and is_gcc