From patchwork Fri Sep 29 09:16:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 54388 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D48D627BBEA; Fri, 29 Sep 2023 10:18:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5BFD127BBE2 for ; Fri, 29 Sep 2023 10:18:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qm9dV-0005cW-MG; Fri, 29 Sep 2023 05:18:13 -0400 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 1qm9dI-0005W6-O7 for guix-patches@gnu.org; Fri, 29 Sep 2023 05:18:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qm9dE-0003vu-I2 for guix-patches@gnu.org; Fri, 29 Sep 2023 05:17:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qm9dS-0004nz-52; Fri, 29 Sep 2023 05:18:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 21/23] guix: meson-build-system: Support AVR. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 29 Sep 2023 09:18:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com X-Debbugs-Original-Xcc: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.169597906818233 (code B ref 66263); Fri, 29 Sep 2023 09:18:10 +0000 Received: (at 66263) by debbugs.gnu.org; 29 Sep 2023 09:17:48 +0000 Received: from localhost ([127.0.0.1]:55224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9d5-0004ju-KD for submit@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:47 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:42067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cd-0004g9-7n for 66263@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:19 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4060b623e64so2580225e9.0 for <66263@debbugs.gnu.org>; Fri, 29 Sep 2023 02:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695979018; x=1696583818; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MKc/WweQ4MCivzohc2pnxfFdjaAeZvN4Mwc71xGnllk=; b=KXVBF6/GK8wFlT+eJXVaXaLdoIf1apoSY96dTl7xl1Xrs87l9DYUCyKlXqovdETaOv MAsxgwRQovUb0iIrd3DavDm/ZPr7evVLQ5hY+fZMHvxmpWuntBb8QPJEuAFDluWwwV8c CA99bK/kzN4aelNc6hS5WmBl1/kFIpSE7AXYFoNG/G/AksYq0dqTjHRdUD8XwJ7wHuPT g/W7uhQj+mgPKnS1EuHuPFyFMWFc7l0IeTkf921JyxGPwLadjCddV5xAUdUpcHSS0qik oDjyE+QWTLYnqx/tLoGVLSRRP3ipHXHaUjYiM+NOcD0mdzzilblStf0wYLX66XmEMzzc xhPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695979018; x=1696583818; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MKc/WweQ4MCivzohc2pnxfFdjaAeZvN4Mwc71xGnllk=; b=KGnxsXPNujMujB4qI50aFCEHOwUcxKj944Il72iGlZi/mB5KNRneUsZyCy4W7h1hHV qJpLVi0Hygv848Uu36OLDdfE5VbDUmPl0w8DMo0WbNoWVXmE0/kheSdkG6XxUmuhrJGq bmRnqDj26VuDGEqVyVWrHnwCCCx0KWLpRURnaKGkk2ISGx+rptf6acRqDwrhmVjpYKQ1 s1I/WsFGRKC00Q7/Nk+Aic5kG5eWYWDOZTu804Mn4n8QRyGc3zWt3b1KeiTWLEbqtqEy YaOcHbvBIxl4/QRDziifp/gbYMqpUJ2jvgtiNiLYLlZJBHc/dAqVSr+Myg1fseGgKgNL 3HNA== X-Gm-Message-State: AOJu0Yx/DRbsAU7lgdM6eupJ5Vf0+pDMy7bMuIZaVP00kA4OOvhyzdJw 8758lc9TTqhnpMv45hTSUePVxFkk6B+ivuRh8tPHaw== X-Google-Smtp-Source: AGHT+IFQS2lCO259Iq/8inJguLOOmsvJy4HAkrQOo9sqRH/i2EkB3AHswDS4jFsVJZ9oP7eScnBb1Q== X-Received: by 2002:a05:600c:3b2a:b0:406:45c1:4dd with SMTP id m42-20020a05600c3b2a00b0040645c104ddmr3399990wms.14.1695979018204; Fri, 29 Sep 2023 02:16:58 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id k15-20020a7bc40f000000b004013797efb6sm1020933wmi.9.2023.09.29.02.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:16:57 -0700 (PDT) Date: Fri, 29 Sep 2023 11:16:25 +0200 Message-Id: <20230929091627.7820-21-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929091627.7820-1-jean@foundationdevices.com> References: <20230929091627.7820-1-jean@foundationdevices.com> MIME-Version: 1.0 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * guix/build-system/meson.scm (make-machine-alist) [target-avr?]: Set to none. [target-avr?]: Set to avr. [target-avr?]: Set to avr. --- guix/build-system/meson.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/build-system/meson.scm b/guix/build-system/meson.scm index 7c617bffb0..b894789fb8 100644 --- a/guix/build-system/meson.scm +++ b/guix/build-system/meson.scm @@ -49,11 +49,13 @@ (define (make-machine-alist triplet) `((system . ,(cond ((target-hurd? triplet) "gnu") ((target-linux? triplet) "linux") ((target-mingw? triplet) "windows") + ((target-avr? triplet) "none") (#t (error "meson: unknown operating system")))) (cpu_family . ,(cond ((target-x86-32? triplet) "x86") ((target-x86-64? triplet) "x86_64") ((target-arm32? triplet) "arm") ((target-aarch64? triplet) "aarch64") + ((target-avr? triplet) "avr") ((target-mips64el? triplet) "mips64") ((target-powerpc? triplet) (if (target-64bit? triplet) @@ -66,6 +68,7 @@ (define (make-machine-alist triplet) ((target-x86-64? triplet) "x86_64") ((target-aarch64? triplet) "armv8-a") ((target-arm32? triplet) "armv7") + ((target-avr? triplet) "avr") ;; According to #mesonbuild on OFTC, there does not appear ;; to be an official-ish list of CPU types recognised by ;; Meson, the "cpu" field is not used by Meson itself and