You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is also possible to use the latest and greatest versions of the tools on the GitHub repositories! This allows you to obtain new features and latest fixes immediately as they are pushed to GitHub, without having to wait for release to be tagged. **No GitHub account or fork of Emscripten is required.**
238
+
To try the latest changes with emsdk you can install and activate a special
239
+
version called ``tot`` (Tip-Of-Tree) which is continuously built and usually
240
+
contains Emscripten and LLVM changes just a few hours after they are committed:
239
241
240
-
To switch to using the latest upstream git development branch (``main``), run the following:
242
+
::
243
+
244
+
./emsdk install tot
245
+
./emsdk activate tot
246
+
247
+
If you want to build everything yourself from the very latest sources you can
248
+
use ``sdk-main-64bit``:
241
249
242
250
::
243
251
244
-
# Install git. Skip if the system already has it.
252
+
# Install git (Skip if the system already has it).
245
253
./emsdk install git-1.8.3
246
254
247
255
# Clone+pull the latest emscripten-core/emscripten/main.
248
-
./emsdk install sdk-upstream-main-64bit
256
+
./emsdk install sdk-main-64bit
249
257
250
-
# Set the "upstream-main SDK" as the active version.
251
-
./emsdk activate sdk-upstream-main-64bit
258
+
# Set this as the active version.
259
+
./emsdk activate sdk-main-64bit
252
260
253
261
.. _emsdk-howto-use-own-fork:
254
262
255
-
How do I use my own Emscripten GitHub fork with the SDK?
It is also possible to use your own fork of the Emscripten repository via the SDK. This is useful in the case when you want to make your own modifications to the Emscripten toolchain, but still keep using the SDK environment and tools.
266
+
It is also possible to use your own fork of the Emscripten repository via the
267
+
SDK. This is useful in the case when you want to make your own modifications to
268
+
the Emscripten toolchain, but still keep using the SDK environment and tools.
259
269
260
-
The way this works is that you first install the ``sdk-upstream-main`` SDK as in the :ref:`previous section <emsdk-dev-sdk>`. Then you use familiar git commands to replace this branch with the information from your own fork:
270
+
To to this all you need to do is set the ``EM_CONFIG`` environment variable to
271
+
point to the emsdk emscripten config and then put your own checkout of
0 commit comments