{"action":"created","comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/77729107","id":77729107,"diff_hunk":"@@ -403,12 +403,16 @@ def _create_cuda_repository(repository_ctx):\n        })\n \n   # Set up crosstool/\n+  cuda_include_path = '%s-%s/include' % (cuda_toolkit_path, cuda_version)","path":"third_party/gpus/cuda_configure.bzl","position":4,"original_position":4,"commit_id":"a2f49892343362df0045be9b9d8703a246d9baec","original_commit_id":"a2f49892343362df0045be9b9d8703a246d9baec","user":{"login":"davidzchen","id":5283042,"avatar_url":"https://avatars.githubusercontent.com/u/5283042?v=3","gravatar_id":"","url":"https://api.github.com/users/davidzchen","html_url":"https://github.com/davidzchen","followers_url":"https://api.github.com/users/davidzchen/followers","following_url":"https://api.github.com/users/davidzchen/following{/other_user}","gists_url":"https://api.github.com/users/davidzchen/gists{/gist_id}","starred_url":"https://api.github.com/users/davidzchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidzchen/subscriptions","organizations_url":"https://api.github.com/users/davidzchen/orgs","repos_url":"https://api.github.com/users/davidzchen/repos","events_url":"https://api.github.com/users/davidzchen/events{/privacy}","received_events_url":"https://api.github.com/users/davidzchen/received_events","type":"User","site_admin":false},"body":"Can you add a comment describing the non-standard CUDA toolkit path that makes this necessary?\r\n\r\nAlso, it would be better to move this into a helper function, similar to `_find_cudnn_header_dir()`.","created_at":"2016-09-06T22:16:56Z","updated_at":"2016-09-06T22:16:56Z","html_url":"https://github.com/tensorflow/tensorflow/pull/4233#discussion_r77729107","pull_request_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233","_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/77729107"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/4233#discussion_r77729107"},"pull_request":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233"}}},"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233","id":84187722,"html_url":"https://github.com/tensorflow/tensorflow/pull/4233","diff_url":"https://github.com/tensorflow/tensorflow/pull/4233.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/4233.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4233","number":4233,"state":"open","locked":false,"title":"Fix bazel dependency failure for non-standard cuda toolkit path","user":{"login":"nsuke","id":3064114,"avatar_url":"https://avatars.githubusercontent.com/u/3064114?v=3","gravatar_id":"","url":"https://api.github.com/users/nsuke","html_url":"https://github.com/nsuke","followers_url":"https://api.github.com/users/nsuke/followers","following_url":"https://api.github.com/users/nsuke/following{/other_user}","gists_url":"https://api.github.com/users/nsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/nsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsuke/subscriptions","organizations_url":"https://api.github.com/users/nsuke/orgs","repos_url":"https://api.github.com/users/nsuke/repos","events_url":"https://api.github.com/users/nsuke/events{/privacy}","received_events_url":"https://api.github.com/users/nsuke/received_events","type":"User","site_admin":false},"body":"ArchLinux cuda package puts the toolkit to `/opt/cuda` without symlinks (no /opt/cuda-7.5 etc).","created_at":"2016-09-06T20:09:51Z","updated_at":"2016-09-06T22:16:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad39d08d73d3b55d45373c699427dd2c58ffc1d6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4233/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/a2f49892343362df0045be9b9d8703a246d9baec","head":{"label":"nsuke:cuda-include-fix","ref":"cuda-include-fix","sha":"a2f49892343362df0045be9b9d8703a246d9baec","user":{"login":"nsuke","id":3064114,"avatar_url":"https://avatars.githubusercontent.com/u/3064114?v=3","gravatar_id":"","url":"https://api.github.com/users/nsuke","html_url":"https://github.com/nsuke","followers_url":"https://api.github.com/users/nsuke/followers","following_url":"https://api.github.com/users/nsuke/following{/other_user}","gists_url":"https://api.github.com/users/nsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/nsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsuke/subscriptions","organizations_url":"https://api.github.com/users/nsuke/orgs","repos_url":"https://api.github.com/users/nsuke/repos","events_url":"https://api.github.com/users/nsuke/events{/privacy}","received_events_url":"https://api.github.com/users/nsuke/received_events","type":"User","site_admin":false},"repo":{"id":56968757,"name":"tensorflow","full_name":"nsuke/tensorflow","owner":{"login":"nsuke","id":3064114,"avatar_url":"https://avatars.githubusercontent.com/u/3064114?v=3","gravatar_id":"","url":"https://api.github.com/users/nsuke","html_url":"https://github.com/nsuke","followers_url":"https://api.github.com/users/nsuke/followers","following_url":"https://api.github.com/users/nsuke/following{/other_user}","gists_url":"https://api.github.com/users/nsuke/gists{/gist_id}","starred_url":"https://api.github.com/users/nsuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsuke/subscriptions","organizations_url":"https://api.github.com/users/nsuke/orgs","repos_url":"https://api.github.com/users/nsuke/repos","events_url":"https://api.github.com/users/nsuke/events{/privacy}","received_events_url":"https://api.github.com/users/nsuke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nsuke/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/nsuke/tensorflow","forks_url":"https://api.github.com/repos/nsuke/tensorflow/forks","keys_url":"https://api.github.com/repos/nsuke/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nsuke/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nsuke/tensorflow/teams","hooks_url":"https://api.github.com/repos/nsuke/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/nsuke/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/nsuke/tensorflow/events","assignees_url":"https://api.github.com/repos/nsuke/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/nsuke/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/nsuke/tensorflow/tags","blobs_url":"https://api.github.com/repos/nsuke/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nsuke/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nsuke/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/nsuke/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nsuke/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/nsuke/tensorflow/languages","stargazers_url":"https://api.github.com/repos/nsuke/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/nsuke/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/nsuke/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/nsuke/tensorflow/subscription","commits_url":"https://api.github.com/repos/nsuke/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/nsuke/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/nsuke/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/nsuke/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/nsuke/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/nsuke/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nsuke/tensorflow/merges","archive_url":"https://api.github.com/repos/nsuke/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nsuke/tensorflow/downloads","issues_url":"https://api.github.com/repos/nsuke/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/nsuke/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/nsuke/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/nsuke/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nsuke/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/nsuke/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/nsuke/tensorflow/deployments","created_at":"2016-04-24T11:48:42Z","updated_at":"2016-04-24T11:48:49Z","pushed_at":"2016-09-06T20:05:09Z","git_url":"git://github.com/nsuke/tensorflow.git","ssh_url":"git@github.com:nsuke/tensorflow.git","clone_url":"https://github.com/nsuke/tensorflow.git","svn_url":"https://github.com/nsuke/tensorflow","homepage":"http://tensorflow.org","size":57527,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"tensorflow:master","ref":"master","sha":"7a45bc5e7f6f9eda9251f449fb7277ea722e27af","user":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":45717250,"name":"tensorflow","full_name":"tensorflow/tensorflow","owner":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":false,"url":"https://api.github.com/repos/tensorflow/tensorflow","forks_url":"https://api.github.com/repos/tensorflow/tensorflow/forks","keys_url":"https://api.github.com/repos/tensorflow/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensorflow/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensorflow/events","assignees_url":"https://api.github.com/repos/tensorflow/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensorflow/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensorflow/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensorflow/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensorflow/merges","archive_url":"https://api.github.com/repos/tensorflow/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensorflow/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensorflow/deployments","created_at":"2015-11-07T01:19:20Z","updated_at":"2016-09-06T21:41:55Z","pushed_at":"2016-09-06T20:30:24Z","git_url":"git://github.com/tensorflow/tensorflow.git","ssh_url":"git@github.com:tensorflow/tensorflow.git","clone_url":"https://github.com/tensorflow/tensorflow.git","svn_url":"https://github.com/tensorflow/tensorflow","homepage":"http://tensorflow.org","size":226854,"stargazers_count":31318,"watchers_count":31318,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13358,"mirror_url":null,"open_issues_count":524,"forks":13358,"open_issues":524,"watchers":31318,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/4233"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/4233"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/4233/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/4233/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/a2f49892343362df0045be9b9d8703a246d9baec"}}}}
{"actor":{"display_login":"davidzchen"}}