{"action":"created","issue":{"url":"https://api.github.com/repos/torch/cutorch/issues/251","labels_url":"https://api.github.com/repos/torch/cutorch/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/torch/cutorch/issues/251/comments","events_url":"https://api.github.com/repos/torch/cutorch/issues/251/events","html_url":"https://github.com/torch/cutorch/pull/251","id":109631978,"number":251,"title":"EXPERIMENTAL improve dependencies during build","user":{"login":"hughperkins","id":123560,"avatar_url":"https://avatars.githubusercontent.com/u/123560?v=3","gravatar_id":"","url":"https://api.github.com/users/hughperkins","html_url":"https://github.com/hughperkins","followers_url":"https://api.github.com/users/hughperkins/followers","following_url":"https://api.github.com/users/hughperkins/following{/other_user}","gists_url":"https://api.github.com/users/hughperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/hughperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughperkins/subscriptions","organizations_url":"https://api.github.com/users/hughperkins/orgs","repos_url":"https://api.github.com/users/hughperkins/repos","events_url":"https://api.github.com/users/hughperkins/events{/privacy}","received_events_url":"https://api.github.com/users/hughperkins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-03T16:44:19Z","updated_at":"2015-10-06T03:09:23Z","closed_at":"2015-10-06T02:57:19Z","pull_request":{"url":"https://api.github.com/repos/torch/cutorch/pulls/251","html_url":"https://github.com/torch/cutorch/pull/251","diff_url":"https://github.com/torch/cutorch/pull/251.diff","patch_url":"https://github.com/torch/cutorch/pull/251.patch"},"body":"This is mostly for discussion purposes for now.  In theory, what it does is:\r\n- if you build twice, without making any changes, the second time, bulid almost instant\r\n- if you then `touch` one .cu file, and rebuild, that .cu file, and only that .cu file, will be rebuilt\r\n- no more messages about 'dependency not found, removing'\r\n\r\nQuite experimental for now, not very tested.  I don't reckon we should merge to master for now, but maybe worth trying for a bit, see how it goes?\r\n\r\nRelates to following issues:\r\n- [Annoying non-existent dependency file warnings](https://github.com/torch/cutorch/issues/100)\r\n- [Rerunning make causes whole cutorch to rebuild again](https://github.com/torch/cutorch/issues/171)"},"comment":{"url":"https://api.github.com/repos/torch/cutorch/issues/comments/145730214","html_url":"https://github.com/torch/cutorch/pull/251#issuecomment-145730214","issue_url":"https://api.github.com/repos/torch/cutorch/issues/251","id":145730214,"user":{"login":"hughperkins","id":123560,"avatar_url":"https://avatars.githubusercontent.com/u/123560?v=3","gravatar_id":"","url":"https://api.github.com/users/hughperkins","html_url":"https://github.com/hughperkins","followers_url":"https://api.github.com/users/hughperkins/followers","following_url":"https://api.github.com/users/hughperkins/following{/other_user}","gists_url":"https://api.github.com/users/hughperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/hughperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughperkins/subscriptions","organizations_url":"https://api.github.com/users/hughperkins/orgs","repos_url":"https://api.github.com/users/hughperkins/repos","events_url":"https://api.github.com/users/hughperkins/events{/privacy}","received_events_url":"https://api.github.com/users/hughperkins/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T03:09:23Z","updated_at":"2015-10-06T03:09:23Z","body":"Hmmm, cant reopen after force pushing :-("}}