{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9124","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9124/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9124/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9124/events","html_url":"https://github.com/tensorflow/tensorflow/pull/9124","id":220853884,"number":9124,"title":"[CMake] Optionally support building TF as a shared lib","user":{"login":"vit-stepanovs","id":22799507,"avatar_url":"https://avatars3.githubusercontent.com/u/22799507?v=3","gravatar_id":"","url":"https://api.github.com/users/vit-stepanovs","html_url":"https://github.com/vit-stepanovs","followers_url":"https://api.github.com/users/vit-stepanovs/followers","following_url":"https://api.github.com/users/vit-stepanovs/following{/other_user}","gists_url":"https://api.github.com/users/vit-stepanovs/gists{/gist_id}","starred_url":"https://api.github.com/users/vit-stepanovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vit-stepanovs/subscriptions","organizations_url":"https://api.github.com/users/vit-stepanovs/orgs","repos_url":"https://api.github.com/users/vit-stepanovs/repos","events_url":"https://api.github.com/users/vit-stepanovs/events{/privacy}","received_events_url":"https://api.github.com/users/vit-stepanovs/received_events","type":"User","site_admin":false},"labels":[{"id":300136587,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-11T06:41:53Z","updated_at":"2017-04-11T14:12:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9124","html_url":"https://github.com/tensorflow/tensorflow/pull/9124","diff_url":"https://github.com/tensorflow/tensorflow/pull/9124.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/9124.patch"},"body":"Currently, TF is already built as a shared library that is included in the Python package. However, that library:\r\n\r\n1. Is implicitly linked against Python libs, and thus expects Python to be present on the machine wherever it is used. It is undesirable for scenarios not requiring Python (e.g. native application that need TensorFlow).\r\n2.  Does not include the TF C++ API.\r\n\r\nThis PR allows optionally building TF as a stand-alone DLL that does not have the above issues. I am also working on allowing CMake to link all C++ tests against that DLL, and will submit such changes in a separate PR.\r\n\r\nAs a bonus, this PR also fixes a build break for tf_tools.cmake when GPU is enabled."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/293275975","html_url":"https://github.com/tensorflow/tensorflow/pull/9124#issuecomment-293275975","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9124","id":293275975,"user":{"login":"mrlzla","id":11842247,"avatar_url":"https://avatars2.githubusercontent.com/u/11842247?v=3","gravatar_id":"","url":"https://api.github.com/users/mrlzla","html_url":"https://github.com/mrlzla","followers_url":"https://api.github.com/users/mrlzla/followers","following_url":"https://api.github.com/users/mrlzla/following{/other_user}","gists_url":"https://api.github.com/users/mrlzla/gists{/gist_id}","starred_url":"https://api.github.com/users/mrlzla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrlzla/subscriptions","organizations_url":"https://api.github.com/users/mrlzla/orgs","repos_url":"https://api.github.com/users/mrlzla/repos","events_url":"https://api.github.com/users/mrlzla/events{/privacy}","received_events_url":"https://api.github.com/users/mrlzla/received_events","type":"User","site_admin":false},"created_at":"2017-04-11T14:12:27Z","updated_at":"2017-04-11T14:12:27Z","body":"It seems like you save my life ;) Thank you!"}}
{"actor":{"display_login":"mrlzla"}}