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 ms0.migadu.com with LMTPS id IByoFjCZA2KosQAAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 11:36:32 +0100 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 +CzbEzCZA2J05AAA9RJhRA (envelope-from ) for ; Wed, 09 Feb 2022 11:36:32 +0100 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 1050347599 for ; Wed, 9 Feb 2022 11:36:32 +0100 (CET) Received: from localhost ([::1]:46804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHkKs-0004v0-TA for larch@yhetil.org; Wed, 09 Feb 2022 05:36:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHk9m-0002q0-KO for guix-patches@gnu.org; Wed, 09 Feb 2022 05:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHk9m-0001iv-AH for guix-patches@gnu.org; Wed, 09 Feb 2022 05:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHk9m-00085r-5H for guix-patches@gnu.org; Wed, 09 Feb 2022 05:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53895] [PATCH 4/5] gnu: gcc: Add compiler-cpu-architectures for armhf. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Feb 2022 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53895 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53895@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 53895-submit@debbugs.gnu.org id=B53895.164440225431028 (code B ref 53895); Wed, 09 Feb 2022 10:25:02 +0000 Received: (at 53895) by debbugs.gnu.org; 9 Feb 2022 10:24:14 +0000 Received: from localhost ([127.0.0.1]:49973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHk90-00084O-5v for submit@debbugs.gnu.org; Wed, 09 Feb 2022 05:24:14 -0500 Received: from flashner.co.il ([178.62.234.194]:50076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHk8y-000847-Hz for 53895@debbugs.gnu.org; Wed, 09 Feb 2022 05:24:12 -0500 Received: from localhost (unknown [37.46.46.251]) by flashner.co.il (Postfix) with ESMTPSA id DB130403CD; Wed, 9 Feb 2022 10:24:06 +0000 (UTC) From: Efraim Flashner Date: Wed, 9 Feb 2022 12:21:50 +0200 Message-Id: <0f41df430961566bffb9a5dac222690be88f4872.1644401681.git.efraim@flashner.co.il> 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644402992; 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; bh=jaytkTsKwp1HLx5NweQtjskEQFwKLfYjt2Cp8Hxybl4=; b=a0hMP45LQ3zyYgrJ6jHy6TQIg80kEz1tAK7j/g7ecGlNsibD2QBPaKRacQ7Oj/y/Rxo0mC d0yJZhl3ui2XOvdT66n0o/sS0kRtNXSqGMr/Czhg7ZhU7nBw74fEZfowrhhnNIBIpCoffL FjNTTbxglAimNqzoiJkyqBNlCl919oeEhNCZYw0Usy4CFOkg1A5NKgfRieV8ug6g1iDS8G uJMgUo63AxvEuUmaawH6DjCqALpjMM9weVY/A5fmUN8B3ad3CmLHaopdbn+I0KSFYhGYyr vc6GU3wnRWh0PQ7XMJGSlw3pXiMQfof+IfjCK49Q4IBC90+d2qHz8ir5fJeN+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644402992; a=rsa-sha256; cv=none; b=UxLilTu9k7O4tg8uY31UsgMQcDRj2V/hhKXGSYdVnUXIabIAlqHu02K7kWanJ0iyyrwqUr iS0YZqooawMCFiPSkIQ4MZi8LkMGGJrfhKQIf4GTs/b6QjDa5WL0H5B9ppGP4XToF7TZhB C+hP3KFTCNXNnScQGTtuy8MIe1HYm5sjglhn4D59Nl1KwqMhIA5urO2dBrehq1tckA1OcI cWV1r/Wu6jN3BbtD0VNk8ZVRVROxcBQ3X5MpVU/T5lsYyiaG92nczT7bJC9YUelWmc5GYh esSxSxot2wXxPJAQNvvBy+szhyrbJXz3JMs7nKaV1RqUzfXuVpytcKtct+pVuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 1050347599 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: BeqjYWFeKoG4 * gnu/packages/gcc.scm (%gcc-7.5-armhf-micro-architectures, %gcc-10-armhf-micro-architectures): New variables. (gcc-7, gcc-10)[properties]: Add armhf compiler-cpu-architectures. --- gnu/packages/gcc.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 726c0eed89..e0a431a0ff 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -530,6 +530,14 @@ (define %gcc-7.5-aarch64-micro-architectures ;; TODO: Allow dynamically adding feature flags. '("armv8-a" "armv8.1-a" "armv8.2-a" "armv8.3-a")) +(define %gcc-7.5-armhf-micro-architectures + ;; Suitable '-march' values for GCC 7.5. + ;; TODO: Allow dynamically adding feature flags. + '("armv7" "armv7-a" "armv7-m" "armv7-r" "armv7e-m" "armv7ve" + "armv8-a" "armv8-a+crc" "armv8.1-a" "armv8.1-a+crc" + "armv8-m.base" "armv8-m.main" "armv8-m.main+dsp" + "iwmmxt" "iwmmxt2")) + (define %gcc-7.5-x86_64-micro-architectures ;; Suitable '-march' values for GCC 7.5 (info "(gcc) x86 Options"). '("core2" "nehalem" "westmere" "sandybridge" "ivybridge" @@ -547,6 +555,13 @@ (define %gcc-10-aarch64-micro-architectures (append %gcc-7.5-aarch64-micro-architectures '("armv8.4-a" "armv8.5-a" "armv8.6-a"))) +(define %gcc-10-armhf-micro-architectures + ;; Suitable '-march' values for GCC 10. + ;; TODO: Allow dynamically adding feature flags. + (append %gcc-7.5-armhf-micro-architectures + '("armv8.2-a" "armv8.3-a" "armv8.4-a" "armv8.5-a" "armv8.6-a" + "armv8-r" "armv8.1-m.main"))) + (define %gcc-10-x86_64-micro-architectures ;; Suitable '-march' values for GCC 10. (append %gcc-7.5-x86_64-micro-architectures @@ -577,6 +592,7 @@ (define-public gcc-7 (properties `((compiler-cpu-architectures ("aarch64" ,@%gcc-7.5-aarch64-micro-architectures) + ("armhf" ,@%gcc-7.5-armhf-micro-architectures) ("x86_64" ,@%gcc-7.5-x86_64-micro-architectures)))))) (define-public gcc-8 @@ -631,6 +647,7 @@ (define-public gcc-10 (properties `((compiler-cpu-architectures ("aarch64" ,@%gcc-10-aarch64-micro-architectures) + ("armhf" ,@%gcc-10-armhf-micro-architectures) ("x86_64" ,@%gcc-10-x86_64-micro-architectures)))))) (define-public gcc-11 -- 2.34.0