Add amdapp-sdk, amdadl-sdk and cgminer#452
Add amdapp-sdk, amdadl-sdk and cgminer#452offlinehacker wants to merge 13 commits intoNixOS:masterfrom
Conversation
offlinehacker
commented
Apr 6, 2013
- AMD Accelerated Parallel Processing (APP) SDK, with OpenCL 1.2 support.
- API to access display driver functionality for ATI graphics cards
- CPU/GPU miner in c for bitcoin
There was a problem hiding this comment.
license and platforms come from stdenv.lib.platforms and stdenv.lib.licenses
There was a problem hiding this comment.
Tnx, will fix that :)
There was a problem hiding this comment.
Licenses are now updated, but for platforms i can't use any entry from stdenv.lib.platforms.
|
Goal achived, cgminer now working :) |
|
Looks ok to me |
|
Wait, do not merge yet, it worked on debian using nix, but have to fix it for nixos ;) |
|
This is now ready to be pulled in. Still some things needs to be fixed in future:
Note: Please first merge #462 this one takes ATI driver patches from there |
|
Could you rebase so this can be merged? |
|
This should be it. Once again #462 is included here. |
pkgs/lib/licenses.nix
Outdated
There was a problem hiding this comment.
Tnx, fixed ;)
|
How do I test it? |
|
Hum for cgminer just nix-env -iA your_repo_name.cgminer, this will also compile amdappsdk and amdadlsdk. For ati drivers i don't know. |
|
This works for me without any problems, for quite some time. @iElectric what's up with testing, any progress? If necessary i can test it from clean install once again, i have some ATI cards lying around. |
|
Still needs to be tested :/ I'll try asap |
|
Okay, if you will try mining for real take a look at https://github.com/offlinehacker/miner.litecoin.si/blob/master/miner.nix (at the end of the file), because you have to export some environment variables. More precisely: |
|
Just rebased once again |
|
are .topdeps and .topmsg files really needed? |
|
Well no, they are reminder from TopGit from MarcWeber commits and must be
|
|
Can you remove .topdeps and .topmsg and ati related stuff and force push new changes? |
|
Okay, i have just done that. |
|
I am closing this of honor of #638 pull request, which is updated and rewritten version of this one. |