From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E9B5138331 for ; Wed, 12 Oct 2016 07:38:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC62FE0CDF; Wed, 12 Oct 2016 07:38:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF7C2E0CDF for ; Wed, 12 Oct 2016 07:38:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 003BA341586 for ; Wed, 12 Oct 2016 07:38:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0984F2FD for ; Wed, 12 Oct 2016 07:38:23 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1476257805.cb7d65aae5a595e7b9d44b627988ea0c8066ee71.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/go-ethereum/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/go-ethereum/go-ethereum-1.4.17-r1.ebuild net-p2p/go-ethereum/go-ethereum-1.4.17.ebuild net-p2p/go-ethereum/metadata.xml X-VCS-Directories: net-p2p/go-ethereum/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: cb7d65aae5a595e7b9d44b627988ea0c8066ee71 X-VCS-Branch: master Date: Wed, 12 Oct 2016 07:38:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 37bbfebd-8f07-46e6-a79c-f594e4dba368 X-Archives-Hash: 982ee4fa3d22ce76e12b02f6eaeeb80c commit: cb7d65aae5a595e7b9d44b627988ea0c8066ee71 Author: Mathy Vanvoorden vanvoorden be> AuthorDate: Tue Oct 11 12:34:30 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Oct 12 07:36:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7d65aa net-p2p/go-ethereum: add opencl USE-flag Adds support for mining with GPU Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596720 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2532 Signed-off-by: David Seifert gentoo.org> .../{go-ethereum-1.4.17.ebuild => go-ethereum-1.4.17-r1.ebuild} | 8 ++++++-- net-p2p/go-ethereum/metadata.xml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/net-p2p/go-ethereum/go-ethereum-1.4.17.ebuild b/net-p2p/go-ethereum/go-ethereum-1.4.17-r1.ebuild similarity index 83% rename from net-p2p/go-ethereum/go-ethereum-1.4.17.ebuild rename to net-p2p/go-ethereum/go-ethereum-1.4.17-r1.ebuild index e5c4fb7..28bfc26 100644 --- a/net-p2p/go-ethereum/go-ethereum-1.4.17.ebuild +++ b/net-p2p/go-ethereum/go-ethereum-1.4.17-r1.ebuild @@ -11,12 +11,16 @@ SRC_URI="https://github.com/ethereum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+ LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="evm" +IUSE="evm opencl" -DEPEND="dev-lang/go:=" +DEPEND="dev-lang/go:= + opencl? ( virtual/opencl ) +" RDEPEND="${DEPEND}" src_compile() { + use opencl && export GO_OPENCL=true + emake geth use evm && emake evm } diff --git a/net-p2p/go-ethereum/metadata.xml b/net-p2p/go-ethereum/metadata.xml index d543310..8a476b0 100644 --- a/net-p2p/go-ethereum/metadata.xml +++ b/net-p2p/go-ethereum/metadata.xml @@ -11,5 +11,6 @@ Build Ethereum Virtual Machine (EVM) + Add OpenCL GPU mining support