- unified build procedure fixed
- build.sh now works for CPUs with and without AES_NI
- it is no longer necessary to add "-DNO_AES_NI" CFLAG to the
configure command when building for CPUs without AES_NI.
- The system will automatically compile for the correct architecture
Strange thing - when I compile with
./autogen.sh && ./configure CFLAGS="-DNO_AES_NI -O3 -march=btver1" --with-curl --with-crypto && make
When I use ./build.sh I get an error in compile.
Will try on AMD Phenom II X4 940 and see can I reproduce it.
Edit: ./build.sh fails also on AMD Phenom II X4 940
make[2]: *** [algo/echo/aes_ni/cpuminer-hash.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/groestl/sse2/.deps/cpuminer-grso-asm.Tpo algo/groestl/sse2/.deps/cpuminer-grso-asm.Po
mv -f algo/argon2/ar2/.deps/cpuminer-opt.Tpo algo/argon2/ar2/.deps/cpuminer-opt.Po
mv -f algo/argon2/ar2/.deps/cpuminer-ar2-scrypt-jane.Tpo algo/argon2/ar2/.deps/cpuminer-ar2-scrypt-jane.Po
make[2]: Leaving directory `/home/urban/cpuminer-opt-3.1.15'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/*****/cpuminer-opt-3.1.15'
make: *** [all] Error 2