Browse Source

use XXH_VECTOR=XXH_SCALAR (0) to avoid compile issues

Thomas Waldmann 3 years ago
parent
commit
581eee5e3a
1 changed files with 1 additions and 0 deletions
  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