Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Commit

Permalink
using nheqminer from macOS supported fork of mine (pull requests pend…
Browse files Browse the repository at this point in the history
…ing)
  • Loading branch information
kozyilmaz committed Nov 24, 2017
1 parent 7a283a9 commit a89ee01
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 261 deletions.
7 changes: 3 additions & 4 deletions nheqminer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ target_name ?= nheqminer

include ../Makefile.build

NHEQMINER_VERSION="0.5c"
NHEQMINER_VERSION="macos-clang"

# basic CUDA check for macOS
OSX_CUDA_BIN := $(shell ls -d /usr/local/cuda/bin/nvcc | tail -n 1)
Expand All @@ -15,12 +15,10 @@ endif
endif

nheqminer_clone:
if [ ! -f "nheqminer-$(NHEQMINER_VERSION).tar.gz" ]; then curl -o nheqminer-$(NHEQMINER_VERSION).tar.gz -L https://github.com/nicehash/nheqminer/archive/$(NHEQMINER_VERSION).tar.gz; fi
if [ ! -d "nheqminer-$(NHEQMINER_VERSION)" ]; then tar xvf nheqminer-$(NHEQMINER_VERSION).tar.gz; fi
if [ ! -d "nheqminer-$(NHEQMINER_VERSION)" ]; then git clone -b $(NHEQMINER_VERSION) https://github.com/kozyilmaz/nheqminer.git nheqminer-$(NHEQMINER_VERSION); fi
if [ ! -d "nheqminer" ]; then ln -sf nheqminer-$(NHEQMINER_VERSION) nheqminer; fi

nheqminer_config:
$(call patchme,nheqminer-$(NHEQMINER_VERSION))
( cd nheqminer-$(NHEQMINER_VERSION)/cpu_xenoncat/asm_mac; rm -rf equihash_avx*.elf.o equihash_avx*.o ; sh assemble.sh; )
( mkdir -p nheqminer-cpu; cd nheqminer-cpu; \
BOOST_ROOT=${BSPROOTFS} \
Expand Down Expand Up @@ -72,4 +70,5 @@ nheqminer_distclean:
rm -rf nheqminer-cpu
rm -rf nheqminer-gpu
rm -rf nheqminer-old
rm -rf nheqminer
rm -rf nheqminer-$(NHEQMINER_VERSION)
39 changes: 0 additions & 39 deletions nheqminer/patches/000-nheqminer-macos-compat.patch

This file was deleted.

34 changes: 0 additions & 34 deletions nheqminer/patches/001-nheqminer-macos-equihash.patch

This file was deleted.

18 changes: 0 additions & 18 deletions nheqminer/patches/002-nheqminer-macos-cflags.patch

This file was deleted.

19 changes: 0 additions & 19 deletions nheqminer/patches/004-nheqminer-macos-serialize.patch

This file was deleted.

76 changes: 0 additions & 76 deletions nheqminer/patches/005-nheqminer-macos-barrier.patch

This file was deleted.

42 changes: 0 additions & 42 deletions nheqminer/patches/006-cuda-sm30-equihash.patch

This file was deleted.

16 changes: 0 additions & 16 deletions nheqminer/patches/007-cuda-sm30-support.patch

This file was deleted.

13 changes: 0 additions & 13 deletions nheqminer/patches/008-bitcoingold-support.patch

This file was deleted.

0 comments on commit a89ee01

Please sign in to comment.