public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/go-ethereum/
Date: Wed, 12 Oct 2016 07:38:23 +0000 (UTC)	[thread overview]
Message-ID: <1476257805.cb7d65aae5a595e7b9d44b627988ea0c8066ee71.soap@gentoo> (raw)

commit:     cb7d65aae5a595e7b9d44b627988ea0c8066ee71
Author:     Mathy Vanvoorden <mathy <AT> vanvoorden <DOT> be>
AuthorDate: Tue Oct 11 12:34:30 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> 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 <soap <AT> 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 @@
 	</maintainer>
 	<use>
 		<flag name="evm">Build Ethereum Virtual Machine (EVM)</flag>
+		<flag name="opencl">Add OpenCL GPU mining support</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2016-10-12  7:38 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-12  7:38 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-29 12:21 [gentoo-commits] repo/gentoo:master commit in: net-p2p/go-ethereum/ Joonas Niilola
2024-07-30 16:10 Joonas Niilola
2024-07-30 16:10 Joonas Niilola
2024-07-30 16:10 Joonas Niilola
2024-07-30 16:10 Joonas Niilola
2024-07-30 16:10 Joonas Niilola
2024-06-12  2:28 Sam James
2024-02-27 23:21 Sam James
2024-02-27 23:21 Sam James
2024-02-27 23:00 Sam James
2022-06-10  6:39 Sam James
2022-05-15  2:54 Sam James
2022-05-15  2:54 Sam James
2021-12-24  4:02 Sam James
2021-12-24  4:02 Sam James
2021-09-21  7:03 Joonas Niilola
2021-05-07 14:39 Sam James
2021-05-07 14:38 Sam James
2021-04-25 20:07 Sam James
2021-04-06 21:17 Sam James
2021-03-20  8:25 Joonas Niilola
2021-03-08 10:20 Sam James
2021-03-05 23:42 Sam James
2021-03-05 17:58 Sam James
2021-03-05 17:58 Sam James
2020-06-13 19:32 William Hubbs
2020-06-13 19:32 William Hubbs
2018-09-18  9:37 Michał Górny
2018-09-18  9:37 Michał Górny
2018-03-27 18:32 Michał Górny
2018-03-27 18:32 Michał Górny
2018-03-27 18:32 Michał Górny
2017-12-24 21:21 Zac Medico
2017-12-20 19:47 Craig Andrews
2017-12-20 19:47 Craig Andrews
2017-01-03 23:07 Patrice Clement
2016-11-20 19:24 David Seifert
2016-10-15 16:36 David Seifert
2016-10-11  7:50 David Seifert
2016-10-06 22:04 David Seifert
2016-10-06 21:56 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476257805.cb7d65aae5a595e7b9d44b627988ea0c8066ee71.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox