Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDejanGrande committed Feb 12, 2018
0 parents commit 2ae1a41
Show file tree
Hide file tree
Showing 46 changed files with 25,472 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

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

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

ArtForz

pooler <pooler@litecoinpool.org>
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.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# 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:14.04
MAINTAINER Guillaume J. Charmes <guillaume@charmes.net>

RUN apt-get update -qq && \
apt-get install -qqy automake libcurl4-openssl-dev git make

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

RUN cd cpuminer && \
./autogen.sh && \
./configure CFLAGS="-O3" && \
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.
37 changes: 37 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

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

EXTRA_DIST = example-cfg.json nomacro.pl

SUBDIRS = compat

bin_PROGRAMS = minerd

dist_man_MANS = minerd.1

minerd_SOURCES = elist.h miner.h compat.h \
cpu-miner.c util.c \
sha2.c vcrypt.c
if USE_ASM
if ARCH_x86
minerd_SOURCES += sha2-x86.S vcrypt-x86.S
endif
if ARCH_x86_64
minerd_SOURCES += sha2-x64.S vcrypt-x64.S
endif
if ARCH_ARM
minerd_SOURCES += sha2-arm.S vcrypt-arm.S
endif
if ARCH_PPC
minerd_SOURCES += sha2-ppc.S vcrypt-ppc.S
endif
endif
minerd_LDFLAGS = $(PTHREAD_FLAGS)
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
minerd_CFLAGS = -fno-strict-aliasing
minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@ $(JANSSON_INCLUDES) $(PTHREAD_FLAGS)

Loading

0 comments on commit 2ae1a41

Please sign in to comment.