Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596720 - net-p2p/go-ethereum: enable opencl mining
Summary: net-p2p/go-ethereum: enable opencl mining
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mathy Vanvoorden
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-10-10 01:13 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2017-11-07 20:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2016-10-10 01:13:45 UTC
--- /usr/portage/net-p2p/go-ethereum/go-ethereum-1.4.16-r1.ebuild	2016-10-07 03:10:28.907776189 +0300
+++ go-ethereum-1.4.16-r2.ebuild	2016-10-10 03:33:17.219273685 +0300
@@ -11,12 +11,13 @@
 LICENSE="GPL-3+ LGPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="evm"
+IUSE="evm opencl"
 
 DEPEND="dev-lang/go:="
 RDEPEND="${DEPEND}"
 
 src_compile() {
+	use opencl && export GO_OPENCL=yeah
 	emake geth
 	use evm && emake evm
 }
Comment 1 Mathy Vanvoorden 2016-10-11 12:36:02 UTC
PR created

https://github.com/gentoo/gentoo/pull/2532
Comment 2 Mathy Vanvoorden 2017-11-07 20:53:00 UTC
Was merged in https://github.com/gentoo/gentoo/pull/2532