Include extension debug info, and release additional debug Linux wheels
When creating wheels, the build type is now "RelWithDebInfo", instead
of "Release". This means the PyTango extension library, _tango.so
, will
include debug symbols. Optimisation also changes from -O3, to -O2. The debug
symbols are useful when diagnosing crashes.
We now make two versions of the Linux wheels. One with debug symbols, and one
without. We'll upload the set without debug symbols to PyPI, as
the files are much smaller. The ones with debug symbols also include debug
info from some of the lower-level libraries, like cppTango and opentelemetry.
That makes them much larger (100 MB, compared to 19MB). These will be published as
artifacts in the gitlab repo's package registry, and will be available from the release page.
(Script for publishing is based on cppTango's release-builds
CI job).
The debug wheels will have names like pytango_dbg-...x86_64.whl.
. These are
not full DEBUG
builds, but RelWithDebInfo
builds that retain the debug symbols.
Windows and macOS wheels don't include debug info for PyTango's _tango.so
library.