at least for the test phase (pls see attached pstree)
Created attachment 581356 [details]
Yes, you are right. Many of the tests use OpenMP. I'm not sure what to do.
We could run the tests sequentially and let OpenMP use -jX threads, but that would be inefficient for the tests that don't use OpenMP.
We could disable OpenMP support and run tests in parallel, but that would increase runtime of the long tests that use OpenMP.
I understand that this bug report is valid. We are definitely exceeding the -jX parameter in the src_test phase, but I don't know whether we should fix that when the fixes all have bad downsides.
Created attachment 582338 [details, diff]
Give this a try.
Created attachment 582590 [details, diff]
Let's try this one instead. Uses 'export' which makes it work, I think. (I see OMP_NUM_THREADS=8 in /proc/$(pidof composite)/environ)
The bug has been closed via the following commit(s):
Author: Matt Turner <firstname.lastname@example.org>
AuthorDate: 2019-07-09 20:16:41 +0000
Commit: Matt Turner <email@example.com>
CommitDate: 2019-07-13 17:37:04 +0000
x11-libs/pixman: Limit test suite $(makeopts_jobs) threads
Otherwise we would run as many OpenMP threads as there are CPU cores and
ignore MAKEOPTS. Since we're running tests in parallel *and* the tests
spawn multiple threads, we will still exceed $(makeopts_jobs) threads
total, but I don't think that can be helped.
Signed-off-by: Matt Turner <firstname.lastname@example.org>
x11-libs/pixman/pixman-0.38.4.ebuild | 3 ++-
x11-libs/pixman/pixman-9999.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)