mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
21 lines
349 B
Bash
Executable File
21 lines
349 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#if [ "$OS" = "Windows_NT" ]; then
|
|
# ./mingw64.sh
|
|
# exit 0
|
|
#fi
|
|
|
|
# Linux build
|
|
|
|
make distclean || echo clean
|
|
|
|
rm -f config.status
|
|
./autogen.sh || echo done
|
|
|
|
#CFLAGS="-O3 -march=native -Wall" ./configure --with-curl --with-crypto=$HOME/usr
|
|
CFLAGS="-O3 -march=native -Wall" ./configure --with-curl
|
|
|
|
make -j $nproc
|
|
|
|
strip -s cpuminer
|