From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qGkINoccq2IeEQAAbAwnHQ (envelope-from ) for ; Thu, 16 Jun 2022 14:05:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +BoMNoccq2I5YwEA9RJhRA (envelope-from ) for ; Thu, 16 Jun 2022 14:05:27 +0200 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 43C0620235 for ; Thu, 16 Jun 2022 14:05:27 +0200 (CEST) Received: from localhost ([::1]:48348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1oFZ-00053k-Bc for larch@yhetil.org; Thu, 16 Jun 2022 08:05:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1oFC-00052o-K6 for guix-patches@gnu.org; Thu, 16 Jun 2022 08:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1oFC-0002lb-BA for guix-patches@gnu.org; Thu, 16 Jun 2022 08:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1oFC-0002cE-1L for guix-patches@gnu.org; Thu, 16 Jun 2022 08:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55948] [PATCH 0/2] gnu: Update rocm to 5.1.3. Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Jun 2022 12:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55948 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55948@debbugs.gnu.org, ludo@gnu.org, john.kehayias@protonmail.com Received: via spool by 55948-submit@debbugs.gnu.org id=B55948.165538106410006 (code B ref 55948); Thu, 16 Jun 2022 12:05:01 +0000 Received: (at 55948) by debbugs.gnu.org; 16 Jun 2022 12:04:24 +0000 Received: from localhost ([127.0.0.1]:40939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1oEZ-0002bK-KH for submit@debbugs.gnu.org; Thu, 16 Jun 2022 08:04:23 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:47478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1oEW-0002b2-Jy for 55948@debbugs.gnu.org; Thu, 16 Jun 2022 08:04:22 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4LP171024Wz9sTP; Thu, 16 Jun 2022 14:04:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1655381053; 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: in-reply-to:in-reply-to:references:references; bh=CzQ9GQXtH/f1hctt/YzDalD0iCrmAAyfULeSLCHfOmk=; b=jnVn5LFo8YuiBMo0Q90uQ5QriKuKwUrP1ddddDVhwOld1c8OJUr/CqsomPF6BqNReBd3L3 QT8RQC8sQLngXDbCXxr1+aJW1KHshUAQjE0ompFWYdjqCN8qif+1Lj0bqHqATGHG86eP1f EIWHpXtwzdtRx5+iKBit4RL9DYx9r1deCr/wPirYg1Oqx2KCttcdg75aabJZ3n3ew5R5Lo YghGtQD7EFJvrk8Xp/wikDFdFLIfa8NDowOm60n8tsL6uEGGdxi4wDqxY/6jS2DWCtPmea Qjrt5dwPiw7mYzdsAKtfL5ryyH6pp5tHHCLOvge6UExHHLjALoD6h35vM5C9Ug== Date: Thu, 16 Jun 2022 14:04:08 +0200 From: Lars-Dominik Braun Message-ID: References: <87sfo4lu22.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="uxFLKKea047ED+pF" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87sfo4lu22.fsf@gnu.org> 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655381127; h=from:from:sender:sender: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: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:dkim-signature; bh=CzQ9GQXtH/f1hctt/YzDalD0iCrmAAyfULeSLCHfOmk=; b=qmUVZZxzDcZ9BKq0bdYP2HG8ayubZslcOLqOKgvg6vxgeO5PWMnMrUtoBNPs2RQLBlwedx j7M5zpZawlaA7D6SI9jMh+uvShCG/tocl55eGgD/PNwqX2eg4k2imOy6lVdWnGRfZCbjz0 FAflOjUBuojwCNtVCIWgKtUGpo85PR4k73uA7KXQH83xDqxOJ/Q+dkdzxGDDOKhAOdgA/e P47vPbVTRw8J8UvZ80KL/+ri/0XL+PO7httc5et9BjKKKbTuYJ6y8NQyDqZRVCvREI9vSV S474iJ+GEYmI8h75f2jhy1pfIYdAjssuJMZ4k6cFTfAA7ij8qLmuDuAwCDiv7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655381127; a=rsa-sha256; cv=none; b=N221kAnl4BirgMlEJdQsWMeIgh517Ie94aZkX/6BLTPclrP+ea6CKm8QOB/UHbfikbGkyX pumII3wlLQ7xyO4/2BekLPHyYo9Uj/x+99ji/7UuN6jDGnHB9Q9HUSTFAHO6/M47LZJhMS lhlsLOyAtQKmeoO5HK0o+NzsIb5dePswpEDAC09seG2v7Iz1HHG+1Lq9pGhdjKslW1L6Om II+2/l65+V+baMbK1inBNSW42Q3Jb7+2JrluvVIlPWy83YJ4vqUUwmImujrtjlaLJeLGMb Sq+ayFPqe07Mlelr0guV44uaehjFsDCn6k0DMiR1ZRpy+wyqpHUgQAEvC1v0Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=jnVn5LFo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=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: 4.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=jnVn5LFo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=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: 43C0620235 X-Spam-Score: 4.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: KoWHHIABTK+r --uxFLKKea047ED+pF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi Ludo, > Pushed! aw, I’m too late. I was going to propose the attached changes. Lars --uxFLKKea047ED+pF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rocm.patch" diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 7b197bb67b..f5d3eac588 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1127,14 +1127,9 @@ (define-public llvm-for-rocm (search-patches "llvm-roc-5.0.0-linkdl.patch" "llvm-roc-4.0.0-remove-isystem-usr-include.patch")))) (arguments - (substitute-keyword-arguments (package-arguments llvm-12) - ((#:phases phases '%standard-phases) - `(modify-phases ,phases - (add-after 'unpack 'chdir - (lambda _ - (chdir "llvm"))))) + (substitute-keyword-arguments (package-arguments llvm-14) ((#:configure-flags flags) - ''("-DLLVM_ENABLE_PROJECTS=llvm;clang;lld" + #~(list"-DLLVM_ENABLE_PROJECTS=llvm;clang;lld" "-DLLVM_TARGETS_TO_BUILD=AMDGPU;X86" "-DCMAKE_SKIP_BUILD_RPATH=FALSE" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE" diff --git a/gnu/packages/rocm.scm b/gnu/packages/rocm.scm index 6c1a83cc88..b85b39d783 100644 --- a/gnu/packages/rocm.scm +++ b/gnu/packages/rocm.scm @@ -193,51 +193,6 @@ (define rocclr-src (base32 "0x1frzpz9j1s516vscbdm9g5cqirvv5w7wmq2kyljcygnci7yqar")))) -(define-public rocclr-4 - (package - (name "rocclr-4") - (version "4.3.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ROCm-Developer-Tools/ROCclr.git") - (commit (string-append "rocm-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1pm1y020zriz7zmi95w0rcpka0jrsc7wwh81sssnysi8wxk3nnfy")))) - (build-system cmake-build-system) - (arguments - `(#:tests? #f ; No tests. - #:configure-flags - `(,(string-append - "-DOPENCL_DIR=" - (assoc-ref %build-inputs "rocm-opencl-runtime-src"))))) - (inputs - `(("mesa" ,mesa) - ("rocm-comgr" ,rocm-comgr) - ("llvm" ,llvm-for-rocm) - ("rocm-device-libs" ,rocm-device-libs) - ("rocr-runtime" ,rocr-runtime) - ("rocm-cmake" ,rocm-cmake) - ;; rocclr depends on a few headers provided by rocm-opencl-runtime. - ("rocm-opencl-runtime-src" - ,(origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime.git") - (commit (string-append "rocm-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1cglpiaj3ny1z74ssmy6j63vj92sfy4q38ix6qsga0mg3b2wvqz3")))))) - (home-page "https://github.com/ROCm-Developer-Tools/ROCclr") - (synopsis "Radeon Open Compute Common Language Runtime") - (description "ROCclr is a virtual device interface that compute runtimes -interact with to different backends such as ROCr or PAL. This abstraction -allows runtimes to work on Windows as well as on Linux without much effort.") - (license license:ncsa))) - (define-public rocm-opencl-runtime (package (name "rocm-opencl-runtime") --uxFLKKea047ED+pF--