Commit 65cdd1e1 authored by Alastair Robertson's avatar Alastair Robertson

Pass arguments through build.sh to make

parent 0531bbb0
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
pushd docker pushd docker
docker build -t bpftrace-builder -f Dockerfile.ubuntu . docker build -t bpftrace-builder -f Dockerfile.ubuntu .
popd popd
docker run --rm -u $(id -u):$(id -g) -v $(pwd):$(pwd) bpftrace-builder "$(pwd)" docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):$(pwd) bpftrace-builder "$(pwd)" "$@"
...@@ -3,4 +3,5 @@ DIR="$1/build-docker" ...@@ -3,4 +3,5 @@ DIR="$1/build-docker"
mkdir -p "$DIR" mkdir -p "$DIR"
cd "$DIR" cd "$DIR"
cmake -DCMAKE_BUILD_TYPE=Debug ../ cmake -DCMAKE_BUILD_TYPE=Debug ../
make shift 1
make "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment