Strip binaries inside docker instance, outside they are owned by root

This commit is contained in:
baldurk
2018-11-26 18:12:27 +00:00
parent d9eb98ee64
commit 821e300fd8
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -33,6 +33,7 @@ pushd SPIRV-Cross
cmake --build . --config Release --target install
else
make -j$(nproc) install
strip --strip-unneeded ${OUT}/bin/*
fi
popd #build
@@ -56,6 +57,7 @@ pushd glslang
cmake --build . --config Release --target install
else
make -j$(nproc) install
strip --strip-unneeded ${OUT}/bin/*
fi
popd #build
@@ -21,7 +21,6 @@ else
docker run --rm -v $(pwd):/script:ro -v $(pwd)/spirv-plugins-linux64:/out renderdoc-build bash /script/_build.sh linux64 /out
strip --strip-unneeded spirv-plugins-linux64/bin/*
else
echo "Run normal RenderDoc build first to generate renderdoc-build image";
exit 1;