summaryrefslogtreecommitdiff
path: root/candle-wasm-examples/llama2-c/build-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'candle-wasm-examples/llama2-c/build-lib.sh')
-rw-r--r--candle-wasm-examples/llama2-c/build-lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/candle-wasm-examples/llama2-c/build-lib.sh b/candle-wasm-examples/llama2-c/build-lib.sh
new file mode 100644
index 00000000..b0ebb182
--- /dev/null
+++ b/candle-wasm-examples/llama2-c/build-lib.sh
@@ -0,0 +1,2 @@
+cargo build --target wasm32-unknown-unknown --release
+wasm-bindgen ../../target/wasm32-unknown-unknown/release/m.wasm --out-dir build --target web