From patchwork Tue Nov 28 11:34:57 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: 56907 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 0081027BBE2; Tue, 28 Nov 2023 11:38:09 +0000 (GMT) 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=unavailable 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 F2DBC27BBE9 for ; Tue, 28 Nov 2023 11:38:08 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wOj-0006wv-B3; Tue, 28 Nov 2023 06:37: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 1r7wOg-0006ue-FG for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:58 -0500 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 1r7wOg-0008Br-6w for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7wOm-0003OS-V2 for guix-patches@gnu.org; Tue, 28 Nov 2023 06:37:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH v1 14/22] guix: meson-build-system: Support AVR. References: <20230929091333.7623-1-jean@foundationdevices.com> In-Reply-To: <20230929091333.7623-1-jean@foundationdevices.com> Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 11:37:04 +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: moreinfo patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.170117139312857 (code B ref 66263); Tue, 28 Nov 2023 11:37:04 +0000 Received: (at 66263) by debbugs.gnu.org; 28 Nov 2023 11:36:33 +0000 Received: from localhost ([127.0.0.1]:45630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wOG-0003LC-LH for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:32 -0500 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:49471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wO7-0003Jt-Is for 66263@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:25 -0500 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c6b30aca06so65996361fa.3 for <66263@debbugs.gnu.org>; Tue, 28 Nov 2023 03:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1701171370; x=1701776170; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v6Jcc0PLHc3c6caLStf3vRqJG9j8uw0HbNd4YvhyxrE=; b=PGzCSI56gPoO2afufpjWhh5sxcm9Jx0T46V17X4m24jbZXLapchYgrAgiqJ+khBIS6 RFl9BTfC+VfX1KkvJ9Yrb268zKNk9md9pQ5iXSZVeHIFvkS4LwZCa++u724FJGlUqstl N8MzG3n6i0a3D1+caxX/92rvViHYNlQD2IZDUtCYyggBTJQsUQ+TPPNRs8SCwvGS5ifr hTimkF+GoValyYlM7kh18G9zmOle5gv8XIredOfKjN6ra7H3ig/+0Un974HL3ChE0QRl qoCeTeb8ETaJWJ0M5y8X97QQv5kKW51p4kPsUvVQhiy1oo8bQwj9hVfl8C1ZNvLe3bCX k+4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701171370; x=1701776170; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v6Jcc0PLHc3c6caLStf3vRqJG9j8uw0HbNd4YvhyxrE=; b=wWk29FJbC+oq/Lqv8tBI60VvBny8UmwDvR3+NUqdE9JiYSLJL33ome8i4NcXlog46j pb7J4XA5ykQm5jOql8HT6oYdIKAqFQ0hgGxbGPbTTt9tFvY79h8RBpDgvrKiK9zJUVSy PzMisPYB4AalvEQfXeOdt/BWpKGSlh0HenBl+6kPOWfCy4hYOIEvEDNX5XC1vajSyGNR ZF12YPzHhJ7Fgb9GlToh93vM49zaz0AD/NmBVr4zEI4jGaWWa0r8/x8tZKmIFuDlrhjF 77VhAdHM6N/5SjigQnSaluVdJSq+v27vO0p6CbI6+J4Kx78C6a6VdeJ0DeUiX9DJpgZw d6/Q== X-Gm-Message-State: AOJu0YwkmutT3f8A3SGaQy1Phyqu05+JzG6whH1cVpYA/gwxjmTyfUiV h/SfFCwhv8xkmZrZHkIPB62hTslEOHN/IiuftA8= X-Google-Smtp-Source: AGHT+IGnBlMbpYe2MpA7EtMBHe+7q12uCbqWrb5V9WF6X5avtdRy2pvhGfptbjQJbrw4GXOdqr7PMw== X-Received: by 2002:a2e:8ed2:0:b0:2c9:b7dc:b5fc with SMTP id e18-20020a2e8ed2000000b002c9b7dcb5fcmr703318ljl.39.1701171370771; Tue, 28 Nov 2023 03:36:10 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id f7-20020a05600c154700b0040b4cb14d40sm1848769wmg.19.2023.11.28.03.36.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 03:36:10 -0800 (PST) Date: Tue, 28 Nov 2023 12:34:57 +0100 Message-ID: <20231128113510.11214-14-jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 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. Change-Id: Ie47d666099c4c48edd36812f035625dccc4a3900 --- 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 2d14016b94..ce3362db31 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-avrch64? 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