Skip to content

Commit

Permalink
Remove added ldflags wasm build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Jan 8, 2025
1 parent 46c6b54 commit 594a234
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Emscripten-build-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ You will also want to set a few environment variables
export PREFIX=$CONDA_PREFIX/envs/CppInterOp-wasm
export CMAKE_PREFIX_PATH=$PREFIX
export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX
export LDFLAGS="-s MODULARIZE=1 -s LINKABLE=1 -s EXPORT_ALL=1 -s WASM=1 -std=c++14 -s SIDE_MODULE=1 -sWASM_BIGINT"
```

Now to build CppInterOp execute the following
Expand Down Expand Up @@ -125,7 +124,6 @@ the CppInterOp build folder, you can build the wasm version of xeus-cpp by execu

```bash
cd ../..
export LDFLAGS="-s MODULARIZE=1 -s LINKABLE=1 -s EXPORT_ALL=1 -s WASM=1 -std=c++14 -sWASM_BIGINT"
export SYSROOT_PATH=$PWD/emsdk/upstream/emscripten/cache/sysroot
git clone --depth=1 https://github.com/compiler-research/xeus-cpp.git
cd ./xeus-cpp
Expand Down

0 comments on commit 594a234

Please sign in to comment.