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")