From: Lars-Dominik Braun <lars@6xq.net>
To: 55948@debbugs.gnu.org, ludo@gnu.org, john.kehayias@protonmail.com
Subject: [bug#55948] [PATCH 0/2] gnu: Update rocm to 5.1.3.
Date: Thu, 16 Jun 2022 14:04:08 +0200 [thread overview]
Message-ID: <YqscOHyKZ/XpL8ZS@noor.fritz.box> (raw)
In-Reply-To: <87sfo4lu22.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
Hi Ludo,
> Pushed!
aw, I’m too late. I was going to propose the attached changes.
Lars
[-- Attachment #2: rocm.patch --]
[-- Type: text/plain, Size: 3172 bytes --]
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")
next prev parent reply other threads:[~2022-06-16 12:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 17:23 [bug#55948] [PATCH 0/2] gnu: Update rocm to 5.1.3 John Kehayias via Guix-patches via
2022-06-13 17:25 ` [bug#55948] [PATCH 1/2] gnu: Update llvm-for-rocm " John Kehayias via Guix-patches via
2022-06-13 17:26 ` [bug#55948] [PATCH 2/2] gnu: rocm: Update " John Kehayias via Guix-patches via
2022-06-16 11:35 ` bug#55948: [PATCH 0/2] gnu: Update rocm " Ludovic Courtès
2022-06-16 12:04 ` Lars-Dominik Braun [this message]
2022-06-16 12:17 ` [bug#55948] " Ludovic Courtès
2022-06-16 15:43 ` John Kehayias via Guix-patches via
2022-06-28 11:22 ` Lars-Dominik Braun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YqscOHyKZ/XpL8ZS@noor.fritz.box \
--to=lars@6xq.net \
--cc=55948@debbugs.gnu.org \
--cc=john.kehayias@protonmail.com \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).