Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ minerd_SOURCES = elist.h miner.h compat.h \
cpu-miner.c util.c \
sha2.c scrypt.c \
neoscrypt.c neoscrypt.h
if USE_AVX
minerd_SOURCES += chacha_20_sidm.c salsa_20_sidm.c
endif
if USE_ASM
minerd_SOURCES += neoscrypt_asm.S
if ARCH_x86
Expand Down
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ Dependencies:
Basic *nix build instructions:
./autogen.sh # only needed if building from git repo
./nomacro.pl # only needed if building on Mac OS X or with Clang
<<use AMS>>
./configure CFLAGS="-O2 -fomit-frame-pointer -DASM -DOPT -DMINER_4WAY -DSHA256"
<<use sidm source files for AVX>>
./configure CFLAGS="-O2 -march=native -fomit-frame-pointer -DAVX -DOPT -DSHA256"
make

Notes for AIX users:
Expand Down
Loading