From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QCvxFgWZ42VbcAAAqHPOHw:P1 (envelope-from ) for ; Sat, 02 Mar 2024 22:24:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QCvxFgWZ42VbcAAAqHPOHw (envelope-from ) for ; Sat, 02 Mar 2024 22:24:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=soverin1 header.b=qUiDiWE+; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709414661; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature; bh=G2sltAcJzasr0rPh0ImQgZHfQM8Fb+ASZ4ZF4/k4VbY=; b=LXzNr4W0+Vk8YrW7oW9mL+tx0e4BDoqdQCG1RK6Rh4KWa1W3akFQbwrcGYuo+wf/ETDkjj eaQdSMSV2LuATqEtet8JMSEwHKSsFQN7dbsAjLgklJqOsp8ZbJc8EnBc4NiNQfK8kjaKx2 U4QVBd3zk43JGM1blwXQE37luX0X1zyUjEiTbYGLosqDIXtXKWw405GLRKmSpBviefdWh8 s/Z3k0M+XRhVDePNKgdvk2JxDP1xpRKwZHVd/6OhadfRZKLfUHksiX0m8fYOR8U+4VntRB IjcSjvBO+rw6MT74c/21bl2sn1RugwDNj8co4ykKvLFY9/OvA+Y5oegVgaiBKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=soverin1 header.b=qUiDiWE+; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709414661; a=rsa-sha256; cv=none; b=YAQKMjrm8zM3Bl13i4aAViKBOKosXS4goScQfYMw30ICwncorg2iRiJopQPkbLBF4ttmYt Y/R5KfOjkbT+PmdCyU21iSx8mtC1ymRZ05GTZIhy0JbJlKCKmudwrFmn24lSr8ruGuJkat dKMSRGieWIm19Ohh2doWq2V6UAwR7KSvKz0aXcHyHbYd0xeDFHwTOmxHghp2s4tvQbL7wY 0n/nBnILYOiHwbKCTlTetwMVZnGPFmxBBb3DPN12yMTqQSXRcgdJELavyiMDaGXv89OP47 J74cCLTOW0un1/Y7+rZI3tGB/44jDJDrATPbE3lCg7TTWpbtzd3bzGBIfo3cvg== 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 F0690693AE for ; Sat, 2 Mar 2024 22:24:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgWpt-00058Z-Pt; Sat, 02 Mar 2024 16:24:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgWps-00058O-Au for guix-devel@gnu.org; Sat, 02 Mar 2024 16:24:00 -0500 Received: from dane.soverin.net ([185.233.34.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rgWpp-0005WK-Lk for guix-devel@gnu.org; Sat, 02 Mar 2024 16:24:00 -0500 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4TnHyL2sdyzyQy; Sat, 2 Mar 2024 21:23:54 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4TnHyK6fgTz5L; Sat, 2 Mar 2024 21:23:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1709414634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G2sltAcJzasr0rPh0ImQgZHfQM8Fb+ASZ4ZF4/k4VbY=; b=qUiDiWE+DaWgtRduF3/BzuzO6//M6QwtxvUogr/wr6I//mvPueaVIy/uJaeRoTeHxMWyyT /DkmlCgXljisRH10z/IqvDGHoHeXyJ3OUAjJsbndyVUqmb+UcRSjZxNQbdKHmwDcVqsZmW SZb6PL/myUCuYWQ0Nd5c5zq7A47h4u01wOJTyYgLRcS6Q4CjcdbvxioJDqY7bV0G0aTugy Pa0lcngMmVDQXkILkdtEVywI5/I7XNU5CPcCux3tFd94jvU6WuVE0tIy2OkImGLEwAyj2n 59ntegrL/AQ8Lf3Vie8K66dPKPXCedrO+TmxXUq+1ToZOjPLVlyZKxF0HnRYCA== Message-ID: <6d744c08-9fff-d786-167f-53c0f3fd0f65@elenq.tech> Date: Sat, 2 Mar 2024 22:23:53 +0100 MIME-Version: 1.0 Subject: Re: cmake-build-system: build tests only if #:tests? is true? To: Hartmut Goebel , Guix-devel References: <48cbd146-0645-1075-17fc-978f845c3e5a@crazy-compilers.com> Content-Language: en-US, es-ES, eu From: Ekaitz Zarraga In-Reply-To: <48cbd146-0645-1075-17fc-978f845c3e5a@crazy-compilers.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.233.34.24; envelope-from=ekaitz@elenq.tech; helo=dane.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.71 X-Spam-Score: -5.71 X-Migadu-Queue-Id: F0690693AE X-Migadu-Scanner: mx11.migadu.com X-TUID: 3IOOnXvGmRwf Hi, On 2024-03-02 22:16, Hartmut Goebel wrote: > Hi, > > I found an old and unfinished patch in my pile. It optimizes building > with cmake by not building the test if "#:tests?" is false. (Basically > it passes -DBUILD_TESTING=OFF/ON" depending on "#:tests?".) > > Is this of interest? Then I would take my time and finish the patch. > This looks pretty cool but it might rebuild many packages. Or am I mistaken here? core-updates?