From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UDwwG2AX12IczAAAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 22:43:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SEJLG2AX12J2JgAA9RJhRA (envelope-from ) for ; Tue, 19 Jul 2022 22:43:12 +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 349A81357C for ; Tue, 19 Jul 2022 22:43:12 +0200 (CEST) Received: from localhost ([::1]:34064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDu3j-0006I9-DD for larch@yhetil.org; Tue, 19 Jul 2022 16:43:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDu3a-0006Hi-Ki for guix-patches@gnu.org; Tue, 19 Jul 2022 16:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDu3a-00029J-CQ for guix-patches@gnu.org; Tue, 19 Jul 2022 16:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDu3a-0003gW-5y for guix-patches@gnu.org; Tue, 19 Jul 2022 16:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54239] [PATCH] gnu: Add cross-clang. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Jul 2022 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54239 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 54239@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Pierre Langlois Received: via spool by 54239-submit@debbugs.gnu.org id=B54239.165826334614118 (code B ref 54239); Tue, 19 Jul 2022 20:43:02 +0000 Received: (at 54239) by debbugs.gnu.org; 19 Jul 2022 20:42:26 +0000 Received: from localhost ([127.0.0.1]:55243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDu30-0003fe-8j for submit@debbugs.gnu.org; Tue, 19 Jul 2022 16:42:26 -0400 Received: from lepiller.eu ([89.234.186.109]:44656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDu2x-0003fU-WC for 54239@debbugs.gnu.org; Tue, 19 Jul 2022 16:42:25 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id c256a053; Tue, 19 Jul 2022 20:42:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=BYOuIslKfGl0 C6/QnyV/XFYbSutcuJKHGAf+DMZj5ag=; b=bnXd9EtRVTtr4BywKqHnYv+4DKtb jZdvheGm3UTPp+UgCi9w+xTwgcgInenP7OJCwwot1M5qmnM2FN1q5waLgCkpAgJh Owt2OETMs6VacFzcHxDQDwfj5QjgYTOCEE/DRsSbHU1hcTxO6YXIdt8gI1LnafDH kPqe3v93X9XXvmuXpbEc60b7bZk8glgxTlE3P+TV8xNgnEJO5MjCs6DUajge8HYD xJqmNf7nCi77lF+UEXkQggWTwT/5KsI/P9S+RRXMfd0LIq7bc6wiry3sOLiw8+uE bi3nH8rCHSYfGq/5knJrGAa6C+apvs+bBXtRk3S8guYBbkVWAypJ64i+fw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id cc486a42 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 19 Jul 2022 20:42:20 +0000 (UTC) Date: Tue, 19 Jul 2022 22:42:11 +0200 From: Julien Lepiller Message-ID: <20220719224206.30a88f45@sybil.lepiller.eu> In-Reply-To: <57616987-f543-6b82-9490-8fc4ff30e406@telenet.be> References: <499e5dba47ef40df93a8b33fbb8e41cc2354e7a1.1646387919.git.julien@lepiller.eu> <937fd2ca36d8368ea83be56ae29dbec1a97bfb41.1646387919.git.julien@lepiller.eu> <04c47fe2e1f964a675697f3e389f6226e11f9815.camel@telenet.be> <87czg7uho8.fsf_-_@gnu.org> <20220716214424.1d521d65@sybil.lepiller.eu> <57616987-f543-6b82-9490-8fc4ff30e406@telenet.be> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=1658263392; 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: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=BYOuIslKfGl0C6/QnyV/XFYbSutcuJKHGAf+DMZj5ag=; b=CQWSctXoIDgPk/TH8HzDttu1e8QFwo/95IomJ7adqIPd2YUSz0T/U3S37xUbbxTOCU9lFT 9V5thhxVatlG29HIVFSmE6K8QVUu7QkysK/thyFZLeo37eKXHIUppVvtABzOsHF/Q65a3s DItxxkZVbKJRmkKL6DLsyzOJW2YJzXGKxUu9Tr4r30d+LXjrmJjLz0+BQtQpI1SLs0BQIa YYSYWEQU5wnOXUfshtD7Zp7YmYc+8vmbH0dwbbk0huCRdG9bQcKW7WSmD5ek34sqkb79xy qDoCMajlqavhfck3ImS3gQ1MdIlIhQL35EstW/rR2CWvjSFyhDou6TGX5c/4Bw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658263392; a=rsa-sha256; cv=none; b=GEioxAR6hCCy0cGUWZAfRPrnyvOTr0U23ffkLWA/jYawUndDUUCUcGl1JnEfBlSA+xOqY1 6unFwXtz9P+1mmJ8Fz+WDJZhfp/qUwG5D61TaWlJtex55YomlGR2/94sIJIBLdpImSZa0W qgpXVpjvm5PqZnViCXh9hUTRTFxNAqHJB++FMZoZ17k2jcPoISqaKaFg9YUxgKaDwR2TpM F7jfflXOr9S67t0YzsECX6HGw62jG8XicAgfBSLUEW1s/aj9jAD7fKYSAvNNSjms4OcsGo b4XhWfnzQcvxJ5Y3xTPyq9pnTrcJ0M8Y9nbQlvPr3XqbLqlcYF4SQfcuK4bdzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=bnXd9EtR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 4.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=bnXd9EtR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 349A81357C X-Spam-Score: 4.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: Kfa9S4e8b28a Le Tue, 19 Jul 2022 21:54:16 +0200, Maxime Devos a =C3=A9crit : > On 16-07-2022 21:44, Julien Lepiller wrote: > > Since I couldn't figure out how to make a package for a given > > target, I added a transformation to (guix build-system) that > > replaces the keywords to force a package to build for a given > > architecture. =20 >=20 >=20 > Try: >=20 > scheme@(guix-user)> ,build (with-parameters ((%current-target-system=20 > "aarch64-linux-gnu")) (specification->package "hello")) >=20 > [...] >=20 > $3 =3D "/gnu/store/rys78r4j72zh45xchq87x2y30ya8mzvi-hello-2.12.1" >=20 > Greetings, >=20 > Maxime. >=20 Thanks, that was a lot easier than I thought. So I removed the first patch and changed to (with-parameters ((%current-target-system target)) base) in cross-clang.