From patchwork Wed Mar 6 11:06:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 61403 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 0273327BBEA; Wed, 6 Mar 2024 11:09:46 +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 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 E98B227BBE2 for ; Wed, 6 Mar 2024 11:09:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhp9J-00018u-Gn; Wed, 06 Mar 2024 06:09:25 -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 1rhp8X-0000oc-7V for guix-patches@gnu.org; Wed, 06 Mar 2024 06:08:37 -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 1rhp8V-0007d4-Gx for guix-patches@gnu.org; Wed, 06 Mar 2024 06:08:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhp90-0005Hf-7y for guix-patches@gnu.org; Wed, 06 Mar 2024 06:09:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69581] [PATCH 10/11] gnu: clang-properties: Update x86_64 micro-architectures. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Mar 2024 11:09:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69581 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69581@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 69581-submit@debbugs.gnu.org id=B69581.170972332420192 (code B ref 69581); Wed, 06 Mar 2024 11:09:06 +0000 Received: (at 69581) by debbugs.gnu.org; 6 Mar 2024 11:08:44 +0000 Received: from localhost ([127.0.0.1]:49824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhp8d-0005Fc-EH for submit@debbugs.gnu.org; Wed, 06 Mar 2024 06:08:43 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:55583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhp8a-0005ES-RX for 69581@debbugs.gnu.org; Wed, 06 Mar 2024 06:08:42 -0500 Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-33e4c676f0aso1222063f8f.3 for <69581@debbugs.gnu.org>; Wed, 06 Mar 2024 03:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709723224; x=1710328024; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=3WzLvkmz/lpJ9BObgEa2E3r45MAoHSMNZHdOm10myMU=; b=mNfvoV64U5AO4ZNIE/Cmb3zvx9geDuF5xf/jrQHwy3qXgSmFyTexG7i+feTAafr214 /MLYw/uM1AFU/o80susp7N8W8UumVXIBnigETVPJHiTVi1YHU0lMgBIU+S78cGmwjnfR DUTCogul+4fGMd0uHLt5YaWFDSM8CODTOP/tOWITiZARGT8PGZ690uVDVsR7N1LFEJwo zAcBiWdhQkIpWrmtH1QOjmy+HxGuyctxqvKklslIGTuaHxKNc5A3vL+iktlGlUyV3/XR jjNfopgb2rchZ1DiZNJlB59wlkLpL2EuIlv1tNbs0O10GbOZh0pP44u4/VJCxUYs58KR o4BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709723224; x=1710328024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3WzLvkmz/lpJ9BObgEa2E3r45MAoHSMNZHdOm10myMU=; b=c8hw7svNtJJYlGwP/WpcH9Db+mbbNswGkwzUULHvxzb6Ic5NkdOGFbnnsMSHk309gd NXFOn5StVtnsDtrXP4PBGw/SGg2WPcp7HBp3eJYZBAZmKo9ZF6Iww2iCSpZz5BlgAIrX TU297kA401lxH2VvjWIJs3SvadxFpVc+CBAe9m0cxpew60T62QZyAeow9AYaq6mRVN0D DPBmU5LDKjtGgpJPfvQUfbrOIblatSg2YP9+5JSRm1L1MKJ7GwbZps/QLbNWe6MMXg+E hAJZMqeXfqa+8Ks/2gd3uE2abgPmpci0BjunRWCAMu9bUGGUFyaR3PMILtuYX8FZWUrE 7DDw== X-Gm-Message-State: AOJu0YxxHuvRFtjS+ynJoMLp7bHZ72Mes48jZP2InyR+hQnUQ3IpyDiw VZR/YsjNpU/uWjW9nOxjtDSe5bWcifNlitaEaZwoxXqOV3zGBVJ6wHJAWfsqMKk= X-Google-Smtp-Source: AGHT+IFr9hS20dtgMLmTXpQC7Pga+ezdwwVYomjgLnGFVpxCTkw0qjhvEQ8I9/a8bYPQyEd0uZJk1A== X-Received: by 2002:adf:e54b:0:b0:33d:73de:c1a0 with SMTP id z11-20020adfe54b000000b0033d73dec1a0mr9504426wrm.18.1709723224168; Wed, 06 Mar 2024 03:07:04 -0800 (PST) Received: from localhost ([141.226.12.177]) by smtp.gmail.com with ESMTPSA id bq26-20020a5d5a1a000000b0033e2777f313sm12428085wrb.72.2024.03.06.03.07.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 03:07:03 -0800 (PST) From: Efraim Flashner Date: Wed, 6 Mar 2024 13:06:11 +0200 Message-ID: <17d1869e788e1f364d3a3303cde5a553c41a4fa1.1709722620.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , 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 * gnu/packages/llvm.scm (clang-properties): Add entries on x86_64 for versions 17, 16, 15, 13, 9 and remove entry for version 10. Change-Id: I93149c30f011c6de8ff0cc2c2b6f0186540359cd --- gnu/packages/llvm.scm | 122 +++++++++++++++++++++--------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 2778d0ec38..2567405cb4 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -482,67 +482,67 @@ (define* (clang-from-llvm llvm clang-runtime (define (clang-properties version) "Return package properties for Clang VERSION." `((compiler-cpu-architectures - ("x86_64" - ;; This list was obtained by running: - ;; - ;; guix shell clang -- llc -march=x86-64 -mattr=help - ;; - ;; filtered from uninteresting entries such as "i686" and "pentium". - ,@(if (version>=? version "10.0") ;TODO: refine - '("atom" - "barcelona" - "bdver1" - "bdver2" - "bdver3" - "bdver4" - "bonnell" - "broadwell" - "btver1" - "btver2" - "c3" - "c3-2" - "cannonlake" - "cascadelake" - "cooperlake" - "core-avx-i" - "core-avx2" - "core2" - "corei7" - "corei7-avx" - "generic" - "geode" - "goldmont" - "goldmont-plus" - "haswell" - "icelake-client" - "icelake-server" - "ivybridge" - "k8" - "k8-sse3" - "knl" - "knm" - "lakemont" - "nehalem" - "nocona" - "opteron" - "opteron-sse3" - "sandybridge" - "silvermont" - "skx" - "skylake" - "skylake-avx512" - "slm" - "tigerlake" - "tremont" - "westmere" - "x86-64" - "x86-64-v2" - "x86-64-v3" - "x86-64-v4" - "znver1" - "znver2" - "znver3") - '()))))) + ("x86_64" + ;; This list was obtained from clang/test/Misc/target-invalid-cpu-note.c + ,@(cond + ((version>=? version "17.0") + '("nocona" "core2" "penryn" "bonnell" "atom" "silvermont" "slm" + "goldmont" "goldmont-plus" "tremont" "nehalem" "corei7" "westmere" + "sandybridge" "corei7-avx" "ivybridge" "core-avx-i" "haswell" + "core-avx2" "broadwell" "skylake" "skylake-avx512" "skx" + "cascadelake" "cooperlake" "cannonlake" "icelake-client" + "rocketlake" "icelake-server" "tigerlake" "sapphirerapids" + "alderlake" "raptorlake" "meteorlake" "sierraforest" "grandridge" + "graniterapids" "graniterapids-d" "emeraldrapids" "knl" "knm" "k8" + "athlon64" "athlon-fx" "opteron" "k8-sse3" "athlon64-sse3" + "opteron-sse3" "amdfam10" "barcelona" "btver1" "btver2" "bdver1" + "bdver2" "bdver3" "bdver4" "znver1" "znver2" "znver3" "znver4" + "x86-64" "x86-64-v2" "x86-64-v3" "x86-64-v4")) + ((version>=? version "16.0") + '("nocona" "core2" "penryn" "bonnell" "atom" "silvermont" "slm" + "goldmont" "goldmont-plus" "tremont" "nehalem" "corei7" "westmere" + "sandybridge" "corei7-avx" "ivybridge" "core-avx-i" "haswell" + "core-avx2" "broadwell" "skylake" "skylake-avx512" "skx" + "cascadelake" "cooperlake" "cannonlake" "icelake-client" + "rocketlake" "icelake-server" "tigerlake" "sapphirerapids" + "alderlake" "raptorlake" "meteorlake" "sierraforest" "grandridge" + "graniterapids" "emeraldrapids" "knl" "knm" "k8" "athlon64" + "athlon-fx" "opteron" "k8-sse3" "athlon64-sse3" "opteron-sse3" + "amdfam10" "barcelona" "btver1" "btver2" "bdver1" "bdver2" + "bdver3" "bdver4" "znver1" "znver2" "znver3" "znver4" "x86-64" + "x86-64-v2" "x86-64-v3" "x86-64-v4")) + ((version>=? version "15.0") + '("nocona" "core2" "penryn" "bonnell" "atom" "silvermont" "slm" + "goldmont" "goldmont-plus" "tremont" "nehalem" "corei7" "westmere" + "sandybridge" "corei7-avx" "ivybridge" "core-avx-i" "haswell" + "core-avx2" "broadwell" "skylake" "skylake-avx512" "skx" + "cascadelake" "cooperlake" "cannonlake" "icelake-client" + "rocketlake" "icelake-server" "tigerlake" "sapphirerapids" + "alderlake" "knl" "knm" "k8" "athlon64" "athlon-fx" "opteron" + "k8-sse3" "athlon64-sse3" "opteron-sse3" "amdfam10" "barcelona" + "btver1" "btver2" "bdver1" "bdver2" "bdver3" "bdver4" "znver1" + "znver2" "znver3" "x86-64" "x86-64-v2" "x86-64-v3" "x86-64-v4")) + ((version>=? version "13.0") + '("nocona" "core2" "penryn" "bonnell" "atom" "silvermont" "slm" + "goldmont" "goldmont-plus" "tremont" "nehalem" "corei7" "westmere" + "sandybridge" "corei7-avx" "ivybridge" "core-avx-i" "haswell" + "core-avx2" "broadwell" "skylake" "skylake-avx512" "skx" + "cascadelake" "cooperlake" "cannonlake" "icelake-client" + "rocketlake" "icelake-server" "tigerlake" "sapphirerapids" + "alderlake" "knl" "knm" "k8" "athlon64" "athlon-fx" "opteron" + "k8-sse3" "athlon64-sse3" "opteron-sse3" "amdfam10" "barcelona" + "btver1" "btver2" "bdver1" "bdver2" "bdver3" "bdver4" "znver1" + "znver2" "znver3" "x86-64" "x86-64-v2" "x86-64-v3" "x86-64-v4")) + ((version>=? version "9.0") + '("atom" "silvermont" "slm" "goldmont" "goldmont-plus" "tremont" + "nehalem" "corei7" "westmere" "sandybridge" "corei7-avx" + "ivybridge" "core-avx-i" "haswell" "core-avx2" "broadwell" + "skylake" "skylake-avx512" "skx" "cascadelake" "cooperlake" + "cannonlake" "icelake-client" "icelake-server" "knl" "knm" "k8" + "athlon64" "athlon-fx" "opteron" "k8-sse3" "athlon64-sse3" + "opteron-sse3" "amdfam10" "barcelona" "btver1" "btver2" "bdver1" + "bdver2" "bdver3" "bdver4" "znver1" "znver2" "x86-64")) + (else '())))))) (define-public (make-clang-toolchain clang libomp) (package