On 2025-05-01 8:43 a.m., Brian Inglis via Cygwin-apps wrote:
If you look at my 2024-07 [ITP] cmocka, I found:
> Looking at some hints and approaches for doxygen diagnostics and
debugging:
>
> -DDOXYGEN_DOT_NUM_THREADS=1
Thank you, nice improvement. I tried, it works. I was not far,
MAKEOPTS="-j1" was part of what I tried. Found some inspiration there,
where a known bug leads to build doxygen's own documentation with "-j1".
https://gitweb.gentoo.org/repo/gentoo.git/tree/app-text/doxygen/doxygen-1.13.2.ebuild
It seems that the default `DOT_NUM_THREADS = 0` has a mind of its own
and ignores MAKEOPTS. Your case is with cmake, with a non-obvious build
option (glanced at the source of cmocka, I don't know where that switch
comes from). This here is with meson, I don't know of a magic mechanism
for that.
Modified cygport:
https://cygwin.com/cgit/cygwin-packages/libsigc2.0/commit/?h=playground&id=1dc76ce87054ac36e5ba94d62104ad4af825a79c
Don't they offer any upstream source for a pre-built PDF, or could you
find one?
It's an interesting problem. If I didn't find it interesting,
downloading a pdf would be a good idea, better than "won't build,
problems, I have nothing".
--
pbl