Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d75a9a8

Browse files
authoredMay 12, 2020
Add some docs for building from source and binary. fixes #10063 (#420)
1 parent f5e21de commit d75a9a8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed
 

‎README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,19 @@ released.
1111
You can also set up Emscripten from source, without the pre-built SDK, see
1212
"Installing from Source" below.
1313

14-
## Downloads
14+
## Downloads / How do I get the latest Emscripten build?
1515

1616
To get started with Emscripten development, see the [Emscripten website
1717
documentation](https://emscripten.org/docs/getting_started/downloads.html).
1818

19+
That explains how to use the emsdk to get the latest binary builds (without
20+
compiling from source). Basically, that amounts to
21+
22+
```
23+
./emsdk install latest
24+
./emsdk activate latest
25+
```
26+
1927
## SDK Concepts
2028

2129
The Emscripten SDK is effectively a small package manager for tools that are
@@ -118,7 +126,7 @@ Emsdk contains a history of old compiler versions that you can use to maintain
118126
your migration path. Type `emsdk list --old` to get a list of archived tool and
119127
SDK versions, and `emsdk install <name_of_tool>` to install it.
120128

121-
### I want to build from source/I want to download a precompiled build!
129+
### I want to build from source!
122130

123131
Some Emsdk Tool and SDK targets refer to packages that are precompiled, and
124132
no compilation is needed when installing them. Other Emsdk Tools and SDK
@@ -132,6 +140,7 @@ To obtain and build latest upstream wasm SDK from source, run
132140

133141
```
134142
emsdk install sdk-upstream-master-64bit
143+
emsdk activate sdk-upstream-master-64bit
135144
```
136145

137146
You can use this target for example to bootstrap developing patches to LLVM,

0 commit comments

Comments
 (0)
Please sign in to comment.