File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,4 @@ compile_commands.json
3333.cache /
3434example /dist
3535broken_example /dist
36+ prebuild
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -e
3+ rm -rf ./prebuild/wasm32-unknown-unknown-libcxx
4+ mkdir -p ./prebuild
5+ cmake -GNinja -S. -Bprebuild/build -DCMAKE_INSTALL_PREFIX=$( pwd) /prebuild/wasm32-unknown-unknown-libcxx --fresh
6+ cmake --build prebuild/build
7+ cmake --install prebuild/build
8+ rm -rf ./prebuild/wasm32-unknown-unknown-libcxx.zip
9+ rm -rf ./prebuild/wasm32-unknown-unknown-libcxx.tar.gz
10+ pushd ./prebuild
11+ zip -r wasm32-unknown-unknown-libcxx.zip wasm32-unknown-unknown-libcxx
12+ tar caf wasm32-unknown-unknown-libcxx.tar.gz wasm32-unknown-unknown-libcxx
13+ popd
You can’t perform that action at this time.
0 commit comments