We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e0e26 commit 3950800Copy full SHA for 3950800
docker_build.sh
@@ -1,7 +1,14 @@
1
#!/bin/sh
2
set -ex
3
+
4
echo "Building the docker image"
5
docker build -t wasi-sdk-builder:latest .
6
7
+if ! git config safe.directory | grep /workspace; then
8
+ echo "Setting up Git safe directory"
9
+ git config --global --add safe.directory /workspace
10
+fig
11
12
echo "Building the package in docker image"
13
mkdir -p ~/.ccache
14
docker run --rm -v "$PWD":/workspace -v ~/.ccache:/root/.ccache -e NINJA_FLAGS=-v --workdir /workspace --tmpfs /tmp:exec wasi-sdk-builder:latest make package LLVM_CMAKE_FLAGS=-DLLVM_CCACHE_BUILD=ON
0 commit comments