{"action":"created","comment":{"url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/comments/75780270","id":75780270,"diff_hunk":"@@ -0,0 +1,147 @@\n+<!DOCTYPE html>\n+<html>\n+<head>\n+  <meta charset=\"utf-8\">\n+  <meta name=\"viewport\" content=\"width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes\">\n+  <title>WebAssembly</title>\n+  <link href=\"../css/primer.css\" rel=\"stylesheet\">\n+  <link href=\"../css/custom.css\" rel=\"stylesheet\">\n+</head>\n+\n+<body>\n+  <div class=\"container\">\n+    <div class=\"columns\">\n+      <div class=\"two-thirds column centered\">\n+        <section class=\"header text-center\">\n+          <h1 class=\"title\">WebAssembly</h1>\n+          <a class=\"btn btn-outline\" href=\"../\">Overview</a>\n+          <a class=\"btn btn-outline\" href=\"../demo/\">Demo</a>\n+          <a class=\"btn btn-outline\" href=\"https://github.com/WebAssembly/design\">Design</a>\n+          <a class=\"btn btn-outline\" href=\"https://github.com/WebAssembly/spec\">Specification</a>\n+          <a class=\"btn btn-outline\" href=\"https://www.w3.org/community/webassembly/\">Community Group</a>\n+          <a class=\"btn btn-outline\" href=\"./\">Step by Step</a>\n+        </section>\n+      </div>\n+    </div>\n+    <div class=\"columns\">\n+      <div class=\"three-fourths column centered\">\n+        <h2>Step by Step Setup</h2>\n+        <p>\n+          This page aims to provide complete, working step-by-step instructions\n+          to compile a simple program directly to WebAssembly.\n+        <p>\n+        <h3>Install the correct version of cmake</h3>\n+        <p>\n+          To compile the rest of the tools, cmake is required. Specifically,\n+          LLVM requires cmake 3.4.3 or higher. If you already have cmake 3.4.3\n+          or higher, or are able to install or upgrade cmake through your\n+          package manager, you can skip this section.\n+        </p>\n+        <p>\n+          The latest version of cmake comes precompiled and can be downloaded\n+          with the following commands:\n+        </p>\n+        <pre>\n+          $ curl https://cmake.org/files/v3.6/cmake-3.6.0-Linux-x86_64.tar.gz \\\n+                 -o cmake-3.6.0-Linux-x86_64.tar.gz\n+          $ gunzip cmake-3.6.0-Linux-x86_64.tar.gz\n+          $ tar -xf cmake-3.6.0-Linux-x86_64.tar\n+          $ PATH=`pwd`/cmake-3.6.0-Linux-x86_64/bin:$PATH\n+        </pre>\n+        <h3>Install the correct version of LLVM</h3>\n+        <p>\n+          To compile to WebAssembly, emscripten requires a \"vanilla\" build of LLVM\n+          with WebAssembly support, which is only available through a build flag.\n+          LLVM also needs to be integrated with clang, which is easiest to do at\n+          compile time.\n+        </p>\n+        <p>\n+          The <a href=\"http://clang.llvm.org/get_started.html\">clang getting started page</a>\n+          provides an excellent step-by-step guide to checking out and compiling LLVM with clang.\n+          There is one change we need to make, however: when calling cmake, we need to add\n+          the following flag: <code>-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly</code>\n+        </p>\n+        <pre>\n+          $ svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm\n+          $ cd llvm/tools\n+          $ svn co http://llvm.org/svn/llvm-project/cfe/trunk clang\n+          $ cd clang/tools\n+          $ svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra\n+          $ cd ../../../projects\n+          $ svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt","path":"stepbystep/index.html","position":null,"original_position":71,"commit_id":"606fa0007d758345b645b5981fc573aee92b6680","original_commit_id":"86f9c08af7830a8f7e8b4f422859d0805376c81b","user":{"login":"RebeccaRGBA","id":20588355,"avatar_url":"https://avatars.githubusercontent.com/u/20588355?v=3","gravatar_id":"","url":"https://api.github.com/users/RebeccaRGBA","html_url":"https://github.com/RebeccaRGBA","followers_url":"https://api.github.com/users/RebeccaRGBA/followers","following_url":"https://api.github.com/users/RebeccaRGBA/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaRGBA/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaRGBA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaRGBA/subscriptions","organizations_url":"https://api.github.com/users/RebeccaRGBA/orgs","repos_url":"https://api.github.com/users/RebeccaRGBA/repos","events_url":"https://api.github.com/users/RebeccaRGBA/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaRGBA/received_events","type":"User","site_admin":false},"body":"That might be confusing, though, since the guide we just linked to uses the svn repositories.","created_at":"2016-08-22T23:44:40Z","updated_at":"2016-08-22T23:44:40Z","html_url":"https://github.com/WebAssembly/webassembly.github.io/pull/9#discussion_r75780270","pull_request_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/comments/75780270"},"html":{"href":"https://github.com/WebAssembly/webassembly.github.io/pull/9#discussion_r75780270"},"pull_request":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9","id":81720751,"html_url":"https://github.com/WebAssembly/webassembly.github.io/pull/9","diff_url":"https://github.com/WebAssembly/webassembly.github.io/pull/9.diff","patch_url":"https://github.com/WebAssembly/webassembly.github.io/pull/9.patch","issue_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/issues/9","number":9,"state":"open","locked":false,"title":"Add a page with step-by-step instructions to get the WebAssembly tool…","user":{"login":"RebeccaRGBA","id":20588355,"avatar_url":"https://avatars.githubusercontent.com/u/20588355?v=3","gravatar_id":"","url":"https://api.github.com/users/RebeccaRGBA","html_url":"https://github.com/RebeccaRGBA","followers_url":"https://api.github.com/users/RebeccaRGBA/followers","following_url":"https://api.github.com/users/RebeccaRGBA/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaRGBA/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaRGBA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaRGBA/subscriptions","organizations_url":"https://api.github.com/users/RebeccaRGBA/orgs","repos_url":"https://api.github.com/users/RebeccaRGBA/repos","events_url":"https://api.github.com/users/RebeccaRGBA/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaRGBA/received_events","type":"User","site_admin":false},"body":"…chain running and compiling.","created_at":"2016-08-17T21:33:11Z","updated_at":"2016-08-22T23:44:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f33655cd4661c504aedba58bb710607c95b7479","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9/commits","review_comments_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9/comments","review_comment_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/issues/9/comments","statuses_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/statuses/606fa0007d758345b645b5981fc573aee92b6680","head":{"label":"RebeccaRGBA:hello","ref":"hello","sha":"606fa0007d758345b645b5981fc573aee92b6680","user":{"login":"RebeccaRGBA","id":20588355,"avatar_url":"https://avatars.githubusercontent.com/u/20588355?v=3","gravatar_id":"","url":"https://api.github.com/users/RebeccaRGBA","html_url":"https://github.com/RebeccaRGBA","followers_url":"https://api.github.com/users/RebeccaRGBA/followers","following_url":"https://api.github.com/users/RebeccaRGBA/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaRGBA/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaRGBA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaRGBA/subscriptions","organizations_url":"https://api.github.com/users/RebeccaRGBA/orgs","repos_url":"https://api.github.com/users/RebeccaRGBA/repos","events_url":"https://api.github.com/users/RebeccaRGBA/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaRGBA/received_events","type":"User","site_admin":false},"repo":{"id":65941717,"name":"webassembly.github.io","full_name":"RebeccaRGBA/webassembly.github.io","owner":{"login":"RebeccaRGBA","id":20588355,"avatar_url":"https://avatars.githubusercontent.com/u/20588355?v=3","gravatar_id":"","url":"https://api.github.com/users/RebeccaRGBA","html_url":"https://github.com/RebeccaRGBA","followers_url":"https://api.github.com/users/RebeccaRGBA/followers","following_url":"https://api.github.com/users/RebeccaRGBA/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaRGBA/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaRGBA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaRGBA/subscriptions","organizations_url":"https://api.github.com/users/RebeccaRGBA/orgs","repos_url":"https://api.github.com/users/RebeccaRGBA/repos","events_url":"https://api.github.com/users/RebeccaRGBA/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaRGBA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RebeccaRGBA/webassembly.github.io","description":"Web page","fork":true,"url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io","forks_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/forks","keys_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/teams","hooks_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/hooks","issue_events_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/events","assignees_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/tags","blobs_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/languages","stargazers_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/stargazers","contributors_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/contributors","subscribers_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/subscribers","subscription_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/subscription","commits_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/merges","archive_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/downloads","issues_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/labels{/name}","releases_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/RebeccaRGBA/webassembly.github.io/deployments","created_at":"2016-08-17T21:01:23Z","updated_at":"2016-08-17T21:01:24Z","pushed_at":"2016-08-22T23:33:49Z","git_url":"git://github.com/RebeccaRGBA/webassembly.github.io.git","ssh_url":"git@github.com:RebeccaRGBA/webassembly.github.io.git","clone_url":"https://github.com/RebeccaRGBA/webassembly.github.io.git","svn_url":"https://github.com/RebeccaRGBA/webassembly.github.io","homepage":"http://webassembly.github.io/","size":102041,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WebAssembly:master","ref":"master","sha":"9633de60956948f142ed7d1ef53e54468e56dbef","user":{"login":"WebAssembly","id":11578470,"avatar_url":"https://avatars.githubusercontent.com/u/11578470?v=3","gravatar_id":"","url":"https://api.github.com/users/WebAssembly","html_url":"https://github.com/WebAssembly","followers_url":"https://api.github.com/users/WebAssembly/followers","following_url":"https://api.github.com/users/WebAssembly/following{/other_user}","gists_url":"https://api.github.com/users/WebAssembly/gists{/gist_id}","starred_url":"https://api.github.com/users/WebAssembly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebAssembly/subscriptions","organizations_url":"https://api.github.com/users/WebAssembly/orgs","repos_url":"https://api.github.com/users/WebAssembly/repos","events_url":"https://api.github.com/users/WebAssembly/events{/privacy}","received_events_url":"https://api.github.com/users/WebAssembly/received_events","type":"Organization","site_admin":false},"repo":{"id":43967479,"name":"webassembly.github.io","full_name":"WebAssembly/webassembly.github.io","owner":{"login":"WebAssembly","id":11578470,"avatar_url":"https://avatars.githubusercontent.com/u/11578470?v=3","gravatar_id":"","url":"https://api.github.com/users/WebAssembly","html_url":"https://github.com/WebAssembly","followers_url":"https://api.github.com/users/WebAssembly/followers","following_url":"https://api.github.com/users/WebAssembly/following{/other_user}","gists_url":"https://api.github.com/users/WebAssembly/gists{/gist_id}","starred_url":"https://api.github.com/users/WebAssembly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebAssembly/subscriptions","organizations_url":"https://api.github.com/users/WebAssembly/orgs","repos_url":"https://api.github.com/users/WebAssembly/repos","events_url":"https://api.github.com/users/WebAssembly/events{/privacy}","received_events_url":"https://api.github.com/users/WebAssembly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WebAssembly/webassembly.github.io","description":"Web page","fork":false,"url":"https://api.github.com/repos/WebAssembly/webassembly.github.io","forks_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/forks","keys_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/teams","hooks_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/hooks","issue_events_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/events","assignees_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/tags","blobs_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/languages","stargazers_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/stargazers","contributors_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/contributors","subscribers_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/subscribers","subscription_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/subscription","commits_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/merges","archive_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/downloads","issues_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/labels{/name}","releases_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/WebAssembly/webassembly.github.io/deployments","created_at":"2015-10-09T16:29:17Z","updated_at":"2016-08-22T00:27:06Z","pushed_at":"2016-08-22T23:33:49Z","git_url":"git://github.com/WebAssembly/webassembly.github.io.git","ssh_url":"git@github.com:WebAssembly/webassembly.github.io.git","clone_url":"https://github.com/WebAssembly/webassembly.github.io.git","svn_url":"https://github.com/WebAssembly/webassembly.github.io","homepage":"http://webassembly.github.io/","size":102043,"stargazers_count":53,"watchers_count":53,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9"},"html":{"href":"https://github.com/WebAssembly/webassembly.github.io/pull/9"},"issue":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/issues/9"},"comments":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/WebAssembly/webassembly.github.io/statuses/606fa0007d758345b645b5981fc573aee92b6680"}}}}
{"actor":{"display_login":"RebeccaRGBA"}}