{"action":"created","issue":{"url":"https://api.github.com/repos/kernelci/kernelci-core-staging/issues/54","repository_url":"https://api.github.com/repos/kernelci/kernelci-core-staging","labels_url":"https://api.github.com/repos/kernelci/kernelci-core-staging/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/kernelci/kernelci-core-staging/issues/54/comments","events_url":"https://api.github.com/repos/kernelci/kernelci-core-staging/issues/54/events","html_url":"https://github.com/kernelci/kernelci-core-staging/pull/54","id":385051973,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MTExNTMw","number":54,"title":"build.py: allow CC override for clang","user":{"login":"khilman","id":1063422,"node_id":"MDQ6VXNlcjEwNjM0MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1063422?v=4","gravatar_id":"","url":"https://api.github.com/users/khilman","html_url":"https://github.com/khilman","followers_url":"https://api.github.com/users/khilman/followers","following_url":"https://api.github.com/users/khilman/following{/other_user}","gists_url":"https://api.github.com/users/khilman/gists{/gist_id}","starred_url":"https://api.github.com/users/khilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khilman/subscriptions","organizations_url":"https://api.github.com/users/khilman/orgs","repos_url":"https://api.github.com/users/khilman/repos","events_url":"https://api.github.com/users/khilman/events{/privacy}","received_events_url":"https://api.github.com/users/khilman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-28T00:49:06Z","updated_at":"2018-11-30T18:49:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kernelci/kernelci-core-staging/pulls/54","html_url":"https://github.com/kernelci/kernelci-core-staging/pull/54","diff_url":"https://github.com/kernelci/kernelci-core-staging/pull/54.diff","patch_url":"https://github.com/kernelci/kernelci-core-staging/pull/54.patch"},"body":"In a similar way that the environment can override CROSS_COMPILE, allow\r\nthe caller to override CC.  This enables builds using clang simply by\r\nsetting CC=clang when calling build.py, for example:\r\n\r\n ARCH=arm64 CC=clang CROSS_COMPILE=aarch64-linux-gnu- build.py -c defconfig\r\n\r\nWhile at it generalize how the compiler verion is detected to work with\r\nboth gcc and clang.\r\n\r\nSigned-off-by: Kevin Hilman <khilman@baylibre.com>"},"comment":{"url":"https://api.github.com/repos/kernelci/kernelci-core-staging/issues/comments/443301377","html_url":"https://github.com/kernelci/kernelci-core-staging/pull/54#issuecomment-443301377","issue_url":"https://api.github.com/repos/kernelci/kernelci-core-staging/issues/54","id":443301377,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzMwMTM3Nw==","user":{"login":"khilman","id":1063422,"node_id":"MDQ6VXNlcjEwNjM0MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1063422?v=4","gravatar_id":"","url":"https://api.github.com/users/khilman","html_url":"https://github.com/khilman","followers_url":"https://api.github.com/users/khilman/followers","following_url":"https://api.github.com/users/khilman/following{/other_user}","gists_url":"https://api.github.com/users/khilman/gists{/gist_id}","starred_url":"https://api.github.com/users/khilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khilman/subscriptions","organizations_url":"https://api.github.com/users/khilman/orgs","repos_url":"https://api.github.com/users/khilman/repos","events_url":"https://api.github.com/users/khilman/events{/privacy}","received_events_url":"https://api.github.com/users/khilman/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T18:49:21Z","updated_at":"2018-11-30T18:49:21Z","author_association":"CONTRIBUTOR","body":"This isn't quite ready yet.\r\nWhen using ccache, there's still a bug because CC gets set to clang, but then overridden to CC=\"ccache aarch64-linux-gnu-gcc\".\r\n"}}
{"actor":{"display_login":"khilman"}}