Many thanks. However, it will be a working workaround as hotfix and these question remains:
- why can Julia 1.10 work with several threads and Julia 1.11 not? This way Julia 1.10 is for me 40 % faster in compiling the official example lib of PackageCompiler
- There no note/info/explanation about this regression. Loosing so much compilation speed when upgrading from 1.10 to 1.11 is not negligible and users should be informed, for example by adding info to the release notes.
- why does PackageCompiler not output any warning or error if the number of threads don’t fit (for Julia 1.11 if JULIA_NUM_THREADS > 1 and for Julia 1.10 if e.g. JULIA_NUM_THREADS is set to 16 but there are only 12 CPU cores)
- in your PR there is no comment that others can later understand why the execution was restricted to only one thread, e.g. that this is a temporary workaround.