{"action":"created","issue":{"url":"https://api.github.com/repos/RoaringBitmap/CRoaring/issues/177","repository_url":"https://api.github.com/repos/RoaringBitmap/CRoaring","labels_url":"https://api.github.com/repos/RoaringBitmap/CRoaring/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/RoaringBitmap/CRoaring/issues/177/comments","events_url":"https://api.github.com/repos/RoaringBitmap/CRoaring/issues/177/events","html_url":"https://github.com/RoaringBitmap/CRoaring/pull/177","id":347988963,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NDQ4NTY2","number":177,"title":"Add ROARING_ARCH build option to control march=","user":{"login":"kanak","id":87028,"node_id":"MDQ6VXNlcjg3MDI4","avatar_url":"https://avatars1.githubusercontent.com/u/87028?v=4","gravatar_id":"","url":"https://api.github.com/users/kanak","html_url":"https://github.com/kanak","followers_url":"https://api.github.com/users/kanak/followers","following_url":"https://api.github.com/users/kanak/following{/other_user}","gists_url":"https://api.github.com/users/kanak/gists{/gist_id}","starred_url":"https://api.github.com/users/kanak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanak/subscriptions","organizations_url":"https://api.github.com/users/kanak/orgs","repos_url":"https://api.github.com/users/kanak/repos","events_url":"https://api.github.com/users/kanak/events{/privacy}","received_events_url":"https://api.github.com/users/kanak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-06T16:13:14Z","updated_at":"2018-08-06T17:14:44Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/RoaringBitmap/CRoaring/pulls/177","html_url":"https://github.com/RoaringBitmap/CRoaring/pull/177","diff_url":"https://github.com/RoaringBitmap/CRoaring/pull/177.diff","patch_url":"https://github.com/RoaringBitmap/CRoaring/pull/177.patch"},"body":"As outlined in https://github.com/RoaringBitmap/CRoaring/issues/176 ,\r\npassing `march=native` can cause SIGILL when the build server is newer\r\nthan the server running the binary.\r\n\r\nCurrently, the only way around this issue is to use\r\n`ROARING_DISABLE_NATIVE` and not use `march` at all.\r\n\r\nThis commit gives users additional control by adding a new CMake build\r\noption to specify the architecture, e.g. `-DROARING_ARCH=westmere`.\r\nIf the existing `ROARING_DISABLE_NATIVE` flag is set to `OFF`, then\r\nthis new option has no effect."},"comment":{"url":"https://api.github.com/repos/RoaringBitmap/CRoaring/issues/comments/410781997","html_url":"https://github.com/RoaringBitmap/CRoaring/pull/177#issuecomment-410781997","issue_url":"https://api.github.com/repos/RoaringBitmap/CRoaring/issues/177","id":410781997,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDc4MTk5Nw==","user":{"login":"lemire","id":391987,"node_id":"MDQ6VXNlcjM5MTk4Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/391987?v=4","gravatar_id":"","url":"https://api.github.com/users/lemire","html_url":"https://github.com/lemire","followers_url":"https://api.github.com/users/lemire/followers","following_url":"https://api.github.com/users/lemire/following{/other_user}","gists_url":"https://api.github.com/users/lemire/gists{/gist_id}","starred_url":"https://api.github.com/users/lemire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemire/subscriptions","organizations_url":"https://api.github.com/users/lemire/orgs","repos_url":"https://api.github.com/users/lemire/repos","events_url":"https://api.github.com/users/lemire/events{/privacy}","received_events_url":"https://api.github.com/users/lemire/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T17:14:44Z","updated_at":"2018-08-06T17:14:44Z","author_association":"MEMBER","body":"@andreigudkov Unless you object, I will merge this PR. I'd suggest opening a distinct issue regarding the point you rise. Agreed?"}}
{"actor":{"display_login":"lemire"}}