{"action":"created","comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/comments/46438249","id":46438249,"diff_hunk":"@@ -17,8 +17,13 @@\n @author: George Tsouloupas (Cyprus Institute)\n @author: Fotis Georgatos (Uni.lu)\n @author: Kenneth Hoste (Ghent University)\n+@author: Damian Alvarez (Forschungszentrum Juelich)\n \"\"\"\n import os\n+import stat\n+import shutil","path":"easybuild/easyblocks/c/cuda.py","position":19,"original_position":19,"commit_id":"b04d47de7592bde690cb8d302ad604300f0e70c6","original_commit_id":"b04d47de7592bde690cb8d302ad604300f0e70c6","user":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"body":"@damianam: we try to keep these alphabetical, please reorder?","created_at":"2015-12-02T16:36:39Z","updated_at":"2015-12-02T16:36:39Z","html_url":"https://github.com/hpcugent/easybuild-easyblocks/pull/758#discussion_r46438249","pull_request_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758","_links":{"self":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/comments/46438249"},"html":{"href":"https://github.com/hpcugent/easybuild-easyblocks/pull/758#discussion_r46438249"},"pull_request":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758"}}},"pull_request":{"url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758","id":52416320,"html_url":"https://github.com/hpcugent/easybuild-easyblocks/pull/758","diff_url":"https://github.com/hpcugent/easybuild-easyblocks/pull/758.diff","patch_url":"https://github.com/hpcugent/easybuild-easyblocks/pull/758.patch","issue_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/issues/758","number":758,"state":"open","locked":false,"title":"Modified CUDA easyblock to support wrapper creation","user":{"login":"damianam","id":10760206,"avatar_url":"https://avatars.githubusercontent.com/u/10760206?v=3","gravatar_id":"","url":"https://api.github.com/users/damianam","html_url":"https://github.com/damianam","followers_url":"https://api.github.com/users/damianam/followers","following_url":"https://api.github.com/users/damianam/following{/other_user}","gists_url":"https://api.github.com/users/damianam/gists{/gist_id}","starred_url":"https://api.github.com/users/damianam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianam/subscriptions","organizations_url":"https://api.github.com/users/damianam/orgs","repos_url":"https://api.github.com/users/damianam/repos","events_url":"https://api.github.com/users/damianam/events{/privacy}","received_events_url":"https://api.github.com/users/damianam/received_events","type":"User","site_admin":false},"body":"This PR modifies the CUDA easyblock to support the optional creation of nvcc wrappers. It adds two extra boolean options for easyconfigs: generate_intel_wrapper and generate_gcc_wrapper. The first one will create a wrapper invcc. The second a wrapper called gnvcc.\r\n\r\nThis allows to simply tell users \"Use invcc to have icpc as a host compiler\".\r\n\r\nThis is a convenience fix that doesn't modify the default behaviour or installation.\r\n\r\nIt will be followed by another PR in the easyconfigs repo, with an example for iccifort+CUDA.","created_at":"2015-12-02T16:11:49Z","updated_at":"2015-12-02T16:36:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db72e66442d456c645278d0efce3e3d3635ba688","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758/commits","review_comments_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758/comments","review_comment_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/issues/758/comments","statuses_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/statuses/b04d47de7592bde690cb8d302ad604300f0e70c6","head":{"label":"damianam:updated_cuda","ref":"updated_cuda","sha":"b04d47de7592bde690cb8d302ad604300f0e70c6","user":{"login":"damianam","id":10760206,"avatar_url":"https://avatars.githubusercontent.com/u/10760206?v=3","gravatar_id":"","url":"https://api.github.com/users/damianam","html_url":"https://github.com/damianam","followers_url":"https://api.github.com/users/damianam/followers","following_url":"https://api.github.com/users/damianam/following{/other_user}","gists_url":"https://api.github.com/users/damianam/gists{/gist_id}","starred_url":"https://api.github.com/users/damianam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianam/subscriptions","organizations_url":"https://api.github.com/users/damianam/orgs","repos_url":"https://api.github.com/users/damianam/repos","events_url":"https://api.github.com/users/damianam/events{/privacy}","received_events_url":"https://api.github.com/users/damianam/received_events","type":"User","site_admin":false},"repo":{"id":46984921,"name":"easybuild-easyblocks","full_name":"damianam/easybuild-easyblocks","owner":{"login":"damianam","id":10760206,"avatar_url":"https://avatars.githubusercontent.com/u/10760206?v=3","gravatar_id":"","url":"https://api.github.com/users/damianam","html_url":"https://github.com/damianam","followers_url":"https://api.github.com/users/damianam/followers","following_url":"https://api.github.com/users/damianam/following{/other_user}","gists_url":"https://api.github.com/users/damianam/gists{/gist_id}","starred_url":"https://api.github.com/users/damianam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianam/subscriptions","organizations_url":"https://api.github.com/users/damianam/orgs","repos_url":"https://api.github.com/users/damianam/repos","events_url":"https://api.github.com/users/damianam/events{/privacy}","received_events_url":"https://api.github.com/users/damianam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damianam/easybuild-easyblocks","description":"Collection of easyblocks that implement support for building and installing software with EasyBuild.","fork":true,"url":"https://api.github.com/repos/damianam/easybuild-easyblocks","forks_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/forks","keys_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/teams","hooks_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/hooks","issue_events_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/issues/events{/number}","events_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/events","assignees_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/assignees{/user}","branches_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/branches{/branch}","tags_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/tags","blobs_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/statuses/{sha}","languages_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/languages","stargazers_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/stargazers","contributors_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/contributors","subscribers_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/subscribers","subscription_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/subscription","commits_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/contents/{+path}","compare_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/merges","archive_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/downloads","issues_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/issues{/number}","pulls_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/pulls{/number}","milestones_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/milestones{/number}","notifications_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/labels{/name}","releases_url":"https://api.github.com/repos/damianam/easybuild-easyblocks/releases{/id}","created_at":"2015-11-27T14:40:00Z","updated_at":"2015-11-27T14:40:02Z","pushed_at":"2015-12-02T15:54:18Z","git_url":"git://github.com/damianam/easybuild-easyblocks.git","ssh_url":"git@github.com:damianam/easybuild-easyblocks.git","clone_url":"https://github.com/damianam/easybuild-easyblocks.git","svn_url":"https://github.com/damianam/easybuild-easyblocks","homepage":"http://hpcugent.github.com/easybuild/","size":8325,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"hpcugent:develop","ref":"develop","sha":"550904243272448d11727eef1fc7a210a1133bc5","user":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"repo":{"id":6228378,"name":"easybuild-easyblocks","full_name":"hpcugent/easybuild-easyblocks","owner":{"login":"hpcugent","id":1515263,"avatar_url":"https://avatars.githubusercontent.com/u/1515263?v=3","gravatar_id":"","url":"https://api.github.com/users/hpcugent","html_url":"https://github.com/hpcugent","followers_url":"https://api.github.com/users/hpcugent/followers","following_url":"https://api.github.com/users/hpcugent/following{/other_user}","gists_url":"https://api.github.com/users/hpcugent/gists{/gist_id}","starred_url":"https://api.github.com/users/hpcugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpcugent/subscriptions","organizations_url":"https://api.github.com/users/hpcugent/orgs","repos_url":"https://api.github.com/users/hpcugent/repos","events_url":"https://api.github.com/users/hpcugent/events{/privacy}","received_events_url":"https://api.github.com/users/hpcugent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hpcugent/easybuild-easyblocks","description":"Collection of easyblocks that implement support for building and installing software with EasyBuild.","fork":false,"url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks","forks_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/forks","keys_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/teams","hooks_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/hooks","issue_events_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/issues/events{/number}","events_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/events","assignees_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/assignees{/user}","branches_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/branches{/branch}","tags_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/tags","blobs_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/statuses/{sha}","languages_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/languages","stargazers_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/stargazers","contributors_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/contributors","subscribers_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/subscribers","subscription_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/subscription","commits_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/contents/{+path}","compare_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/merges","archive_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/downloads","issues_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/issues{/number}","pulls_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls{/number}","milestones_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/milestones{/number}","notifications_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/labels{/name}","releases_url":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/releases{/id}","created_at":"2012-10-15T14:31:19Z","updated_at":"2015-09-28T14:43:46Z","pushed_at":"2015-12-02T16:11:49Z","git_url":"git://github.com/hpcugent/easybuild-easyblocks.git","ssh_url":"git@github.com:hpcugent/easybuild-easyblocks.git","clone_url":"https://github.com/hpcugent/easybuild-easyblocks.git","svn_url":"https://github.com/hpcugent/easybuild-easyblocks","homepage":"http://hpcugent.github.com/easybuild/","size":8746,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":120,"forks":85,"open_issues":120,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758"},"html":{"href":"https://github.com/hpcugent/easybuild-easyblocks/pull/758"},"issue":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/issues/758"},"comments":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/issues/758/comments"},"review_comments":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758/comments"},"review_comment":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/pulls/758/commits"},"statuses":{"href":"https://api.github.com/repos/hpcugent/easybuild-easyblocks/statuses/b04d47de7592bde690cb8d302ad604300f0e70c6"}}}}