armon / bloomd

C network daemon for bloom filters
http://armon.github.io/bloomd
Other
1.24k stars 112 forks source link

can not build on ARM CPU #37

Closed vlike closed 8 years ago

vlike commented 8 years ago

scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o src/bloomd/art.o -c -std=c99 -D_GNU_SOURCE -Wall -Wextra -Werror -O2 -pthread -Isrc/bloomd/ -Ideps/inih/ -Ideps/libev/ -Isrc/libbloom/ src/bloomd/art.c src/bloomd/art.c:5:23: fatal error: emmintrin.h: No such file or directory

include

                   ^

compilation terminated. scons: *\ [src/bloomd/art.o] Error 1 scons: building terminated because of errors.

can somebody tell how to fix it?

armon commented 8 years ago

@vlike The radix tree depends on a pretty specific x86 instruction, it could be ifdef and replaced with a linear scan on ARM, please open a PR if you get a chance!