From unknown Sun Aug 10 16:43:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#76762] [PATCH] gnu: Add llvm-20. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Mar 2025 10:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76762 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76762@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174117085827099 (code B ref -1); Wed, 05 Mar 2025 10:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2025 10:34:18 +0000 Received: from localhost ([127.0.0.1]:35635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpm4v-00072z-PY for submit@debbugs.gnu.org; Wed, 05 Mar 2025 05:34:18 -0500 Received: from lists.gnu.org ([2001:470:142::17]:55970) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpm4s-00072c-LB for submit@debbugs.gnu.org; Wed, 05 Mar 2025 05:34:15 -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 1tpm4m-0005ND-F6 for guix-patches@gnu.org; Wed, 05 Mar 2025 05:34:08 -0500 Received: from mail.z572.online ([88.99.160.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tpm4k-0005Ic-92 for guix-patches@gnu.org; Wed, 05 Mar 2025 05:34:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=z572.online; s=me; t=1741171183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aqfzwB4KNZCq8FBKbMbqSNnUwKqzM0w2XEH6l14fLec=; b=HfnIXYFCuMnxzMFWvalyXazqkhAM927pKUcC9AQYm7nA8erV9KUs2zBq5ojQ5H4Bdc71UJ vAb3olgfZFG1gs0vUUvqdRmabCuLsGdOVwSebkNOB80cX/1pkH2VbviMVEywLhF1PxUwKk SCa6fdJLCJhCLytSKU0dkD5+11zn2JU= Received: from m.tailaa68d.ts.net (mail1.85362086.com [107.174.64.25]) by mail.z572.online (OpenSMTPD) with ESMTPSA id 6ca13770 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 5 Mar 2025 10:39:41 +0000 (UTC) From: Zheng Junjie Date: Wed, 5 Mar 2025 18:33:52 +0800 Message-ID: <510e6f5871f902b5892293d0e3984ff85b1600a9.1741170832.git.z572@z572.online> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=88.99.160.180; envelope-from=z572@z572.online; helo=mail.z572.online X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.001, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.982, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. (%llvm-patches): Add entry for llvm-20. (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): New variables. Change-Id: Ia49a4829f73f17dd78933838470ca70241927102 --- gnu/packages/llvm.scm | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. (%llvm-patches): Add entry for llvm-20. (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): New variables. Change-Id: Ia49a4829f73f17dd78933838470ca70241927102 --- gnu/packages/llvm.scm | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. (%llvm-patches): Add entry for llvm-20. (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): New variables. Change-Id: Ia49a4829f73f17dd78933838470ca70241927102 --- gnu/packages/llvm.scm | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index f1058ebbc95..d352f5bf6f8 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -26,7 +26,7 @@ ;;; Copyright © 2022 Clément Lassieur ;;; Copyright © 2022 Zhu Zihao ;;; Copyright © 2023 Hilton Chain -;;; Copyright © 2023-2025 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2023-2025 Zheng Junjie ;;; ;;; This file is part of GNU Guix. ;;; @@ -568,7 +568,8 @@ (define %llvm-monorepo-hashes ("16.0.6" . "0jxmapg7shwkl88m4mqgfjv4ziqdmnppxhjz6vz51ycp2x4nmjky") ("17.0.6" . "1a7rq3rgw5vxm8y39fyzr4kv7w97lli4a0c1qrkchwk8p0n07hgh") ("18.1.8" . "1l9wm0g9jrpdf309kxjx7xrzf13h81kz8bbp0md14nrz38qll9la") - ("19.1.7" . "18hkfhsm88bh3vnj21q7f118vrcnf7z6q1ylnwbknyb3yvk0343i"))) + ("19.1.7" . "18hkfhsm88bh3vnj21q7f118vrcnf7z6q1ylnwbknyb3yvk0343i") + ("20.1.0" . "1ny66g8g186scb3mxqy5hdxbs03rrf1qs1y6smf7574vidxpr9pk"))) (define %llvm-patches '(("14.0.6" . ("clang-14.0-libc-search-path.patch" @@ -583,6 +584,8 @@ (define %llvm-patches ("18.1.8" . ("clang-18.0-libc-search-path.patch" "clang-17.0-link-dsymutil-latomic.patch")) ("19.1.7" . ("clang-18.0-libc-search-path.patch" + "clang-17.0-link-dsymutil-latomic.patch")) + ("20.1.0" . ("clang-18.0-libc-search-path.patch" "clang-17.0-link-dsymutil-latomic.patch")))) (define (llvm-monorepo version) @@ -1605,6 +1608,37 @@ (define-public libomp-19 (define-public clang-toolchain-19 (make-clang-toolchain clang-19 libomp-19)) +(define-public llvm-20 + (make-llvm "20.1.0")) + +(define-public clang-runtime-20 + (clang-runtime-from-llvm llvm-20)) + +(define-public clang-20 + (clang-from-llvm + llvm-20 clang-runtime-20 + #:tools-extra + (origin + (method url-fetch) + (uri (llvm-uri "clang-tools-extra" + (package-version llvm-20))) + (sha256 + (base32 + "19ksp5qnl5p5jqywfvvff8jjb0vbwmj33q58g1nhyj1ik48h9rcq"))))) + +(define-public libomp-20 + (package + (inherit libomp-15) + (version (package-version llvm-20)) + (source (llvm-monorepo version)) + (native-inputs + (modify-inputs (package-native-inputs libomp-15) + (replace "clang" clang-20) + (replace "llvm" llvm-20))))) + +(define-public clang-toolchain-20 + (make-clang-toolchain clang-20 libomp-20)) + ;; Default LLVM and Clang version. (define-public libomp libomp-13) (define-public llvm llvm-13) base-commit: a69a33645183fa3d55d54fe1534a9bb2a33a24a4 -- 2.48.1 From unknown Sun Aug 10 16:43:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Zheng Junjie Subject: bug#76762: closed (Re: [bug#76762] [PATCH] gnu: Add llvm-20.) Message-ID: References: <87tt85dqxh.fsf@z572.online> <510e6f5871f902b5892293d0e3984ff85b1600a9.1741170832.git.z572@z572.online> X-Gnu-PR-Message: they-closed 76762 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 76762@debbugs.gnu.org Date: Fri, 07 Mar 2025 11:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1741346702-6987-1" This is a multi-part message in MIME format... ------------=_1741346702-6987-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #76762: [PATCH] gnu: Add llvm-20. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 76762@debbugs.gnu.org. --=20 76762: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76762 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1741346702-6987-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 76762-done) by debbugs.gnu.org; 7 Mar 2025 11:24:38 +0000 Received: from localhost ([127.0.0.1]:47196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tqVoj-0001nz-Dl for submit@debbugs.gnu.org; Fri, 07 Mar 2025 06:24:37 -0500 Received: from mail.z572.online ([88.99.160.180]:52170) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tqVog-0001nm-Tn for 76762-done@debbugs.gnu.org; Fri, 07 Mar 2025 06:24:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=z572.online; s=me; t=1741347016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FJZewXEoSgUQzex7zSVGboh7h24EYgjedctBF4qzecw=; b=Oz+PgYd0wq+j04DZa/83JM6ZDa7iwYlqGBLLAIs+lJKTGavQcSbSnNysVMpl4oIwmIruZE b3Pm9KkeiW2oN20TVDDQGZcfTHYpNbr0Zu1A6y2zuzV1O4TKT2/OXyGi2J0EknOlGIwDj7 SZ/52bCxQ5Tkiu8vLsHxzf3GqXywxqw= Received: from m (mail1.85362086.com [107.174.64.25]) by mail.z572.online (OpenSMTPD) with ESMTPSA id cb7d59f6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <76762-done@debbugs.gnu.org>; Fri, 7 Mar 2025 11:30:15 +0000 (UTC) From: Z572 To: 76762-done@debbugs.gnu.org Subject: Re: [bug#76762] [PATCH] gnu: Add llvm-20. In-Reply-To: <510e6f5871f902b5892293d0e3984ff85b1600a9.1741170832.git.z572@z572.online> (Zheng Junjie's message of "Wed, 5 Mar 2025 18:33:52 +0800") References: <510e6f5871f902b5892293d0e3984ff85b1600a9.1741170832.git.z572@z572.online> User-Agent: mu4e 1.12.7; emacs 30.0.92 Date: Fri, 07 Mar 2025 19:24:26 +0800 Message-ID: <87tt85dqxh.fsf@z572.online> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Zheng Junjie writes: > * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. > (%llvm-patches): Add entry for llvm-20. > (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): > New variab [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [88.99.160.180 listed in bl.score.senderscore.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [88.99.160.180 listed in sa-accredit.habeas.com] 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 76762-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Zheng Junjie writes: > * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. > (%llvm-patches): Add entry for llvm-20. > (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): > New variab [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [88.99.160.180 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [88.99.160.180 listed in bl.score.senderscore.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Zheng Junjie writes: > * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. > (%llvm-patches): Add entry for llvm-20. > (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): > New variables. > > Change-Id: Ia49a4829f73f17dd78933838470ca70241927102 > --- > gnu/packages/llvm.scm | 38 ++++++++++++++++++++++++++++++++++++-- > 1 file changed, 36 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm > index f1058ebbc95..d352f5bf6f8 100644 > --- a/gnu/packages/llvm.scm > +++ b/gnu/packages/llvm.scm > @@ -26,7 +26,7 @@ > ;;; Copyright =C2=A9 2022 Cl=C3=A9ment Lassieur > ;;; Copyright =C2=A9 2022 Zhu Zihao > ;;; Copyright =C2=A9 2023 Hilton Chain > -;;; Copyright =C2=A9 2023-2025 Zheng Junjie <873216071@qq.com> > +;;; Copyright =C2=A9 2023-2025 Zheng Junjie > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -568,7 +568,8 @@ (define %llvm-monorepo-hashes > ("16.0.6" . "0jxmapg7shwkl88m4mqgfjv4ziqdmnppxhjz6vz51ycp2x4nmjky") > ("17.0.6" . "1a7rq3rgw5vxm8y39fyzr4kv7w97lli4a0c1qrkchwk8p0n07hgh") > ("18.1.8" . "1l9wm0g9jrpdf309kxjx7xrzf13h81kz8bbp0md14nrz38qll9la") > - ("19.1.7" . "18hkfhsm88bh3vnj21q7f118vrcnf7z6q1ylnwbknyb3yvk0343i"))) > + ("19.1.7" . "18hkfhsm88bh3vnj21q7f118vrcnf7z6q1ylnwbknyb3yvk0343i") > + ("20.1.0" . "1ny66g8g186scb3mxqy5hdxbs03rrf1qs1y6smf7574vidxpr9pk"))) >=20=20 > (define %llvm-patches > '(("14.0.6" . ("clang-14.0-libc-search-path.patch" > @@ -583,6 +584,8 @@ (define %llvm-patches > ("18.1.8" . ("clang-18.0-libc-search-path.patch" > "clang-17.0-link-dsymutil-latomic.patch")) > ("19.1.7" . ("clang-18.0-libc-search-path.patch" > + "clang-17.0-link-dsymutil-latomic.patch")) > + ("20.1.0" . ("clang-18.0-libc-search-path.patch" > "clang-17.0-link-dsymutil-latomic.patch")))) >=20=20 > (define (llvm-monorepo version) > @@ -1605,6 +1608,37 @@ (define-public libomp-19 > (define-public clang-toolchain-19 > (make-clang-toolchain clang-19 libomp-19)) >=20=20 > +(define-public llvm-20 > + (make-llvm "20.1.0")) > + > +(define-public clang-runtime-20 > + (clang-runtime-from-llvm llvm-20)) > + > +(define-public clang-20 > + (clang-from-llvm > + llvm-20 clang-runtime-20 > + #:tools-extra > + (origin > + (method url-fetch) > + (uri (llvm-uri "clang-tools-extra" > + (package-version llvm-20))) > + (sha256 > + (base32 > + "19ksp5qnl5p5jqywfvvff8jjb0vbwmj33q58g1nhyj1ik48h9rcq"))))) > + > +(define-public libomp-20 > + (package > + (inherit libomp-15) > + (version (package-version llvm-20)) > + (source (llvm-monorepo version)) > + (native-inputs > + (modify-inputs (package-native-inputs libomp-15) > + (replace "clang" clang-20) > + (replace "llvm" llvm-20))))) > + > +(define-public clang-toolchain-20 > + (make-clang-toolchain clang-20 libomp-20)) > + > ;; Default LLVM and Clang version. > (define-public libomp libomp-13) > (define-public llvm llvm-13) > > base-commit: a69a33645183fa3d55d54fe1534a9bb2a33a24a4 pushed, closing. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmfK12oACgkQO1qpk+Gi 3/CPNg//V/iBctPp0HiYaQIfMtq4E6XBYCswFr8BAGNEUynum/3MLeMm8u5sQCfp MfULBJ2T0duVzMl6d7f8KeaTrQSZLG6MJa02SxCDndv9uBXENScoJg/BCKJHLrTy MEeW9c3wdLyqX5xLdrhEDZcWPnE2oeV+vrQKAb2cdZ14q9V8EBnHg5kRiqJDOXNE ciNULyYWvnDSSj40qZrq0sFORCRTHBWoe8cj+xPV4CS8cFUkwJQJ2L/bA9wczdOa ngjscsjWs/ORhXgXcauSKhYm/17RYE9057nC0Y1W0N3tsWvhOCYlpQdCkNGnT/w8 2R9uOEwRcdeGZHFAgExMbtYAmuyXE0qy5P+tDjFOTOWTh8Ka4/OZ1+L45x503hWa zR8WGW43Mn3lqjblU94FUhX9TMldXSPB8XiYsPUPaQP3mqTGYsqXkiDd5UKorndW gkfw9O+Ei0v99HWihaNP85FQLRMCc+6wc8pkipWgucQKc8TiH3qiVOwoxiGdd+4a OdqsYHTpIxoNByJFwB6iXxucy2ebapnkAyjZqqOPN+vovZ3oSb0IeSS2XC0ycEIv HV3s2v/OURF15OjaD/V5ZB0LPhsLP21VJMBWjke9gEfEWzak67xaptuX/pr8dDQy l5TBlXV4lsJJoPoF+FdyrFW/baCrrjYMC6zyyWP3USKzIVsGdPY= =4Ili -----END PGP SIGNATURE----- --=-=-=-- ------------=_1741346702-6987-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Mar 2025 10:34:18 +0000 Received: from localhost ([127.0.0.1]:35635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tpm4v-00072z-PY for submit@debbugs.gnu.org; Wed, 05 Mar 2025 05:34:18 -0500 Received: from lists.gnu.org ([2001:470:142::17]:55970) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tpm4s-00072c-LB for submit@debbugs.gnu.org; Wed, 05 Mar 2025 05:34:15 -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 1tpm4m-0005ND-F6 for guix-patches@gnu.org; Wed, 05 Mar 2025 05:34:08 -0500 Received: from mail.z572.online ([88.99.160.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tpm4k-0005Ic-92 for guix-patches@gnu.org; Wed, 05 Mar 2025 05:34:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=z572.online; s=me; t=1741171183; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aqfzwB4KNZCq8FBKbMbqSNnUwKqzM0w2XEH6l14fLec=; b=HfnIXYFCuMnxzMFWvalyXazqkhAM927pKUcC9AQYm7nA8erV9KUs2zBq5ojQ5H4Bdc71UJ vAb3olgfZFG1gs0vUUvqdRmabCuLsGdOVwSebkNOB80cX/1pkH2VbviMVEywLhF1PxUwKk SCa6fdJLCJhCLytSKU0dkD5+11zn2JU= Received: from m.tailaa68d.ts.net (mail1.85362086.com [107.174.64.25]) by mail.z572.online (OpenSMTPD) with ESMTPSA id 6ca13770 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 5 Mar 2025 10:39:41 +0000 (UTC) From: Zheng Junjie To: guix-patches@gnu.org Subject: [PATCH] gnu: Add llvm-20. Date: Wed, 5 Mar 2025 18:33:52 +0800 Message-ID: <510e6f5871f902b5892293d0e3984ff85b1600a9.1741170832.git.z572@z572.online> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=88.99.160.180; envelope-from=z572@z572.online; helo=mail.z572.online X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.001, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.982, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. (%llvm-patches): Add entry for llvm-20. (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): New variables. Change-Id: Ia49a4829f73f17dd78933838470ca70241927102 --- gnu/packages/llvm.scm | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. (%llvm-patches): Add entry for llvm-20. (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): New variables. Change-Id: Ia49a4829f73f17dd78933838470ca70241927102 --- gnu/packages/llvm.scm | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/llvm.scm (%llvm-monorepo-hashes): Add entry for llvm-20. (%llvm-patches): Add entry for llvm-20. (llvm-20, clang-runtime-20, clang-20, libomp-20, clang-toolchain-20): New variables. Change-Id: Ia49a4829f73f17dd78933838470ca70241927102 --- gnu/packages/llvm.scm | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index f1058ebbc95..d352f5bf6f8 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -26,7 +26,7 @@ ;;; Copyright © 2022 Clément Lassieur ;;; Copyright © 2022 Zhu Zihao ;;; Copyright © 2023 Hilton Chain -;;; Copyright © 2023-2025 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2023-2025 Zheng Junjie ;;; ;;; This file is part of GNU Guix. ;;; @@ -568,7 +568,8 @@ (define %llvm-monorepo-hashes ("16.0.6" . "0jxmapg7shwkl88m4mqgfjv4ziqdmnppxhjz6vz51ycp2x4nmjky") ("17.0.6" . "1a7rq3rgw5vxm8y39fyzr4kv7w97lli4a0c1qrkchwk8p0n07hgh") ("18.1.8" . "1l9wm0g9jrpdf309kxjx7xrzf13h81kz8bbp0md14nrz38qll9la") - ("19.1.7" . "18hkfhsm88bh3vnj21q7f118vrcnf7z6q1ylnwbknyb3yvk0343i"))) + ("19.1.7" . "18hkfhsm88bh3vnj21q7f118vrcnf7z6q1ylnwbknyb3yvk0343i") + ("20.1.0" . "1ny66g8g186scb3mxqy5hdxbs03rrf1qs1y6smf7574vidxpr9pk"))) (define %llvm-patches '(("14.0.6" . ("clang-14.0-libc-search-path.patch" @@ -583,6 +584,8 @@ (define %llvm-patches ("18.1.8" . ("clang-18.0-libc-search-path.patch" "clang-17.0-link-dsymutil-latomic.patch")) ("19.1.7" . ("clang-18.0-libc-search-path.patch" + "clang-17.0-link-dsymutil-latomic.patch")) + ("20.1.0" . ("clang-18.0-libc-search-path.patch" "clang-17.0-link-dsymutil-latomic.patch")))) (define (llvm-monorepo version) @@ -1605,6 +1608,37 @@ (define-public libomp-19 (define-public clang-toolchain-19 (make-clang-toolchain clang-19 libomp-19)) +(define-public llvm-20 + (make-llvm "20.1.0")) + +(define-public clang-runtime-20 + (clang-runtime-from-llvm llvm-20)) + +(define-public clang-20 + (clang-from-llvm + llvm-20 clang-runtime-20 + #:tools-extra + (origin + (method url-fetch) + (uri (llvm-uri "clang-tools-extra" + (package-version llvm-20))) + (sha256 + (base32 + "19ksp5qnl5p5jqywfvvff8jjb0vbwmj33q58g1nhyj1ik48h9rcq"))))) + +(define-public libomp-20 + (package + (inherit libomp-15) + (version (package-version llvm-20)) + (source (llvm-monorepo version)) + (native-inputs + (modify-inputs (package-native-inputs libomp-15) + (replace "clang" clang-20) + (replace "llvm" llvm-20))))) + +(define-public clang-toolchain-20 + (make-clang-toolchain clang-20 libomp-20)) + ;; Default LLVM and Clang version. (define-public libomp libomp-13) (define-public llvm llvm-13) base-commit: a69a33645183fa3d55d54fe1534a9bb2a33a24a4 -- 2.48.1 ------------=_1741346702-6987-1--