flier / pyfasthash

Python Non-cryptographic Hash Library
Apache License 2.0
281 stars 52 forks source link

pyhash doesn't build on ppc64le due to the use of SSE flags #36

Open thehcma opened 5 years ago

thehcma commented 5 years ago
ar rcs build/temp.linux-ppc64le-3.7/libfnv.a build/temp.linux-ppc64le-3.7/src/fnv/hash_32.o build/temp.linux-ppc64le-3.7/src/fnv/hash_32a.o build/temp.linux-ppc64le-3.7/src/fnv/hash_64.o build/temp.linux-ppc64le-3.7/src/fnv/hash_64a.o
building 'smhasher' library
creating build/temp.linux-ppc64le-3.7/src/smhasher
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC -fPIC -c src/smhasher/MurmurHash1.cpp -o build/temp.linux-ppc64le-3.7/src/smhasher/MurmurHash1.o -msse4.2 -maes -mavx -mavx2
gcc: error: unrecognized command line option ‘-msse4.2’
gcc: error: unrecognized command line option ‘-maes’
gcc: error: unrecognized command line option ‘-mavx’
gcc: error: unrecognized command line option ‘-mavx2’