diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-10-16 21:25:33 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-10-16 21:25:33 +0800 |
commit | d5327ddc5fdc2a8b967699ea06ef5b5503657123 (patch) | |
tree | 9872db19a62cb21fc68e7c3e27a8bf8b9fcc63bd /build | |
parent | b74775400906cc582bdbb98bf5067c5258ee491f (diff) | |
parent | ec6a548ee3555813d83f86f82bd25694bfd9c303 (diff) | |
download | dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar.gz dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar.bz2 dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar.lz dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar.xz dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.tar.zst dexon-d5327ddc5fdc2a8b967699ea06ef5b5503657123.zip |
Merge pull request #1869 from Gustav-Simonsson/gpu_miner
all: Add GPU mining, disabled by default
Diffstat (limited to 'build')
-rwxr-xr-x | build/flags.sh (renamed from build/ldflags.sh) | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/ldflags.sh b/build/flags.sh index 3f055d416..e021dbad4 100755 --- a/build/ldflags.sh +++ b/build/flags.sh @@ -16,3 +16,7 @@ sep=$(go version | awk '{ if ($3 >= "go1.5" || index($3, "devel")) print "="; el if [ -f ".git/HEAD" ]; then echo "-ldflags '-X main.gitCommit$sep$(git rev-parse HEAD)'" fi + +if [ ! -z "$GO_OPENCL" ]; then + echo "-tags opencl" +fi |