-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Refactoring - Sever libethereum dependency for ethminer #3211
Comments
Adding @tswindell. |
OK, so just about everything appears to be happening inline in here: I managed to strip that down to the following:
|
OK ... Looks like this is essentially the scope of the dependencies:
|
As mentioned in #3228, you can't build ethminer without all the dependencies of the other tools/libs. One specific example is libp2p, which requires cryptopp. ethminer doesn't require it, but cmake fails before it can generate the makefile for ethminer:
|
Yeah ... I see the distinction you are making. My preference on getting that trimmed-down Makefile generation is just to get the repository boundaries correct, rather than constraining with BUNDLEs. For |
Having looked at both codebases, forking Genoil's code may be the easiest
option.
|
Upstreaming should be equivalent, because nothing much has changed in the upstream since the fork was made. |
Hi, |
We moved ethminer to separated repo https://github.com/ethereum-mining/ethminer. This one is not useful any more as it has not GPU support. The other one has OpenCL + CUDA + stratum. If you want make it better the other repo is the place to start from. Sorry for confusion... |
No problem. I will look at that repository to see if I can contribute there. I have a little experience with CUDA programming. Thanks for the update though. |
From @bobsummerwill on July 22, 2016 20:53
See dependency diagram for the re-formed cpp-ethereum repository:
It looks like it might be possible to sever
ethminer
from any dependency on the C++ runtime with a little refactoring inethashseal
- pulling the mining-specific parts out intoethminer
itself and removing the mining command-line options frometh
.That would make
ethminer
dependent only onethash
andethash-cl
- not on any other parts of the cpp-ethereum repo.So @Genoil and @chfast - you guys will know a lot better than me - are there significant dangling tentacles beyond that? Other parts of
ethashseal
. Types and so on inethcore
anddevcore
, which would need orphaning out, as I have been doing for Solidity?This would be with a view to upstreaming your changes, @Genoil, (#3124 and #3125) and then extracting
ethminer
into its own package.Also CC @chriseth, @gavofyork, @smartbitcoin, @General-Beck, @wolf9466, @Equinox-, @LefterisJP, @debris, @arkpar.
And please do feel free to add anybody else with insight into the dependencies of ethminer.
Copied from original issue: ethereum/webthree-umbrella#675
The text was updated successfully, but these errors were encountered: