Building aeternity node on ppc64le

Hi,

i’m trying to build docker image on ppc64le host and it fails with

HEAD is now at 3ae6195... Properly output uint64_t in all places
(cd c_src/src/cuckoo; g++ -m64 -x c++ -std=c++11 -Wall -Wno-format -Wno-deprecated-declarations -D_POSIX_C_SOURCE=200112L -O3 -DPREFETCH -I.  -pthread -o mean29-generic -DSAVEEDGES -DNSIPHASH=1 -DEDGEBITS=29 mean.cpp ../crypto/blake2b-ref.c)
In file included from cuckoo.h:11:0,
                 from mean.hpp:10,
                 from mean.cpp:4:
../crypto/siphash.h:4:50: fatal error: immintrin.h: No such file or directory
compilation terminated.
Makefile:83: recipe for target 'c_src/src/cuckoo/mean29-generic' failed
make[1]: *** [c_src/src/cuckoo/mean29-generic] Error 1
make[1]: Leaving directory '/app/_build/default/lib/aecuckoo'

any idea how to make it compile?

Thanks

You can’t compile cuckoo for that architecture. So you have only 1 option:

  1. You can try to compile the node without mining clients. Remove aeminer from deps in rebar.config.

This should result in a working node, which doesn’t contain mining clients.

1 Like