Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
oc miner committed Jul 8, 2016
0 parents commit 58a656b
Show file tree
Hide file tree
Showing 167 changed files with 113,502 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

minerd
minerd.exe
*.o

autom4te.cache
.deps

Makefile
Makefile.in
INSTALL
aclocal.m4
configure
configure.lineno
depcomp
missing
install-sh
stamp-h1
cpuminer-config.h*
compile
config.log
config.status
config.status.lineno
config.guess
config.sub

mingw32-config.cache

*/.dirstamp

*.iml
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: c

compiler:
- gcc

before_script:
- ./autogen.sh

script:
- ./configure
- make
15 changes: 15 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Jeff Garzik <jgarzik@pobox.com>

ArtForz

pooler <pooler@litecoinpool.org>

BlueDragon747

1gh

Neisklar

prettyhatemachine

LucasJones
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See git repository ('git log') for full changelog.
25 changes: 25 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# Dockerfile for cpuminer
# usage: docker run creack/cpuminer --url xxxx --user xxxx --pass xxxx
# ex: docker run creack/cpuminer --url stratum+tcp://ltc.pool.com:80 --user creack.worker1 --pass abcdef
#
#

FROM ubuntu:12.10
MAINTAINER Guillaume J. Charmes <guillaume@charmes.net>

RUN apt-get update -qq

RUN apt-get install -qqy automake
RUN apt-get install -qqy libcurl4-openssl-dev
RUN apt-get install -qqy git
RUN apt-get install -qqy make

RUN git clone https://github.com/pooler/cpuminer

RUN cd cpuminer && ./autogen.sh
RUN cd cpuminer && ./configure CFLAGS="-O3"
RUN cd cpuminer && make

WORKDIR /cpuminer
ENTRYPOINT ["./minerd"]
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cpuminer is available under the terms of the GNU Public License version 2.

See COPYING for details.
99 changes: 99 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@

if WANT_JANSSON
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson
else
JANSSON_INCLUDES=
endif

EXTRA_DIST = example-cfg.json nomacro.pl

SUBDIRS = compat

INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)

bin_PROGRAMS = minerd

dist_man_MANS = minerd.1

minerd_SOURCES = elist.h \
miner.h \
compat.h \
algorithm.h \
cpu-miner.c \
util.c \
algorithm.c \
algorithm/sha2.c \
algorithm/scrypt.c \
algorithm/keccak.c \
algorithm/heavy.c \
algorithm/quark.c \
algorithm/skein.c \
algorithm/ink.c \
algorithm/groestl.c \
algorithm/myriadcoin-groestl.c \
algorithm/blake.c \
algorithm/cryptonight.c \
algorithm/fresh.c \
algorithm/lbry.c \
algorithm/x11.c \
algorithm/x13.c \
algorithm/x14.c \
algorithm/x15.c \
algorithm/pentablake.c \
algorithm/axiom.c \
sha3/sph_keccak.c \
sha3/sph_hefty1.c \
sha3/sph_groestl.c \
sha3/sph_skein.c \
sha3/sph_bmw.c \
sha3/sph_jh.c \
sha3/sph_sha0.c \
sha3/sph_sha1.c \
sha3/sph_sha2.c \
sha3/sph_sha2big.c \
sha3/sph_shavite.c \
sha3/sph_blake.c \
sha3/sph_luffa.c \
sha3/sph_cubehash.c \
sha3/sph_simd.c \
sha3/sph_echo.c \
sha3/sph_hamsi.c \
sha3/sph_haval.c \
sha3/sph_md2.c \
sha3/sph_md4.c \
sha3/sph_md5.c \
sha3/sph_panama.c \
sha3/sph_radiogatun.c \
sha3/sph_ripemd.c \
sha3/sph_tiger.c \
sha3/sph_fugue.c \
sha3/sph_shabal.c \
sha3/sph_whirlpool.c \
crypto/oaes_lib.c \
crypto/c_keccak.c \
crypto/c_groestl.c \
crypto/c_blake256.c \
crypto/c_jh.c \
crypto/c_skein.c \
crypto/hash.c \
crypto/aesb.c
if USE_ASM
if ARCH_x86
minerd_SOURCES += algorithm/sha2-x86.S algorithm/scrypt-x86.S algorithm/aesb-x86.S crypto/aesb-x86-impl.c
endif
if ARCH_x86_64
minerd_SOURCES += algorithm/sha2-x64.S algorithm/scrypt-x64.S algorithm/aesb-x64.S
endif
if ARCH_ARM
minerd_SOURCES += algorithm/sha2-arm.S algorithm/scrypt-arm.S
endif
endif

minerd_LDFLAGS = $(PTHREAD_FLAGS)
minerd_LDADD = @LIBCURL_LIBS@ @OPENSSL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@
minerd_CFLAGS =

if HAVE_WINDOWS
minerd_CFLAGS += -Wl,--stack,10485760
endif
Loading

0 comments on commit 58a656b

Please sign in to comment.