{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/3848","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/3848/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/3848/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/3848/events","html_url":"https://github.com/kripken/emscripten/pull/3848","id":111178409,"number":3848,"title":"get_clang_native_env","user":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kripken/emscripten/labels/tests","name":"tests","color":"0b02e1"},{"url":"https://api.github.com/repos/kripken/emscripten/labels/windows","name":"windows","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T13:22:33Z","updated_at":"2015-10-13T18:52:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/3848","html_url":"https://github.com/kripken/emscripten/pull/3848","diff_url":"https://github.com/kripken/emscripten/pull/3848.diff","patch_url":"https://github.com/kripken/emscripten/pull/3848.patch"},"body":"Add new function get_clang_native_env() which finds the required Visual Studio environment for Clang to locate the Visual Studio linker when building a native Windows executable. This fixes running `test_sse1_full` and `test_sse2_full` without needing to manually open up Visual Studio Command Prompt to run those tests. Add get_clang_native_env() and get_clang_native_args() to always be present in pairs to be idiomatic, even though the other locations don't strictly need it (since just building .bc and not linking).\r\n\r\n@kripken: btw, how does one run the `test_sse1_full` from command line after the addition of the python decorators? `python tests/runner.py test_sse1_full` no longer works."},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/147811918","html_url":"https://github.com/kripken/emscripten/pull/3848#issuecomment-147811918","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/3848","id":147811918,"user":{"login":"juj","id":225351,"avatar_url":"https://avatars.githubusercontent.com/u/225351?v=3","gravatar_id":"","url":"https://api.github.com/users/juj","html_url":"https://github.com/juj","followers_url":"https://api.github.com/users/juj/followers","following_url":"https://api.github.com/users/juj/following{/other_user}","gists_url":"https://api.github.com/users/juj/gists{/gist_id}","starred_url":"https://api.github.com/users/juj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juj/subscriptions","organizations_url":"https://api.github.com/users/juj/orgs","repos_url":"https://api.github.com/users/juj/repos","events_url":"https://api.github.com/users/juj/events{/privacy}","received_events_url":"https://api.github.com/users/juj/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T18:52:13Z","updated_at":"2015-10-13T18:52:13Z","body":"Thanks, just wanted you to review for any potential style and integration wise. Sounds ok, merging."}}