Skip to content

Commit

Permalink
WASM: Replace buid1.sh with its contents and set WITH_STACKTRACE=no
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Aug 21, 2022
1 parent 1c0de65 commit 371009a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build_to_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

set -ex

./build1.sh
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DWITH_LLVM=yes \
-DLFORTRAN_BUILD_ALL=yes \
-DWITH_STACKTRACE=no \
-DCMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH_LFORTRAN;$CONDA_PREFIX" \
-DCMAKE_INSTALL_PREFIX=`pwd`/inst \
.
cmake --build . -j16 --target install

mkdir -p src/bin/asset_dir
cp src/runtime/*.mod src/bin/asset_dir
Expand Down

0 comments on commit 371009a

Please sign in to comment.