Skip to content

Commit

Permalink
Initial upload v3.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDDee committed Sep 22, 2016
1 parent a3c8079 commit a35039b
Show file tree
Hide file tree
Showing 480 changed files with 211,015 additions and 3 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
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
minerd*
cpuminer
*.exe
*.o
*.d
gmon.out

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

*.vcxproj.user
*.opensdf
*.sdf
*.suo
Release/
Debug/
x64/Release/
x64/Debug/
*.pdb/

installer/
res/cpuminer.aps
res/RC*
sign/
sign.sh

compat/curl-for-windows/
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: c

compiler:
- gcc

before_install:
- sudo apt-get update -qq
- sudo apt-get install libcurl4-openssl-dev

before_script:
- ./autogen.sh

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

ArtForz

pooler <pooler@litecoinpool.org>

BlueDragon747

1gh

Neisklar

prettyhatemachine

LucasJones

tpruvot@github

Jay D Dee
77 changes: 77 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
################################################################
# Sample Android repo Makefile, used to test arm on the Tegra K1
################################################################

cpuminer-src := $(call my-dir)

LOCAL_PATH := $(cpuminer-src)
include $(CLEAR_VARS)

LOCAL_MODULE=cpuminer-jansson
LOCAL_MODULE_TAGS=optional

define all-c-files-under
$(patsubst ./%,%, \
$(shell cd $(LOCAL_PATH) ; \
find -L $(1) -name "*.c" -and -not -name ".*") \
)
endef

LOCAL_SRC_FILES := $(call all-c-files-under,compat/jansson)
LOCAL_C_INCLUDES := $(cpuminer-src)/compat/jansson

include $(BUILD_STATIC_LIBRARY)

################################################################


LOCAL_PATH := $(cpuminer-src)
include $(CLEAR_VARS)

LOCAL_MODULE=cpuminer
LOCAL_MODULE_TAGS=optional
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
LOCAL_MODULE_STEM := $(LOCAL_MODULE)

LOCAL_C_INCLUDES := $(cpuminer-src)/compat/bionic \
$(cpuminer-src)/compat/jansson \
$(TARGET_OUT_INTERMEDIATES)/include/libcurl \
external/openssl/include \

LOCAL_CFLAGS := -std=c99 -Wno-pointer-sign -Wno-missing-field-initializers \
-Wno-unused-parameter #-DNOASM
LOCAL_CFLAGS += -DVERSION=\"1.2\"

sph_files:=$(call all-c-files-under,sha3)

LOCAL_SRC_FILES=\
cpu-miner.c util.c \
api.c sysinfos.c \
$(call all-c-files-under,algo) \
$(filter-out sha3/md_helper.c,$(sph_files)) \
$(call all-c-files-under,crypto) \
$(call all-c-files-under,lyra2) \
asm/sha2-$(TARGET_ARCH).S \
asm/scrypt-$(TARGET_ARCH).S \
asm/neoscrypt_asm.S

LOCAL_STATIC_LIBRARIES := libm cpuminer-jansson
LOCAL_STATIC_LIBRARIES += libz libcrypto_static
LOCAL_STATIC_LIBRARIES += libssl_static

# Require curl config changes and an addional
# module definition in external/curl(_static?)
#LOCAL_FORCE_STATIC_EXECUTABLE := true

ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true)
LOCAL_CFLAGS += -DCURL_STATICLIB # -DHTTP_ONLY
LOCAL_STATIC_LIBRARIES += libcurl_static libc
else
LOCAL_SHARED_LIBRARIES := libssl libcrypto
LOCAL_SHARED_LIBRARIES += libcurl
#LOCAL_STATIC_LIBRARIES += libcurl_static
endif

include $(BUILD_EXECUTABLE)

Loading

0 comments on commit a35039b

Please sign in to comment.