Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocm-opencl-runtime/files/, dev-libs/rocm-opencl-runtime/
Date: Wed, 01 Feb 2023 09:53:34
Message-Id: 1675245162.dc86f4599f56905af924f7b770abb3e1d4c65bcd.asturm@gentoo
1 commit: dc86f4599f56905af924f7b770abb3e1d4c65bcd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 24 22:16:00 2023 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 09:52:42 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc86f459
7
8 dev-libs/rocm-opencl-runtime: drop 5.0.2-r1
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-libs/rocm-opencl-runtime/Manifest | 2 -
13 .../rocm-opencl-runtime-4.5.2-remove-clinfo.patch | 11 ---
14 .../rocm-opencl-runtime-5.0.2-r1.ebuild | 91 ----------------------
15 3 files changed, 104 deletions(-)
16
17 diff --git a/dev-libs/rocm-opencl-runtime/Manifest b/dev-libs/rocm-opencl-runtime/Manifest
18 index abe4435ef48d..3a3410c42246 100644
19 --- a/dev-libs/rocm-opencl-runtime/Manifest
20 +++ b/dev-libs/rocm-opencl-runtime/Manifest
21 @@ -1,6 +1,4 @@
22 -DIST rocclr-5.0.2.tar.gz 853965 BLAKE2B a0d568eb3b230845970d8256a5a2f32018e4b9fb68e0f1aa13a1f3fc953e614025315b90cbe68c107f7150cf91b4b1ea438455429062c7dc06ef77d65dedd2ec SHA512 b30a57c09973d8ef624511f422babaf9722685b9f85643783aebc000671b41fd54f44b308cece0baab187e1ee00b10335c6d22b6bad6fb3468abe6ef0da97d73
23 DIST rocclr-5.1.3.tar.gz 618606 BLAKE2B 02b7732ddd03c0883bee49c56466cd21c649159f801bfb2537eea6e640c65613eb57b37d942f465a9deb83d65735f51212dde5e4f77ba8239d1a6b7037e1800c SHA512 89fd2eca39ed84a1cf525b2c606089ef39f64c1f997c4880e10722da6de4864110752640e1508db1aeb9d15c48ba4e6fe5dbe7a9e56718853ece42548028b2ca
24 DIST rocclr-5.3.3.tar.gz 625944 BLAKE2B 0cdbc1415a355e1d56628834846aaa8587c9827eeea59f4312b788e868265dcb42197181fd5ef411416da2e11662c7f665f578aa750ab88c3a5405bcc58ee449 SHA512 3f85532cffc09c2ca8e7cd1770263d1c1a38633ed2bc5cfe62072e12a6f8f669db400519950718be31f6b77693d372e2ef905f06c7f02e126aa9ff7d2da97924
25 -DIST rocm-opencl-runtime-5.0.2.tar.gz 1004855 BLAKE2B e2c2beb987053204fbe8fda562ae65d6c1a58447e9e88bf1081aabeee6c9a10738fd8562114b564b647682438fdbd2c535db1008ac6e1cc4eb9a915998eeb3c7 SHA512 fa01d1fafc890181b9e67070353ee7c9100619494b7509cae1a3659f24ef1d00f650024cb24bdb0e6e7eacfdec1115e4683ec6f320228a19f41ae83321780780
26 DIST rocm-opencl-runtime-5.1.3.tar.gz 1004765 BLAKE2B 64d9b42026d2be1d0e4aa666785699f6b4ec0584a927904a94bf830883050943503f8bdd7c97438a2fb11c71686a330d526f633959916c5c6c8da2e037841e79 SHA512 b83c3ae0bfad80f867bacce36710a8964f6dd7e64bf50da3ec6ce842217d6de63299d9ceaab9dc25a22252484520a85d02859809463dad5dda9b1f00a86863e0
27 DIST rocm-opencl-runtime-5.3.3.tar.gz 1007773 BLAKE2B a3f600a68183337f92b152a123241cb7025889cca2ef6814d9d5b5a2146a78703b171d20bcb432bc7a2cdd1f24ad349408c17816b25a66702e9f0f5345af9082 SHA512 391f0f244b7f02972df8cada821e69ee8d81d96b9cff3c14f1d0838da583d8fb136ec4bd5ee820f6dd261968e9eef5e9a5b10b7bb76b1b64625c399d79bcb03f
28
29 diff --git a/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-4.5.2-remove-clinfo.patch b/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-4.5.2-remove-clinfo.patch
30 deleted file mode 100644
31 index e466c14b2a08..000000000000
32 --- a/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-4.5.2-remove-clinfo.patch
33 +++ /dev/null
34 @@ -1,11 +0,0 @@
35 -diff -ruN ROCm-OpenCL-Runtime-rocm-4.5.2.old/CMakeLists.txt ROCm-OpenCL-Runtime-rocm-4.5.2/CMakeLists.txt
36 ---- ROCm-OpenCL-Runtime-rocm-4.5.2.old/CMakeLists.txt 2021-09-27 18:33:06.000000000 +0200
37 -+++ ROCm-OpenCL-Runtime-rocm-4.5.2/CMakeLists.txt 2021-12-15 19:04:23.315989714 +0100
38 -@@ -14,7 +14,6 @@
39 - set(OPENCL_ICD_LOADER_HEADERS_DIR "${CMAKE_CURRENT_LIST_DIR}/khronos/headers/opencl2.2" CACHE PATH "")
40 - add_subdirectory(khronos/icd)
41 - add_subdirectory(amdocl)
42 --add_subdirectory(tools/clinfo)
43 - add_subdirectory(tools/cltrace)
44 - if(BUILD_TESTS)
45 - add_subdirectory(tests/ocltst)
46
47 diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2-r1.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2-r1.ebuild
48 deleted file mode 100644
49 index 9c74aa789f97..000000000000
50 --- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-5.0.2-r1.ebuild
51 +++ /dev/null
52 @@ -1,91 +0,0 @@
53 -# Copyright 1999-2022 Gentoo Authors
54 -# Distributed under the terms of the GNU General Public License v2
55 -
56 -EAPI=7
57 -
58 -inherit cmake flag-o-matic prefix
59 -
60 -DESCRIPTION="Radeon Open Compute OpenCL Compatible Runtime"
61 -HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime"
62 -SRC_URI="https://github.com/ROCm-Developer-Tools/ROCclr/archive/rocm-${PV}.tar.gz -> rocclr-${PV}.tar.gz
63 - https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-${PV}.tar.gz -> rocm-opencl-runtime-${PV}.tar.gz"
64 -
65 -LICENSE="Apache-2.0 MIT"
66 -SLOT="0/$(ver_cut 1-2)"
67 -KEYWORDS="~amd64"
68 -
69 -RDEPEND=">=dev-libs/rocr-runtime-${PV}
70 - >=dev-libs/rocm-comgr-${PV}
71 - >=dev-libs/rocm-device-libs-${PV}
72 - >=virtual/opencl-3
73 - media-libs/mesa"
74 -DEPEND="${RDEPEND}"
75 -BDEPEND=">=dev-util/rocm-cmake-${PV}
76 - media-libs/glew
77 - "
78 -
79 -PATCHES=(
80 - "${FILESDIR}/${PN}-4.5.2-remove-clinfo.patch"
81 - "${FILESDIR}/${PN}-3.5.0-do-not-install-libopencl.patch"
82 -)
83 -
84 -S="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}"
85 -S1="${WORKDIR}/ROCclr-rocm-${PV}"
86 -
87 -CMAKE_BUILD_TYPE=Release
88 -
89 -src_prepare() {
90 - # Remove "clinfo" - use "dev-util/clinfo" instead
91 - [ -d tools/clinfo ] && rm -rf tools/clinfo || die
92 -
93 - cmake_src_prepare
94 -
95 - hprefixify amdocl/CMakeLists.txt
96 -
97 - local S="${S1}"
98 - local CMAKE_USE_DIR="${S1}"
99 - # Bug #753377
100 - # patch re-enables accidentally disabled gfx8000 family
101 - local PATCHES=("${FILESDIR}/${PN}-5.0.2-enable-gfx800.patch")
102 - BUILD_DIR="${S1}_build" cmake_src_prepare
103 -}
104 -
105 -src_configure() {
106 - # configure ROCclr
107 - CMAKE_USE_DIR="${S1}"
108 - local mycmakeargs=(
109 - -Wno-dev
110 - -DAMD_OPENCL_PATH="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}"
111 - )
112 - BUILD_DIR="${S1}_build" cmake_src_configure
113 -
114 - # Reported upstream: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/120
115 - append-cflags -fcommon
116 -
117 - CMAKE_USE_DIR="${S}"
118 - local mycmakeargs=(
119 - -Wno-dev
120 - -DROCCLR_PATH="${S1}"
121 - -DAMD_OPENCL_PATH="${S}"
122 - -DROCM_PATH="${EPREFIX}/usr"
123 - )
124 - cmake_src_configure
125 -}
126 -
127 -src_compile() {
128 - local S="${S1}"
129 - BUILD_DIR="${S1}_build" cmake_src_compile
130 -
131 - local S="${S}"
132 - cmake_src_compile
133 -}
134 -
135 -src_install() {
136 - insinto /etc/OpenCL/vendors
137 - doins config/amdocl64.icd
138 -
139 - cd "${BUILD_DIR}" || die
140 - insinto /usr/lib64
141 - doins amdocl/libamdocl64.so
142 - doins tools/cltrace/libcltrace.so
143 -}