Skip to content

Commit b07bd35

Browse files
refactor: improve performance when building namadillo on Laconic (#1911)
1 parent b4bdaef commit b07bd35

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build-webapp.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ if [[ -d "$DEST_DIR" ]]; then
2323
fi
2424

2525
# from the namada-interface README, modified for compatibility
26+
apt-get update
27+
apt-get install build-essential
28+
2629
apt-get install -y curl
2730

2831
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
@@ -39,8 +42,8 @@ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3942
yarn || exit 1
4043
yarn prepare || exit 1
4144

42-
yarn --cwd ${PKG_DIR} wasm:build || exit 1
43-
yarn --cwd ${PKG_DIR} build || exit 1
45+
yarn --cwd ${PKG_DIR} wasm:build:multicore || exit 1
46+
yarn --cwd ${PKG_DIR} build:only || exit 1
4447

4548
if [[ ! -d "$OUTPUT_DIR" ]]; then
4649
echo "Missing output directory: $OUTPUT_DIR" 1>&2

0 commit comments

Comments
 (0)