From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QOWFDo1YRWLuLwEAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 09:30:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yPdHB41YRWJvFwEAG6o9tA (envelope-from ) for ; Thu, 31 Mar 2022 09:30:21 +0200 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 C45F92C66B for ; Thu, 31 Mar 2022 09:30:20 +0200 (CEST) Received: from localhost ([::1]:54414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZpG6-0006nR-LT for larch@yhetil.org; Thu, 31 Mar 2022 03:30:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZpFs-0006l0-PV for guix-patches@gnu.org; Thu, 31 Mar 2022 03:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZpFs-0006A0-GL for guix-patches@gnu.org; Thu, 31 Mar 2022 03:30:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZpFs-0004Tb-9w for guix-patches@gnu.org; Thu, 31 Mar 2022 03:30:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54635] [PATCH v2 4/5] gnu: atomic-queue: Do not look for boost when cross-compiling. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Mar 2022 07:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54635 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner , Maxime Devos Cc: 54635@debbugs.gnu.org, Arun Isaac Received: via spool by 54635-submit@debbugs.gnu.org id=B54635.164871175917098 (code B ref 54635); Thu, 31 Mar 2022 07:30:04 +0000 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:29:19 +0000 Received: from localhost ([127.0.0.1]:37644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpF8-0004Rh-Id for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:18 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpF2-0004RH-AW for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=urVEWQh6U0Sizl7naOjWCvAZ/L4J1AfvavArtLdRRRU=; b=c8auhFRRP6d14xqDDnSsZK5E/a z6QZHoNzfSybM0wb/gKv2QgXsT9GvGMO1XbbOEuWi9OQjqwkiTETYN11fq8uReUe3XIhOI4IvlZAU OFr9fhiUFqktd32T8eIWFsPsDJZu4wjTuH9PZU0m/wznK7Y+xURi7ogzUw0HgyFZLc6pNZT3i/KJR 4aTmRQPT4EhsruotkFggvlikao6z+nY6glh5ArfvfL1KEL8LwuX/i0xXQmy4jkht4xTfaNj74GZmO dKaKRoAkV50tyl9bC96z1i/Xl0D6p9dl4w1R1PsRyCinb2OSgFy0hG5D9NLbEqRfq1JlmvYwmqKf2 DRRON7rQ==; Received: from [192.168.2.1] (port=47376 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpEi-000V88-Al; Thu, 31 Mar 2022 12:58:52 +0530 From: Arun Isaac Date: Thu, 31 Mar 2022 12:58:48 +0530 Message-Id: <20220331072849.22417-4-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648711820; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=urVEWQh6U0Sizl7naOjWCvAZ/L4J1AfvavArtLdRRRU=; b=TjlVYjfD6/+CLJKUlG0pX3GusnPc5nGAyVN88Ne2+1MR/58d53dqenqhUQ2oRj0kWUuxF/ IXj5Dshoc3vWCBZ+4EJ7yg4ADHtIbv/0uQxn2C6H0NXgpfSqH5ZlDIbeLVJjVy+9lGZ3RE c9PhnEIPv+ozt0YFSoAOyq1VBwU/+BzFKjBj3ofluxFyYMA29I5K3K6hXlM3PYT/JiA9uM 2lDIght7XhjFZoi7gSdhCqYbpQaNeFu99ciuTvZSmc3uf41SneNPKPLG3CPqTk9UB7mGYz ZEJ9VXBXLa2vU6PBPIiI9eWDt+z1+Dhw7kVmP8gZfcxZVSTMSWNxtRNtpYP63g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648711820; a=rsa-sha256; cv=none; b=oRQrghfpE7Gfy4JZCHuEeGXKFhcFEg6UW7Q3uaUiMqwq59HmgjnTZcch5oq+8Z4dmZYrhQ u7tvhvI9GuC5F1c3Fuo7kg1/Ja3yc5+DZ9ngdj6nMfMYw76eV4Pa8nSegTTakig4m3bpTv VRszbDPOoME9y6fwDWVXfSSJI0G/vhN/DUGnkFAPMNi6DxHw1naaUC18jmpUem0gFPJ44E kRJ1u4fCzpYdFGyWiuIx+l+tjWi6eZYzrY8eKq1CkG9NFtCRJsoP+vvhPEjuIltysraBr5 SJozXsvDNv6u6GveOba5fskE6xGQtIQ6ucrpzpn7xrm/2Z/qL3Oco26uDZ/7Zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=c8auhFRR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=c8auhFRR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C45F92C66B X-Spam-Score: 7.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3JXO3guHrTZP * gnu/packages/cpp.scm (atomic-queue)[arguments]: When cross-compiling, add a do-not-check-for-boost phase. --- gnu/packages/cpp.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index eb48902034..b0d4fdeb3e 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1294,6 +1294,15 @@ (define-public atomic-queue `(#:configure-flags '("-Dbenchmarks=false") #:phases (modify-phases %standard-phases + ,@(if (%current-target-system) + `(;; boost is a test dependency. We don't run tests when + ;; cross-compiling. Disable all targets that depend on it. + (add-after 'unpack 'do-not-check-for-boost + (lambda _ + (substitute* "meson.build" + (("unit_test_framework = [^\n]*" all) + "unit_test_framework = disabler()"))))) + '()) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? -- 2.34.0