11# CppInterOp Wasm Build
22
3- This document contains the instructions on how to build a wasm
4- build of CppInterOp. Before we start it should be noted that
5- unlike the non wasm version of CppInterOp we currently only
6- support the Clang-REPL backend using llvm>19 for osx and Linux.
7- We will first make folder to build our wasm build of CppInterOp.
3+ This document contains the instructions on how to build a wasm
4+ build of CppInterOp. Before we start it should be noted that
5+ unlike the non wasm version of CppInterOp we currently only
6+ support the Clang-REPL backend using llvm>19 for osx and Linux.
7+ We will first make folder to build our wasm build of CppInterOp.
88This can be done by executing the following command
99
1010``` bash
@@ -17,8 +17,8 @@ Now move into this directory using the following command
1717cd ./CppInterOp-wasm
1818```
1919
20- To create a wasm build of CppInterOp we make use of the emsdk
21- toolchain. This can be installed by executing (we only currently
20+ To create a wasm build of CppInterOp we make use of the emsdk
21+ toolchain. This can be installed by executing (we only currently
2222support version 3.1.45)
2323``` bash
2424git clone https://github.com/emscripten-core/emsdk.git
@@ -46,7 +46,7 @@ git clone --depth=1 --branch release/19.x https://github.com/llvm/llvm-project.g
4646git clone --depth=1 https://github.com/compiler-research/CppInterOp.git
4747```
4848
49- Now move into the cloned llvm-project folder and apply
49+ Now move into the cloned llvm-project folder and apply
5050a required patch
5151
5252``` bash
@@ -76,7 +76,7 @@ emmake make clang-repl -j $(nproc --all)
7676emmake make lld -j $( nproc --all)
7777```
7878
79- Once this finishes building we can move onto building the wasm
79+ Once this finishes building we can move onto building the wasm
8080version of CppInterOp. To do this execute the following
8181
8282``` bash
0 commit comments