{"action":"created","issue":{"url":"https://api.github.com/repos/halide/Halide/issues/2738","repository_url":"https://api.github.com/repos/halide/Halide","labels_url":"https://api.github.com/repos/halide/Halide/issues/2738/labels{/name}","comments_url":"https://api.github.com/repos/halide/Halide/issues/2738/comments","events_url":"https://api.github.com/repos/halide/Halide/issues/2738/events","html_url":"https://github.com/halide/Halide/pull/2738","id":296223551,"number":2738,"title":"Rewrite CMake builds `install`/`distrib` targets.","user":{"login":"kernhanda","id":1303719,"avatar_url":"https://avatars1.githubusercontent.com/u/1303719?v=4","gravatar_id":"","url":"https://api.github.com/users/kernhanda","html_url":"https://github.com/kernhanda","followers_url":"https://api.github.com/users/kernhanda/followers","following_url":"https://api.github.com/users/kernhanda/following{/other_user}","gists_url":"https://api.github.com/users/kernhanda/gists{/gist_id}","starred_url":"https://api.github.com/users/kernhanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernhanda/subscriptions","organizations_url":"https://api.github.com/users/kernhanda/orgs","repos_url":"https://api.github.com/users/kernhanda/repos","events_url":"https://api.github.com/users/kernhanda/events{/privacy}","received_events_url":"https://api.github.com/users/kernhanda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-11T20:41:51Z","updated_at":"2018-02-13T22:16:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/halide/Halide/pulls/2738","html_url":"https://github.com/halide/Halide/pull/2738","diff_url":"https://github.com/halide/Halide/pull/2738.diff","patch_url":"https://github.com/halide/Halide/pull/2738.patch"},"body":"This change adds support for a proper `install` target for CMake builds. This allows for the usage of CPack to create packages for various systems and platforms. Once Halide is ready to do these things, the settings can be adjusted accordingly. For now, the focus is on creating tgz and zip packages for POSIX systems and Windows, respectively. This is done using CPack.\r\n\r\nThe `distrib` target that was previously available has been rewritten in terms of the `install` target and taking advantage of being able to call CPack through CMake. As was done previously, a Halide.tgz package is created for POSIX systems while a Halide.zip package is created for Windows systems.\r\n\r\n`halide.cmake` also was fixed up to be more platform agnostic, specifically around library filenames and the presence of implibs for shared libraries on Windows.\r\n\r\nFor Windows builds specifically, the following changes were made:\r\n* Enable support for no RTTI builds\r\n* Enable support for OpenMP builds\r\n* Enable building of all but one app in the `apps/` folder\r\n* Fix emitted code for the C codegen to not result in an \"inconsistent dll linkage\" warning"},"comment":{"url":"https://api.github.com/repos/halide/Halide/issues/comments/365423905","html_url":"https://github.com/halide/Halide/pull/2738#issuecomment-365423905","issue_url":"https://api.github.com/repos/halide/Halide/issues/2738","id":365423905,"user":{"login":"kernhanda","id":1303719,"avatar_url":"https://avatars1.githubusercontent.com/u/1303719?v=4","gravatar_id":"","url":"https://api.github.com/users/kernhanda","html_url":"https://github.com/kernhanda","followers_url":"https://api.github.com/users/kernhanda/followers","following_url":"https://api.github.com/users/kernhanda/following{/other_user}","gists_url":"https://api.github.com/users/kernhanda/gists{/gist_id}","starred_url":"https://api.github.com/users/kernhanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernhanda/subscriptions","organizations_url":"https://api.github.com/users/kernhanda/orgs","repos_url":"https://api.github.com/users/kernhanda/repos","events_url":"https://api.github.com/users/kernhanda/events{/privacy}","received_events_url":"https://api.github.com/users/kernhanda/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T22:16:16Z","updated_at":"2018-02-13T22:16:16Z","author_association":"CONTRIBUTOR","body":"Disabled `apps/camera_pipe` from building on windows, since that seems to suffer from the same issue."}}
{"actor":{"display_login":"kernhanda"}}