{"id":783,"date":"2018-01-11T15:06:55","date_gmt":"2018-01-11T07:06:55","guid":{"rendered":"https:\/\/www.huba.org\/tweets\/?p=783"},"modified":"2018-01-11T15:07:46","modified_gmt":"2018-01-11T07:07:46","slug":"ubuntu%e4%b8%8bxmr-stak-amd-gpu%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.huba.org\/tweets\/2018\/01\/11\/783\/","title":{"rendered":"Ubuntu\u4e0bxmr-stak AMD GPU\u914d\u7f6e"},"content":{"rendered":"<p>\u7cfb\u7edf\u4e3aUbuntu 16.04\uff0c64\u4f4d\u3002<\/p>\n<p>1.<\/p>\n<p>\u4e0b\u8f7dAMD SDK\u00a0http:\/\/developer.amd.com\/amd-accelerated-parallel-processing-app-sdk\/<\/p>\n<p>2.<\/p>\n<p>apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev git<br \/>\ngit clone <a href=\"https:\/\/github.com\/fireice-uk\/xmr-stak.git\" rel=\"nofollow\">https:\/\/github.com\/fireice-uk\/xmr-stak.git<\/a><br \/>\nmkdir xmr-stak\/build<br \/>\ncd xmr-stak\/build<br \/>\ncmake -DCUDA_ENABLE=OFF ..<br \/>\nmake install<\/p>\n<p>\u6309\u9053\u7406\u8fd9\u6837\u5c31\u53ef\u4ee5\u8fd0\u884c\u4e86\uff0c\u5982\u679c\u51fa\u73b0\u201crecipe for target &#8216;CMakeFiles\/xmrstak_opencl_backend.dir\/all&#8217; failed\u201d\u7684\u8bdd\uff0c\u6267\u884c\u4e0b\u9762\u8bed\u53e5\uff1a<\/p>\n<p>$ cd $AMDAPPSDKROOT\/lib\/x86_64<br \/>\n$ sudo ln -sf sdk\/libOpenCL.so.1 libOpenCL.so<\/p>\n<p>\u53c2\u8003\uff1ahttps:\/\/github.com\/fireice-uk\/xmr-stak\/blob\/master\/doc\/compile_Linux.md<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7cfb\u7edf\u4e3aUbuntu 16.04\uff0c64\u4f4d\u3002 1. \u4e0b\u8f7dAMD SDK\u00a0http:\/\/developer.amd. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":0,"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huba.org\/tweets\/wp-json\/wp\/v2\/tags?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}