{"action":"created","comment":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/81615585","pull_request_review_id":2582705,"id":81615585,"diff_hunk":"@@ -0,0 +1,146 @@\n+# Copyright 1999-2016 Gentoo Foundation\n+# Distributed under the terms of the GNU General Public License v2\n+# $Id$\n+\n+EAPI=6\n+\n+inherit cuda eutils flag-o-matic portability toolchain-funcs unpacker versionator\n+\n+MYD=$(get_version_component_range 1-2)\n+\n+DESCRIPTION=\"NVIDIA CUDA Software Development Kit\"\n+HOMEPAGE=\"https://developer.nvidia.com/cuda-zone\"\n+SRC_URI=\"https://developer.nvidia.com/compute/cuda/${MYD}/prod/local_installers/cuda_${PV}_linux-run -> cuda_${PV}_linux.run\"\n+\n+LICENSE=\"CUDPP\"\n+SLOT=\"0\"\n+KEYWORDS=\"~amd64 ~amd64-linux\"\n+IUSE=\"debug +doc +examples opencl +cuda\"\n+\n+RDEPEND=\"\n+\t~dev-util/nvidia-cuda-toolkit-${PV}\n+\tmedia-libs/freeglut\n+\texamples? (\n+\t\tmedia-libs/freeimage\n+\t\tmedia-libs/glew:*\n+\t\tvirtual/mpi\n+\t\t>=x11-drivers/nvidia-drivers-367.44[uvm]\n+\t\t)\"\n+DEPEND=\"${RDEPEND}\"\n+\n+RESTRICT=\"test\"\n+\n+S=${WORKDIR}/samples\n+\n+QA_EXECSTACK=(\n+\topt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint\n+\topt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort\n+\topt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint\n+\topt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort\n+\t)\n+\n+src_unpack() {\n+\tunpacker\n+\tunpacker run_files/cuda-samples*run\n+}\n+\n+pkg_setup() {\n+\tif use cuda || use opencl; then\n+\t\tcuda_pkg_setup\n+\tfi\n+}\n+\n+src_prepare() {\n+\texport RAWLDFLAGS=\"$(raw-ldflags)\"\n+#\tepatch \"${FILESDIR}\"/${P}-asneeded.patch\n+\n+\tsed \\\n+\t\t-e 's:-O2::g' \\\n+\t\t-e 's:-O3::g' \\\n+\t\t-e \"/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g\" \\\n+\t\t-e \"/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g\" \\\n+\t\t-e \"/CC/s:gcc:$(tc-getCC):g\" \\\n+\t\t-e \"/GCC/s:g++:$(tc-getCXX):g\" \\\n+\t\t-e \"/NVCC /s|\\(:=\\).*|:= ${EPREFIX}/opt/cuda/bin/nvcc|g\" \\\n+\t\t-e \"/ CFLAGS/s|\\(:=\\)|\\1 ${CFLAGS}|g\" \\\n+\t\t-e \"/ CXXFLAGS/s|\\(:=\\)|\\1 ${CXXFLAGS}|g\" \\\n+\t\t-e \"/NVCCFLAGS/s|\\(:=\\)|\\1 ${NVCCFLAGS} |g\" \\\n+\t\t-e 's:-Wimplicit::g' \\\n+\t\t-e \"s|../../common/lib/linux/\\$(OS_ARCH)/libGLEW.a|$($(tc-getPKG_CONFIG) --libs glew)|g\" \\\n+\t\t-e \"s|../../common/lib/\\$(OSLOWER)/libGLEW.a|$($(tc-getPKG_CONFIG) --libs glew)|g\" \\\n+\t\t-e \"s|../../common/lib/\\$(OSLOWER)/\\$(OS_ARCH)/libGLEW.a|$($(tc-getPKG_CONFIG) --libs glew)|g\" \\\n+\t\t-i $(find . -type f -name \"Makefile\") || die\n+\n+#\t\t-e \"/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g\" \\\n+\tfind common/inc/GL -delete || die\n+\tfind . -type f -name \"*\\.a\" -delete || die\n+\n+\tdefault\n+}\n+\n+src_compile() {\n+\tuse examples || return\n+\tlocal myopts verbose=\"verbose=1\"\n+\tuse debug && myopts+=\" dbg=1\"\n+\texport FAKEROOTKEY=1 # Workaround sandbox issue in #462602\n+\temake \\\n+\t\tcuda-install=\"${EPREFIX}/opt/cuda\" \\\n+\t\tCUDA_PATH=\"${EPREFIX}/opt/cuda/\" \\\n+\t\tMPI_GCC=10 \\\n+\t\t${myopts} ${verbose}\n+}\n+\n+src_test() {\n+\tlocal _dir _subdir","path":"dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-8.0.44.ebuild","position":94,"original_position":94,"commit_id":"70e182e7f16a8b13064d50ff733d5098adbe3a84","original_commit_id":"70e182e7f16a8b13064d50ff733d5098adbe3a84","user":{"login":"marbre","id":8095156,"avatar_url":"https://avatars.githubusercontent.com/u/8095156?v=3","gravatar_id":"","url":"https://api.github.com/users/marbre","html_url":"https://github.com/marbre","followers_url":"https://api.github.com/users/marbre/followers","following_url":"https://api.github.com/users/marbre/following{/other_user}","gists_url":"https://api.github.com/users/marbre/gists{/gist_id}","starred_url":"https://api.github.com/users/marbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbre/subscriptions","organizations_url":"https://api.github.com/users/marbre/orgs","repos_url":"https://api.github.com/users/marbre/repos","events_url":"https://api.github.com/users/marbre/events{/privacy}","received_events_url":"https://api.github.com/users/marbre/received_events","type":"User","site_admin":false},"body":"Was introduced a long time ago... @jlec ?","created_at":"2016-10-03T18:53:34Z","updated_at":"2016-10-03T18:53:34Z","html_url":"https://github.com/gentoo/gentoo/pull/2445#discussion_r81615585","pull_request_url":"https://api.github.com/repos/gentoo/gentoo/pulls/2445","_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/81615585"},"html":{"href":"https://github.com/gentoo/gentoo/pull/2445#discussion_r81615585"},"pull_request":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/2445"}}},"pull_request":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/2445","id":87608352,"html_url":"https://github.com/gentoo/gentoo/pull/2445","diff_url":"https://github.com/gentoo/gentoo/pull/2445.diff","patch_url":"https://github.com/gentoo/gentoo/pull/2445.patch","issue_url":"https://api.github.com/repos/gentoo/gentoo/issues/2445","number":2445,"state":"open","locked":false,"title":"dev-util/nvidia-cuda-{sdk,toolkit}: Version bump to 8.0.44","user":{"login":"marbre","id":8095156,"avatar_url":"https://avatars.githubusercontent.com/u/8095156?v=3","gravatar_id":"","url":"https://api.github.com/users/marbre","html_url":"https://github.com/marbre","followers_url":"https://api.github.com/users/marbre/followers","following_url":"https://api.github.com/users/marbre/following{/other_user}","gists_url":"https://api.github.com/users/marbre/gists{/gist_id}","starred_url":"https://api.github.com/users/marbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbre/subscriptions","organizations_url":"https://api.github.com/users/marbre/orgs","repos_url":"https://api.github.com/users/marbre/repos","events_url":"https://api.github.com/users/marbre/events{/privacy}","received_events_url":"https://api.github.com/users/marbre/received_events","type":"User","site_admin":false},"body":"@SoapGentoo \r\n\r\nThis closes Gentoo Bug 595640 and https://github.com/gentoo-science/sci/issues/688. I'll adopted my release candidate ebuild from the overlay, droped the fetch restriction and further modified some lines. The required drivers is actually a guess, since Nvidia ships 367.48  which is not yet released. Anyway, with 367.44 deviceQuery from the sdk works.\r\nFurther, gcc 5.4 might be supported as bosted at parallelforall, but the currently shipped installation docs do not explicitly mention this.","created_at":"2016-10-01T17:11:09Z","updated_at":"2016-10-03T18:53:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"659ee5f1a1d51cd70486e4a0f1d8481175d7a31b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gentoo/gentoo/pulls/2445/commits","review_comments_url":"https://api.github.com/repos/gentoo/gentoo/pulls/2445/comments","review_comment_url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gentoo/gentoo/issues/2445/comments","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/70e182e7f16a8b13064d50ff733d5098adbe3a84","head":{"label":"marbre:nvidia-cuda","ref":"nvidia-cuda","sha":"70e182e7f16a8b13064d50ff733d5098adbe3a84","user":{"login":"marbre","id":8095156,"avatar_url":"https://avatars.githubusercontent.com/u/8095156?v=3","gravatar_id":"","url":"https://api.github.com/users/marbre","html_url":"https://github.com/marbre","followers_url":"https://api.github.com/users/marbre/followers","following_url":"https://api.github.com/users/marbre/following{/other_user}","gists_url":"https://api.github.com/users/marbre/gists{/gist_id}","starred_url":"https://api.github.com/users/marbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbre/subscriptions","organizations_url":"https://api.github.com/users/marbre/orgs","repos_url":"https://api.github.com/users/marbre/repos","events_url":"https://api.github.com/users/marbre/events{/privacy}","received_events_url":"https://api.github.com/users/marbre/received_events","type":"User","site_admin":false},"repo":{"id":40589996,"name":"gentoo","full_name":"marbre/gentoo","owner":{"login":"marbre","id":8095156,"avatar_url":"https://avatars.githubusercontent.com/u/8095156?v=3","gravatar_id":"","url":"https://api.github.com/users/marbre","html_url":"https://github.com/marbre","followers_url":"https://api.github.com/users/marbre/followers","following_url":"https://api.github.com/users/marbre/following{/other_user}","gists_url":"https://api.github.com/users/marbre/gists{/gist_id}","starred_url":"https://api.github.com/users/marbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbre/subscriptions","organizations_url":"https://api.github.com/users/marbre/orgs","repos_url":"https://api.github.com/users/marbre/repos","events_url":"https://api.github.com/users/marbre/events{/privacy}","received_events_url":"https://api.github.com/users/marbre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marbre/gentoo","description":"The official mirror the Gentoo ebuild repository (now in true git!)","fork":true,"url":"https://api.github.com/repos/marbre/gentoo","forks_url":"https://api.github.com/repos/marbre/gentoo/forks","keys_url":"https://api.github.com/repos/marbre/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marbre/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marbre/gentoo/teams","hooks_url":"https://api.github.com/repos/marbre/gentoo/hooks","issue_events_url":"https://api.github.com/repos/marbre/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/marbre/gentoo/events","assignees_url":"https://api.github.com/repos/marbre/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/marbre/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/marbre/gentoo/tags","blobs_url":"https://api.github.com/repos/marbre/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marbre/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marbre/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/marbre/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marbre/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/marbre/gentoo/languages","stargazers_url":"https://api.github.com/repos/marbre/gentoo/stargazers","contributors_url":"https://api.github.com/repos/marbre/gentoo/contributors","subscribers_url":"https://api.github.com/repos/marbre/gentoo/subscribers","subscription_url":"https://api.github.com/repos/marbre/gentoo/subscription","commits_url":"https://api.github.com/repos/marbre/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/marbre/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/marbre/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/marbre/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/marbre/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/marbre/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marbre/gentoo/merges","archive_url":"https://api.github.com/repos/marbre/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marbre/gentoo/downloads","issues_url":"https://api.github.com/repos/marbre/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/marbre/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/marbre/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/marbre/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marbre/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/marbre/gentoo/releases{/id}","deployments_url":"https://api.github.com/repos/marbre/gentoo/deployments","created_at":"2015-08-12T08:43:37Z","updated_at":"2016-04-01T13:55:47Z","pushed_at":"2016-10-02T10:07:56Z","git_url":"git://github.com/marbre/gentoo.git","ssh_url":"git@github.com:marbre/gentoo.git","clone_url":"https://github.com/marbre/gentoo.git","svn_url":"https://github.com/marbre/gentoo","homepage":null,"size":222243,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gentoo:master","ref":"master","sha":"c2253c0a07f9843762c1f146ce2dc5b8ae563a84","user":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"repo":{"id":40499714,"name":"gentoo","full_name":"gentoo/gentoo","owner":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gentoo/gentoo","description":"The official mirror the Gentoo ebuild repository","fork":false,"url":"https://api.github.com/repos/gentoo/gentoo","forks_url":"https://api.github.com/repos/gentoo/gentoo/forks","keys_url":"https://api.github.com/repos/gentoo/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gentoo/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gentoo/gentoo/teams","hooks_url":"https://api.github.com/repos/gentoo/gentoo/hooks","issue_events_url":"https://api.github.com/repos/gentoo/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/gentoo/gentoo/events","assignees_url":"https://api.github.com/repos/gentoo/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/gentoo/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/gentoo/gentoo/tags","blobs_url":"https://api.github.com/repos/gentoo/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gentoo/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gentoo/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gentoo/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/gentoo/gentoo/languages","stargazers_url":"https://api.github.com/repos/gentoo/gentoo/stargazers","contributors_url":"https://api.github.com/repos/gentoo/gentoo/contributors","subscribers_url":"https://api.github.com/repos/gentoo/gentoo/subscribers","subscription_url":"https://api.github.com/repos/gentoo/gentoo/subscription","commits_url":"https://api.github.com/repos/gentoo/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gentoo/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gentoo/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gentoo/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gentoo/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/gentoo/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gentoo/gentoo/merges","archive_url":"https://api.github.com/repos/gentoo/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gentoo/gentoo/downloads","issues_url":"https://api.github.com/repos/gentoo/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/gentoo/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/gentoo/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/gentoo/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gentoo/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/gentoo/gentoo/releases{/id}","deployments_url":"https://api.github.com/repos/gentoo/gentoo/deployments","created_at":"2015-08-10T18:47:32Z","updated_at":"2016-10-02T02:15:45Z","pushed_at":"2016-10-03T18:50:12Z","git_url":"git://github.com/gentoo/gentoo.git","ssh_url":"git@github.com:gentoo/gentoo.git","clone_url":"https://github.com/gentoo/gentoo.git","svn_url":"https://github.com/gentoo/gentoo","homepage":"https://wiki.gentoo.org/wiki/Gentoo_Github","size":261029,"stargazers_count":345,"watchers_count":345,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":317,"mirror_url":null,"open_issues_count":81,"forks":317,"open_issues":81,"watchers":345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/2445"},"html":{"href":"https://github.com/gentoo/gentoo/pull/2445"},"issue":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/2445"},"comments":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/2445/comments"},"review_comments":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/2445/comments"},"review_comment":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/2445/commits"},"statuses":{"href":"https://api.github.com/repos/gentoo/gentoo/statuses/70e182e7f16a8b13064d50ff733d5098adbe3a84"}}}}
{"actor":{"display_login":"marbre"}}