From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OEW2CAfAcWGiTwEAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 21:31:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iA5RBAfAcWGpIgAAB5/wlQ (envelope-from ) for ; Thu, 21 Oct 2021 19:31:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DDE021BDF8 for ; Thu, 21 Oct 2021 21:31:18 +0200 (CEST) Received: from localhost ([::1]:44100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mddmY-0007Sv-2N for larch@yhetil.org; Thu, 21 Oct 2021 15:31:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mddm7-0007Re-90 for guix-devel@gnu.org; Thu, 21 Oct 2021 15:30:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33444) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mddm6-0004fG-LP; Thu, 21 Oct 2021 15:30:50 -0400 Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62051 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mddlX-0003CP-T8; Thu, 21 Oct 2021 15:30:50 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Greg Hogan Subject: Re: Test parallelism with CMake References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?utf-8?Q?Vend=C3=A9miaire?= an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 21 Oct 2021 21:30:12 +0200 In-Reply-To: (Greg Hogan's message of "Fri, 8 Oct 2021 07:07:46 -0400") Message-ID: <874k9ayy4b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634844678; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=juWxybBrPPDXi29O6zm7hlvClVLPLLl8DNlVsoVj0eE=; b=kK9Xec870lx9907sf4QFniqeILDXkQeA40wwumq+DO4TcrTRjUGZ7IUEqBPGi8JhKTNvox fw6x05/aCDO8snspdaHj9x1WtIm92ka02nZkQTHl614+kQ1bS2W/3rVwBKVxepoT7YnoBe bI046jL3RXSn9t0Z3ym1m7jiwtWB1iS2CE+jeiebOmnFXKYKY3TJb+kw/b8TpFf3qB1wi1 lJL7oFITJ9ksgTMk1Mbp31CLVLx+w7KvBGwKyWAjRC9c0qRkcnUi/GZSkGGabTDVJzyd4a WsuJZ60NWvA7zLhiqpkvS1VOI0O0qvsYNyuxPmDbseQGrzEEo/GjKFQcN3uEWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634844678; a=rsa-sha256; cv=none; b=V2MBzjdLuPseWBIbaWoKqqSoV9+zisq3AcdOSoDHNin2+xKYUTxe7wWg4RA0Fc81nm7+EW AgpKyNEwc4Uw65i45+4r281NH6BHNSUaVsh0N6WxMbBFbemBGADPvG6ujotsPtcxnXdiOk wg10J8TweD2OQLujvGV7Tdo6bVZTrwfzR8Ewi9/2WB2MZe0t2pBKsCNrBYlYzSX90kjwDP aO0ZauSOqU8J0ms0suSX8xSSWHmeIbX1vCSsRoEhTwtzC6U/NyT5eLKZhtUMlloxNElt8e BnUo8eHJ4GBUjEyGIyqhaofeyOf3ltR5UCU/Abcm0ygcQVrip4LFeqoHZfr8sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: DDE021BDF8 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: J8gcVT6e+OnV Hi Greg, Greg Hogan skribis: > As I read the source, cmake-build-system should by default both build and > check with parallelism enabled. When I locally build a package only the > build phase runs with parallelism and tests are being run in serial. > > When I run a manual build (stopping an in-process build run with '-K', th= en > removing all files under the build directory, then copying and running the > commands from the stopped build) I do not see a parallel build, nor do I > see any parallelism passed by command or environment arguments (no '-j' or > CMAKE_BUILD_PARALLEL_LEVEL). Does CMake generate makefiles targets that would allow tests to run in parallel? How does that even work in CMake? Thanks, Ludo=E2=80=99.