forked from JayDDee/cpuminer-opt
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
480 changed files
with
211,015 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
Oops, something went wrong.