{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/26889732","id":26889732,"diff_hunk":"@@ -0,0 +1,23 @@\n+class Clblas < Formula\n+  homepage \"https://github.com/clMathLibraries/clBLAS\"\n+  url \"https://github.com/clMathLibraries/clBLAS/archive/v2.2.tar.gz\"\n+  sha256 \"0563e028485d240f8b6e6efcae61677049627b19e924dcb1ef8014065b6416df\"\n+\n+  depends_on \"cmake\" => :build\n+  depends_on \"boost\" => :build\n+\n+  patch do\n+    # install clBLAS cmake configuration and version files\n+    url \"https://github.com/clMathLibraries/clBLAS/pull/68.diff\"\n+    sha1 \"b85a17cd972ed598a80aef8623830c90f5abb1f4\"\n+  end\n+\n+  def install\n+    system \"cmake\", \"-DBUILD_TEST=OFF\", \"-DBUILD_CLIENT=ON\", \"-DBUILD_KTEST=OFF\", \"-DSUFFIX_LIB:STRING=\", \"-DCMAKE_MACOSX_RPATH:BOOL=ON\", \"src\", *std_cmake_args","path":"Library/Formula/clblas.rb","position":16,"original_position":16,"commit_id":"cd7837339fa7fee50b13ad33ec0efac478aaec7f","original_commit_id":"cd7837339fa7fee50b13ad33ec0efac478aaec7f","user":{"login":"glehmann","id":325401,"avatar_url":"https://avatars.githubusercontent.com/u/325401?v=3","gravatar_id":"","url":"https://api.github.com/users/glehmann","html_url":"https://github.com/glehmann","followers_url":"https://api.github.com/users/glehmann/followers","following_url":"https://api.github.com/users/glehmann/following{/other_user}","gists_url":"https://api.github.com/users/glehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/glehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glehmann/subscriptions","organizations_url":"https://api.github.com/users/glehmann/orgs","repos_url":"https://api.github.com/users/glehmann/repos","events_url":"https://api.github.com/users/glehmann/events{/privacy}","received_events_url":"https://api.github.com/users/glehmann/received_events","type":"User","site_admin":false},"body":"thanks for the suggestion :)","created_at":"2015-03-21T06:42:20Z","updated_at":"2015-03-21T06:42:20Z","html_url":"https://github.com/Homebrew/homebrew/pull/37928#discussion_r26889732","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/26889732"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/37928#discussion_r26889732"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928","id":31657221,"html_url":"https://github.com/Homebrew/homebrew/pull/37928","diff_url":"https://github.com/Homebrew/homebrew/pull/37928.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/37928.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37928","number":37928,"state":"open","locked":false,"title":"add some opencl related libraries","user":{"login":"glehmann","id":325401,"avatar_url":"https://avatars.githubusercontent.com/u/325401?v=3","gravatar_id":"","url":"https://api.github.com/users/glehmann","html_url":"https://github.com/glehmann","followers_url":"https://api.github.com/users/glehmann/followers","following_url":"https://api.github.com/users/glehmann/following{/other_user}","gists_url":"https://api.github.com/users/glehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/glehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glehmann/subscriptions","organizations_url":"https://api.github.com/users/glehmann/orgs","repos_url":"https://api.github.com/users/glehmann/repos","events_url":"https://api.github.com/users/glehmann/events{/privacy}","received_events_url":"https://api.github.com/users/glehmann/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-03-20T22:27:38Z","updated_at":"2015-03-21T06:42:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8dc3376c05e8fee9bb5b4571e962c46c5a87d1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37928/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/cd7837339fa7fee50b13ad33ec0efac478aaec7f","head":{"label":"glehmann:opencl","ref":"opencl","sha":"cd7837339fa7fee50b13ad33ec0efac478aaec7f","user":{"login":"glehmann","id":325401,"avatar_url":"https://avatars.githubusercontent.com/u/325401?v=3","gravatar_id":"","url":"https://api.github.com/users/glehmann","html_url":"https://github.com/glehmann","followers_url":"https://api.github.com/users/glehmann/followers","following_url":"https://api.github.com/users/glehmann/following{/other_user}","gists_url":"https://api.github.com/users/glehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/glehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glehmann/subscriptions","organizations_url":"https://api.github.com/users/glehmann/orgs","repos_url":"https://api.github.com/users/glehmann/repos","events_url":"https://api.github.com/users/glehmann/events{/privacy}","received_events_url":"https://api.github.com/users/glehmann/received_events","type":"User","site_admin":false},"repo":{"id":10455413,"name":"homebrew","full_name":"glehmann/homebrew","owner":{"login":"glehmann","id":325401,"avatar_url":"https://avatars.githubusercontent.com/u/325401?v=3","gravatar_id":"","url":"https://api.github.com/users/glehmann","html_url":"https://github.com/glehmann","followers_url":"https://api.github.com/users/glehmann/followers","following_url":"https://api.github.com/users/glehmann/following{/other_user}","gists_url":"https://api.github.com/users/glehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/glehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glehmann/subscriptions","organizations_url":"https://api.github.com/users/glehmann/orgs","repos_url":"https://api.github.com/users/glehmann/repos","events_url":"https://api.github.com/users/glehmann/events{/privacy}","received_events_url":"https://api.github.com/users/glehmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glehmann/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/glehmann/homebrew","forks_url":"https://api.github.com/repos/glehmann/homebrew/forks","keys_url":"https://api.github.com/repos/glehmann/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glehmann/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glehmann/homebrew/teams","hooks_url":"https://api.github.com/repos/glehmann/homebrew/hooks","issue_events_url":"https://api.github.com/repos/glehmann/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/glehmann/homebrew/events","assignees_url":"https://api.github.com/repos/glehmann/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/glehmann/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/glehmann/homebrew/tags","blobs_url":"https://api.github.com/repos/glehmann/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glehmann/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glehmann/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/glehmann/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glehmann/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/glehmann/homebrew/languages","stargazers_url":"https://api.github.com/repos/glehmann/homebrew/stargazers","contributors_url":"https://api.github.com/repos/glehmann/homebrew/contributors","subscribers_url":"https://api.github.com/repos/glehmann/homebrew/subscribers","subscription_url":"https://api.github.com/repos/glehmann/homebrew/subscription","commits_url":"https://api.github.com/repos/glehmann/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/glehmann/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/glehmann/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/glehmann/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/glehmann/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/glehmann/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glehmann/homebrew/merges","archive_url":"https://api.github.com/repos/glehmann/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glehmann/homebrew/downloads","issues_url":"https://api.github.com/repos/glehmann/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/glehmann/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/glehmann/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/glehmann/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glehmann/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/glehmann/homebrew/releases{/id}","created_at":"2013-06-03T13:46:44Z","updated_at":"2014-05-11T22:28:57Z","pushed_at":"2015-03-20T22:27:06Z","git_url":"git://github.com/glehmann/homebrew.git","ssh_url":"git@github.com:glehmann/homebrew.git","clone_url":"https://github.com/glehmann/homebrew.git","svn_url":"https://github.com/glehmann/homebrew","homepage":"http://brew.sh","size":35052,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"9c86fbf6d8b1876b37a35d4ce8b7b9f87c94e1d4","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":"The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-03-21T05:48:17Z","pushed_at":"2015-03-21T05:55:46Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1465073,"stargazers_count":21994,"watchers_count":21994,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":11005,"mirror_url":null,"open_issues_count":365,"forks":11005,"open_issues":365,"watchers":21994,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/37928"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/37928"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/37928/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37928/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/cd7837339fa7fee50b13ad33ec0efac478aaec7f"}}}}