Browse Source

use XXH_VECTOR=XXH_SCALAR (0) to avoid compile issues

Thomas Waldmann 3 năm trước cách đây
mục cha
commit
581eee5e3a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      setup.py

+ 1 - 0
setup.py

@@ -225,6 +225,7 @@ if prefer_system_libxxhash and libxxhash_prefix:
     define_macros.append(('XXH_PRIVATE_API', 'YES'))  # do not use this for bundled zstd or xxh64, breaks the build
     libxxhash_system = True
 else:
+    define_macros.append(('XXH_VECTOR', '0'))  # avoid compile issues with CPU specific stuff
     libxxhash_system = False