From e59637bab87d63f69ca2deddf59308d3bb0f4b7a Mon Sep 17 00:00:00 2001 From: Christoph Erhardt Date: Wed, 23 Feb 2022 06:43:19 +0100 Subject: [PATCH] Do not parallelise the testsuite execution This hopefully fixes an issue where the aarch64 builder sporadically runs out of resources: ``` Testing lto-dso ... terminate called after throwing an instance of 'std::runtime_error' what(): pthread_create has failed: Resource temporarily unavailable collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped compilation terminated. ``` --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index 00dc62b..e17b391 100644 --- a/mold.spec +++ b/mold.spec @@ -102,7 +102,7 @@ fi %if 0%{?el8} . /opt/rh/gcc-toolset-10/enable %endif -%make_build %{build_args} test +%make_build -j1 %{build_args} test %files %license LICENSE