mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Strip binaries inside docker instance, outside they are owned by root
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user