Преглед изворни кода

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
     libxxhash_system = True
 else:
+    define_macros.append(('XXH_VECTOR', '0'))  # avoid compile issues with CPU specific stuff
     libxxhash_system = False