From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E00D3858413; Fri, 2 Jun 2023 10:16:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E00D3858413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685700991; bh=dROW0MmOgR5VcvK+PbmQprjhTaIiEeFY4M2C/8MeF6g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DYWtlv5FOaLLYNlwfOvIeadcJoIQhTk4cqAIqU3m1RwI3rH+f4OF9A/YwNveTF+j1 khVc6V+dIJ4nC7Vr1byhJym/LCKCvPPBzbv4lnhqh/iMM4JLCkV9qE0hdlMnmUlYIF 1YdOvyLQGjr9bykX2GB3/OGtNR53wtjk23V5M+ho= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/66005] libgomp make check time is excessive Date: Fri, 02 Jun 2023 10:16:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: openacc, openmp, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66005 Iain Sandoe changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org --- Comment #19 from Iain Sandoe --- (In reply to Thomas Schwinge from comment #18) > (In reply to Iain Sandoe from > ) > > I am also somewhat puzzled by what conditions I need to take advantage = of > > the parallel running? > > Darwin has /usr/bin/getconf and AFAICT the number of cpus is reported OK > > both at runtime and during config >=20 > (That's not actually relevant for libgomp parallel testing.) >=20 > > but it seems to be determined to run a single process. >=20 > That's the fail-safe default if there's no 'flock' executable available -- > which I suspect is the case on your Darwin systems? My recent commit > r14-1490-g04abe1944d30eb18a2060cfcd9695d085f7b4752 "Support parallel test= ing > in libgomp: fallback Perl 'flock' [PR66005]" should've addressed that case > (if you have Perl). thanks. yes flock used to exist on Darwin but was removed some time ago (li= ke 10+ years) so a replacement is needed - and Perl is available so let's see.=