2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00
Files
gentoo/dev-python/cython
Eli Schwartz befc788bee dev-python/cython: suppress OpenMP parallelism in tests
We already pass MAKEOPTS parallelism to the testsuite's -j option. Some
of the tests also internally use OpenMP, and implicitly parallelize
according to nproc.

This consistently broke testing on the arm devbox, where nproc == 96,
even if using low -j values like "10":

```
libgomp: Thread creation failed: Resource temporarily unavailable
```

We can't get libgomp to subscribe to a jobserver. We don't even know if
e.g. steve is running, and cython itself doesn't use GNU Make (which
would make its own jobserver). But we can reasonably assume cython's
already-parallel testsuite will run as much parallelism as needed. We
don't need OpenMP-based over-parallelization, it will always just cause
harm. Disable it entirely.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-04 15:19:36 -05:00
..