@@ -35,12 +35,13 @@ This can be installed by executing (we only currently support version
3535   git clone https://github.com/emscripten-core/emsdk.git 
3636   ./emsdk/emsdk install  3.1.73 
3737
38- 
38+  (we are defining SYSROOT_PATH for use later) 
3939
4040.. code :: bash 
4141
4242   ./emsdk/emsdk activate 3.1.73 
4343   source  ./emsdk/emsdk_env.sh 
44+    export  SYSROOT_PATH=$PWD /emsdk/upstream/emscripten/cache/sysroot 
4445
4546
4647(the building of the emscripten version of llvm can be avoided by
@@ -115,7 +116,7 @@ You will also want to set a few environment variables
115116   export  CMAKE_PREFIX_PATH=$PREFIX  
116117   export  CMAKE_SYSTEM_PREFIX_PATH=$PREFIX  
117118
118- execute  the following
119+ and test your Emscripten build of  CppInterOp by executing  the following   
119120
120121.. code :: bash 
121122
@@ -128,7 +129,14 @@ Now to build CppInterOp execute the following
128129                 -DBUILD_SHARED_LIBS=ON                      \ 
129130                 -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON            \ 
130131                 -DCMAKE_INSTALL_PREFIX=$PREFIX          \ 
132+                  -DSYSROOT_PATH=$SYSROOT_PATH                                    \ 
131133                 ../ 
134+    emmake make -j $( nproc --all)  
135+ 
136+ 
137+ 
138+ .. code :: bash 
139+ 
132140   emmake make -j $( nproc --all)  
133141
134142
@@ -147,7 +155,6 @@ build folder, you can build the wasm version of xeus-cpp by executing
147155.. code :: bash 
148156
149157   cd  ../.. 
150-    export  SYSROOT_PATH=$PWD /emsdk/upstream/emscripten/cache/sysroot 
151158   git clone --depth=1 https://github.com/compiler-research/xeus-cpp.git 
152159   cd  ./xeus-cpp 
153160   mkdir build 
0 commit comments