浏览代码

use XXH_VECTOR=XXH_SCALAR (0) to avoid compile issues

Thomas Waldmann 3 年之前
父节点
当前提交
581eee5e3a
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
     define_macros.append(('XXH_PRIVATE_API', 'YES'))  # do not use this for bundled zstd or xxh64, breaks the build
     libxxhash_system = True
     libxxhash_system = True
 else:
 else:
+    define_macros.append(('XXH_VECTOR', '0'))  # avoid compile issues with CPU specific stuff
     libxxhash_system = False
     libxxhash_system = False