Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pbo-linaro committed Oct 16, 2024
1 parent 976b575 commit ed7bd94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ image=qemu-$arch
podman build -t $image -f - --build-arg arch=$arch < Dockerfile
mkdir -p build_$arch build
mkdir -p $HOME/.cache/ccache
# run privileged container: kvm + all capability (ptrace needed for Lsan)
podman run -it \
--cap-add=SYS_PTRACE \
--privileged \
-e CCACHE_DIR=$HOME/.cache/ccache \
-v $HOME/.cache/ccache/:$HOME/.cache/ccache/ \
-v $(pwd):$(pwd) -v $(pwd)/build_$arch:$(pwd)/build -w $(pwd)\
Expand Down

0 comments on commit ed7bd94

Please sign in to comment.