build.sh 355 B

123456789101112
  1. #!/bin/bash
  2. # Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. set -e
  5. docker run --rm --name=wasm-toolchain-ctr \
  6. -it -v "$(pwd)":/mnt \
  7. --env=PROJ_PATH="$(pwd)" \
  8. wasm-toolchain:$2 \
  9. /bin/bash -c "./build_wasm.sh $1"