Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646154 - =net-p2p/cpp-ethereum-genoil-117 cpp-ethereum fork with GPU support (new ebuild)
Summary: =net-p2p/cpp-ethereum-genoil-117 cpp-ethereum fork with GPU support (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/Genoil/cpp-ethereum
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-30 20:18 UTC by Richard Ostrow
Modified: 2018-01-30 21:02 UTC (History)
1 user (show)

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


Attachments
=net-p2p/cpp-ethereum-genoil-117.ebuild (cpp-ethereum-genoil-117.ebuild,1.68 KB, text/plain)
2018-01-30 20:23 UTC, Richard Ostrow
Details
cpp-ethereum-genoil-cuda.patch (cpp-ethereum-genoil-cuda.patch,1.29 KB, patch)
2018-01-30 20:24 UTC, Richard Ostrow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Ostrow 2018-01-30 20:18:13 UTC
Ethereum mining utility forked from cpp-ethereum with support for GPU mining (both opencl and cuda). The main branch has abandoned GPU mining, but this (Genoil) fork maintains GPU mining support.

Reproducible: Always
Comment 1 Richard Ostrow 2018-01-30 20:23:11 UTC
Created attachment 517166 [details]
=net-p2p/cpp-ethereum-genoil-117.ebuild

Ebuild to build cpp-ethereum from the genoil fork. Modified upstream to remove the compute_20 architecture that is no longer supported in the cuda toolset, and removed the upstream enforcement of -std=c++11, which caused an error on redefining std.

Requires the files/cpp-ethereum-genoil-cuda.patch for the above changes.

Also modified the CMakeLists.txt to only build libraries for the native host architecture via $(get_libdir), as it was hard-wired to install libraries into $PREFIX/lib
Comment 2 Richard Ostrow 2018-01-30 20:24:32 UTC
Created attachment 517168 [details, diff]
cpp-ethereum-genoil-cuda.patch

Fixes upstream incompatibility issues with current versions of CUDA and current configurations of GCC which pre-define a C std.