Skip to content

Compact MinGW package.

Jose Fonseca requested to merge jrfonseca/piglit:cmake-win32-package into master

/cc @charmainel @bhenden @kusma

These two changes reduce the size of the resulting piglit MinGW package with MinSizeRel from 745 Mb to 114 Mb. This is achieve through 3 things:

  • not statically linking libGCC/libstdc++
  • stripping debugging symbols when packaging
  • using 7-Zip instead of ZIP.

Of course, much more reduction would be possible if piglit util libraries were built as DLLs, but that's a much tougher nut to crack.

The hope here is can eventually start storing the package as a Gitlab artifact for certain builds (e.g, nightly/weekly builds from master, or even just manual -- whenever a new piglit deliverable is needed).

Merge request reports

Loading