1 |
commit: 8841a673aeb54b8801671d7cc9cb0ebf3fca69cb |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 25 21:02:54 2020 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 21:08:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8841a673 |
7 |
|
8 |
dev-libs/rocm-comgr: Cleanup old versions |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
12 |
|
13 |
dev-libs/rocm-comgr/Manifest | 4 -- |
14 |
.../files/rocm-comgr-2.6.0-find-clang.patch | 26 ------- |
15 |
.../files/rocm-comgr-2.6.0-find-lld-includes.patch | 43 ----------- |
16 |
.../files/rocm-comgr-2.8.0-dependencies.patch | 84 ---------------------- |
17 |
dev-libs/rocm-comgr/rocm-comgr-3.0.0.ebuild | 41 ----------- |
18 |
dev-libs/rocm-comgr/rocm-comgr-3.1.0.ebuild | 41 ----------- |
19 |
dev-libs/rocm-comgr/rocm-comgr-3.3.0.ebuild | 41 ----------- |
20 |
dev-libs/rocm-comgr/rocm-comgr-3.5.0.ebuild | 41 ----------- |
21 |
8 files changed, 321 deletions(-) |
22 |
|
23 |
diff --git a/dev-libs/rocm-comgr/Manifest b/dev-libs/rocm-comgr/Manifest |
24 |
index eb602155f7a..f5bcffb66d9 100644 |
25 |
--- a/dev-libs/rocm-comgr/Manifest |
26 |
+++ b/dev-libs/rocm-comgr/Manifest |
27 |
@@ -1,5 +1 @@ |
28 |
-DIST rocm-comgr-3.0.0.tar.gz 88594 BLAKE2B d3fb356962ba6a9ffc7aa295f1582f6587d55d1f4f2a9a978f5c189f4a0597a9cb3f9806a1f2f43f14e262bc19964e06f41df3c7f45ac3c1579511fe235cc940 SHA512 ffa250c44388b1985ec0dac68bf0dd27820933fe7579f7fc6b35d783852cd03fb02919b5e800b01d536c36eb3c5bff96d1a38f5c8ab6380d6584b2e6d19a25fc |
29 |
-DIST rocm-comgr-3.1.0.tar.gz 88654 BLAKE2B 2b74fcde11a9fdd815526cb6fae81c1844aed5d73e961c437c9d3585b8cbd538983a9b06a5130eb75e5ac272d0a833f459053436f48116eb430c742de532ce65 SHA512 be148e92c84aacfc11724b0bfb54fab0e8cec2474eb943b1df4841517d47a3995b179afafcaa0730ddb9fadf891ca4797ce6613afac1f6f018dcc5b030a32e98 |
30 |
-DIST rocm-comgr-3.3.0.tar.gz 88792 BLAKE2B e84d63c0462bd64a7f10a6092d736811e834c6541aea2ee6363b60e7ab5652dc3efee16ae353dbc7ddeca343f7ce2d41b381cdd722dc98d7c9e9f2c43d4ff25f SHA512 681656f87639c1a1893e073738c253d5a0a63c23d8555e59950828c0a3d7ed997b0a70d827aae6e0af6a465a433acd0e82dd921bd12b9df31628f53ea83754a9 |
31 |
-DIST rocm-comgr-3.5.0.tar.gz 89330 BLAKE2B 463b5a7fed9588a87308ef7b8ad52a25000baf53556022b68c666dfd41d9d89877bb392aaf58de947b35bfae74b13ca06ae6f3770ef689c612e31318ebb9d981 SHA512 8f4b702976f31e2221ed0a545ffe028fecb268b3939b8e13b8f321786dc63398e5715ecb1910c0ca671454702dcc3671d518cc458c5a02e8cc63a90d029ca569 |
32 |
DIST rocm-comgr-3.7.0.tar.gz 94875 BLAKE2B 0d6b01360cbdb4a40aab9dadcc56389a3edc11380fe1c39a29a9f3c0356708ae95ce8918bf9d4d4fa46c1a077a2daf99c5bad65906d24ea4948de93e1d4d0280 SHA512 62a08b286313234c4c3226872a410afe9818c829fb3424f4c2a464f759d8d3c6a701de4a89ea21fe6ac2b9620cec0a44c04dd5a793ba30a0537ed3ddf86fff46 |
33 |
|
34 |
diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-2.6.0-find-clang.patch b/dev-libs/rocm-comgr/files/rocm-comgr-2.6.0-find-clang.patch |
35 |
deleted file mode 100644 |
36 |
index dda005ab7a2..00000000000 |
37 |
--- a/dev-libs/rocm-comgr/files/rocm-comgr-2.6.0-find-clang.patch |
38 |
+++ /dev/null |
39 |
@@ -1,26 +0,0 @@ |
40 |
-https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/16 |
41 |
- |
42 |
-From 09eb70afa22e2d6066a5f29888158c6005170ca6 Mon Sep 17 00:00:00 2001 |
43 |
-From: Craig Andrews <candrews@××××××××××××.com> |
44 |
-Date: Wed, 31 Jul 2019 10:13:30 -0400 |
45 |
-Subject: [PATCH] Find Clang avoiding the system (non-ROC) LLVM |
46 |
- |
47 |
-Use NO_DEFAULT_PATH to avoid finding the system (non-ROC) LLVM. |
48 |
-Use /opt/rocm/llvm as an additional hint to be consistent with the build systems of other ROC projects (such as ROCm-OpenCL-Driver) |
49 |
---- |
50 |
- CMakeLists.txt | 2 +- |
51 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
52 |
- |
53 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
54 |
-index 454b830..8642c98 100644 |
55 |
---- a/CMakeLists.txt |
56 |
-+++ b/CMakeLists.txt |
57 |
-@@ -13,7 +13,7 @@ endif() |
58 |
- |
59 |
- project(code_object_manager) |
60 |
- |
61 |
--find_package(Clang REQUIRED CONFIG) |
62 |
-+find_package(Clang REQUIRED CONFIG PATHS ${LLVM_DIR} "/opt/rocm/llvm" NO_DEFAULT_PATH) |
63 |
- add_definitions(${LLVM_DEFINITIONS}) |
64 |
- include_directories(${LLVM_INCLUDE_DIRS}) |
65 |
- link_directories(${LLVM_LIBRARY_DIRS}) |
66 |
|
67 |
diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-2.6.0-find-lld-includes.patch b/dev-libs/rocm-comgr/files/rocm-comgr-2.6.0-find-lld-includes.patch |
68 |
deleted file mode 100644 |
69 |
index 5b44feaf1b3..00000000000 |
70 |
--- a/dev-libs/rocm-comgr/files/rocm-comgr-2.6.0-find-lld-includes.patch |
71 |
+++ /dev/null |
72 |
@@ -1,43 +0,0 @@ |
73 |
-https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/17 |
74 |
- |
75 |
-From 4588c1a5aad3edae9d3e121685d8d1f5fddd54ba Mon Sep 17 00:00:00 2001 |
76 |
-From: Craig Andrews <candrews@××××××××××××.com> |
77 |
-Date: Wed, 31 Jul 2019 10:45:01 -0400 |
78 |
-Subject: [PATCH] Find lld includes in LLVM_INCLUDE_DIRS |
79 |
- |
80 |
-Allows building against an LLVM build tree |
81 |
---- |
82 |
- CMakeLists.txt | 20 ++------------------ |
83 |
- 1 file changed, 2 insertions(+), 18 deletions(-) |
84 |
- |
85 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
86 |
-index 454b830..db28533 100644 |
87 |
---- a/CMakeLists.txt |
88 |
-+++ b/CMakeLists.txt |
89 |
-@@ -19,24 +19,8 @@ include_directories(${LLVM_INCLUDE_DIRS}) |
90 |
- link_directories(${LLVM_LIBRARY_DIRS}) |
91 |
- include_directories(${CLANG_INCLUDE_DIRS}) |
92 |
- |
93 |
--# FIXME: There is no way to directly determine the include paths for LLD when |
94 |
--# working with an LLVM build tree, but we want to avoid having to install LLVM |
95 |
--# to build Comgr. This should eventually be fixed in usptream LLD so this can |
96 |
--# be removed. |
97 |
--if(DEFINED LLVM_BUILD_MAIN_SRC_DIR) |
98 |
-- set(INTERNAL_LLD_INCLUDE_DIRS "${LLVM_BUILD_MAIN_SRC_DIR}/tools/lld/include") |
99 |
-- set(EXTERNAL_LLD_INCLUDE_DIRS "${LLVM_BUILD_MAIN_SRC_DIR}/../lld/include") |
100 |
-- if (EXISTS "${INTERNAL_LLD_INCLUDE_DIRS}" |
101 |
-- AND IS_DIRECTORY "${INTERNAL_LLD_INCLUDE_DIRS}") |
102 |
-- set(LLD_INCLUDE_DIRS "${INTERNAL_LLD_INCLUDE_DIRS}") |
103 |
-- elseif (EXISTS "${EXTERNAL_LLD_INCLUDE_DIRS}" |
104 |
-- AND IS_DIRECTORY "${EXTERNAL_LLD_INCLUDE_DIRS}") |
105 |
-- set(LLD_INCLUDE_DIRS "${EXTERNAL_LLD_INCLUDE_DIRS}") |
106 |
-- else() |
107 |
-- message(FATAL_ERROR "You are attempting to compile using an LLVM build tree, but the LLD include directory could not be located. The paths '${INTERNAL_LLD_INCLUDE_DIRS}' and '${EXTERNAL_LLD_INCLUDE_DIRS}' were tried.") |
108 |
-- endif() |
109 |
-- include_directories(${LLD_INCLUDE_DIRS}) |
110 |
--endif() |
111 |
-+set(LLD_INCLUDE_DIRS "${LLVM_INCLUDE_DIRS}/lld") |
112 |
-+include_directories(${LLD_INCLUDE_DIRS}) |
113 |
- |
114 |
- find_package(AMDDeviceLibs CONFIG) |
115 |
- |
116 |
|
117 |
diff --git a/dev-libs/rocm-comgr/files/rocm-comgr-2.8.0-dependencies.patch b/dev-libs/rocm-comgr/files/rocm-comgr-2.8.0-dependencies.patch |
118 |
deleted file mode 100644 |
119 |
index 3a0af258c05..00000000000 |
120 |
--- a/dev-libs/rocm-comgr/files/rocm-comgr-2.8.0-dependencies.patch |
121 |
+++ /dev/null |
122 |
@@ -1,84 +0,0 @@ |
123 |
-https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/19 |
124 |
- |
125 |
-From 5f872ae4a059ac6a09669e301b8a60b11a25eb42 Mon Sep 17 00:00:00 2001 |
126 |
-From: Craig Andrews <candrews@××××××××××××.com> |
127 |
-Date: Wed, 31 Jul 2019 11:51:17 -0400 |
128 |
-Subject: [PATCH 1/2] Link additional required LLVM libraries |
129 |
- |
130 |
-Without these additional required dependencies, linking fails with errors such as: |
131 |
-`undefined reference to `llvm::errs()'` |
132 |
---- |
133 |
- CMakeLists.txt | 19 +++++++++++++++++-- |
134 |
- 1 file changed, 17 insertions(+), 2 deletions(-) |
135 |
- |
136 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
137 |
-index 454b830..95e5799 100644 |
138 |
---- a/CMakeLists.txt |
139 |
-+++ b/CMakeLists.txt |
140 |
-@@ -185,7 +185,11 @@ add_subdirectory(yaml-cpp EXCLUDE_FROM_ALL) |
141 |
- include_directories(./yaml-cpp/include) |
142 |
- |
143 |
- set(CLANG_LIBS |
144 |
-- clangFrontendTool) |
145 |
-+ clangFrontendTool |
146 |
-+ clangFrontend |
147 |
-+ clangBasic |
148 |
-+ clangDriver |
149 |
-+ clangSerialization) |
150 |
- |
151 |
- set(LLD_LIBS |
152 |
- lldELF |
153 |
-@@ -193,8 +197,19 @@ set(LLD_LIBS |
154 |
- |
155 |
- llvm_map_components_to_libnames(LLVM_LIBS |
156 |
- ${LLVM_TARGETS_TO_BUILD} |
157 |
-+ Option |
158 |
- DebugInfoDWARF |
159 |
-- Symbolize) |
160 |
-+ Symbolize |
161 |
-+ Support |
162 |
-+ Object |
163 |
-+ BitWriter |
164 |
-+ MC |
165 |
-+ MCParser |
166 |
-+ MCDisassembler |
167 |
-+ Core |
168 |
-+ IRReader |
169 |
-+ CodeGen |
170 |
-+ Linker) |
171 |
- |
172 |
- target_link_libraries(amd_comgr |
173 |
- PUBLIC |
174 |
- |
175 |
-From ffc4d18a7ae1fbd5c8807eec4ca8aed043524811 Mon Sep 17 00:00:00 2001 |
176 |
-From: Craig Andrews <candrews@××××××××××××.com> |
177 |
-Date: Mon, 30 Sep 2019 10:52:12 -0400 |
178 |
-Subject: [PATCH 2/2] Link more required LLVM libraries |
179 |
- |
180 |
-Without these additional required dependencies, linking fails with errors such as: |
181 |
-``` |
182 |
-in function `amd_comgr_index_list_metadata': |
183 |
-<artificial>:(.text+0x4d4c): undefined reference to `llvm::msgpack::ArrayDocNode::operator[](unsigned long)' |
184 |
-``` |
185 |
-and |
186 |
-``` |
187 |
-undefined reference to `llvm::msgpack::Document::fromYAML(llvm::StringRef)' |
188 |
-``` |
189 |
---- |
190 |
- CMakeLists.txt | 3 ++- |
191 |
- 1 file changed, 2 insertions(+), 1 deletion(-) |
192 |
- |
193 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
194 |
-index 95e5799..b6123a6 100644 |
195 |
---- a/CMakeLists.txt |
196 |
-+++ b/CMakeLists.txt |
197 |
-@@ -209,7 +209,8 @@ llvm_map_components_to_libnames(LLVM_LIBS |
198 |
- Core |
199 |
- IRReader |
200 |
- CodeGen |
201 |
-- Linker) |
202 |
-+ Linker |
203 |
-+ BinaryFormat) |
204 |
- |
205 |
- target_link_libraries(amd_comgr |
206 |
- PUBLIC |
207 |
|
208 |
diff --git a/dev-libs/rocm-comgr/rocm-comgr-3.0.0.ebuild b/dev-libs/rocm-comgr/rocm-comgr-3.0.0.ebuild |
209 |
deleted file mode 100644 |
210 |
index 4eeaffa1c91..00000000000 |
211 |
--- a/dev-libs/rocm-comgr/rocm-comgr-3.0.0.ebuild |
212 |
+++ /dev/null |
213 |
@@ -1,41 +0,0 @@ |
214 |
-# Copyright 1999-2020 Gentoo Authors |
215 |
-# Distributed under the terms of the GNU General Public License v2 |
216 |
- |
217 |
-EAPI=7 |
218 |
- |
219 |
-inherit cmake |
220 |
- |
221 |
-if [[ ${PV} == *9999 ]] ; then |
222 |
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/" |
223 |
- inherit git-r3 |
224 |
- S="${WORKDIR}/${P}/lib/comgr" |
225 |
-else |
226 |
- SRC_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" |
227 |
- S="${WORKDIR}/ROCm-CompilerSupport-roc-${PV}/lib/comgr" |
228 |
- KEYWORDS="~amd64" |
229 |
-fi |
230 |
-PATCHES=( |
231 |
- "${FILESDIR}/${PN}-2.6.0-find-clang.patch" |
232 |
- "${FILESDIR}/${PN}-2.6.0-find-lld-includes.patch" |
233 |
- "${FILESDIR}/${PN}-2.8.0-dependencies.patch" |
234 |
-) |
235 |
- |
236 |
-DESCRIPTION="Radeon Open Compute Code Object Manager" |
237 |
-HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport" |
238 |
-LICENSE="MIT" |
239 |
-SLOT="0/$(ver_cut 1-2)" |
240 |
- |
241 |
-RDEPEND=">=dev-libs/rocm-device-libs-${PV} |
242 |
- >=sys-devel/llvm-roc-${PV}:=" |
243 |
-DEPEND="${RDEPEND}" |
244 |
- |
245 |
-src_prepare() { |
246 |
- cmake_src_prepare |
247 |
-} |
248 |
- |
249 |
-src_configure() { |
250 |
- local mycmakeargs=( |
251 |
- -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" |
252 |
- ) |
253 |
- cmake_src_configure |
254 |
-} |
255 |
|
256 |
diff --git a/dev-libs/rocm-comgr/rocm-comgr-3.1.0.ebuild b/dev-libs/rocm-comgr/rocm-comgr-3.1.0.ebuild |
257 |
deleted file mode 100644 |
258 |
index 96891e69855..00000000000 |
259 |
--- a/dev-libs/rocm-comgr/rocm-comgr-3.1.0.ebuild |
260 |
+++ /dev/null |
261 |
@@ -1,41 +0,0 @@ |
262 |
-# Copyright 1999-2020 Gentoo Authors |
263 |
-# Distributed under the terms of the GNU General Public License v2 |
264 |
- |
265 |
-EAPI=7 |
266 |
- |
267 |
-inherit cmake |
268 |
- |
269 |
-if [[ ${PV} == *9999 ]] ; then |
270 |
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/" |
271 |
- inherit git-r3 |
272 |
- S="${WORKDIR}/${P}/lib/comgr" |
273 |
-else |
274 |
- SRC_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" |
275 |
- S="${WORKDIR}/ROCm-CompilerSupport-roc-${PV}/lib/comgr" |
276 |
- KEYWORDS="~amd64" |
277 |
-fi |
278 |
-PATCHES=( |
279 |
- "${FILESDIR}/${PN}-2.6.0-find-clang.patch" |
280 |
- "${FILESDIR}/${PN}-2.6.0-find-lld-includes.patch" |
281 |
- "${FILESDIR}/${PN}-3.1.0-dependencies.patch" |
282 |
-) |
283 |
- |
284 |
-DESCRIPTION="Radeon Open Compute Code Object Manager" |
285 |
-HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport" |
286 |
-LICENSE="MIT" |
287 |
-SLOT="0/$(ver_cut 1-2)" |
288 |
- |
289 |
-RDEPEND=">=dev-libs/rocm-device-libs-${PV} |
290 |
- >=sys-devel/llvm-roc-${PV}:=" |
291 |
-DEPEND="${RDEPEND}" |
292 |
- |
293 |
-src_prepare() { |
294 |
- cmake_src_prepare |
295 |
-} |
296 |
- |
297 |
-src_configure() { |
298 |
- local mycmakeargs=( |
299 |
- -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" |
300 |
- ) |
301 |
- cmake_src_configure |
302 |
-} |
303 |
|
304 |
diff --git a/dev-libs/rocm-comgr/rocm-comgr-3.3.0.ebuild b/dev-libs/rocm-comgr/rocm-comgr-3.3.0.ebuild |
305 |
deleted file mode 100644 |
306 |
index 0c08627ebd8..00000000000 |
307 |
--- a/dev-libs/rocm-comgr/rocm-comgr-3.3.0.ebuild |
308 |
+++ /dev/null |
309 |
@@ -1,41 +0,0 @@ |
310 |
-# Copyright 1999-2020 Gentoo Authors |
311 |
-# Distributed under the terms of the GNU General Public License v2 |
312 |
- |
313 |
-EAPI=7 |
314 |
- |
315 |
-inherit cmake |
316 |
- |
317 |
-if [[ ${PV} == *9999 ]] ; then |
318 |
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/" |
319 |
- inherit git-r3 |
320 |
- S="${WORKDIR}/${P}/lib/comgr" |
321 |
-else |
322 |
- SRC_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" |
323 |
- S="${WORKDIR}/ROCm-CompilerSupport-rocm-${PV}/lib/comgr" |
324 |
- KEYWORDS="~amd64" |
325 |
-fi |
326 |
-PATCHES=( |
327 |
- "${FILESDIR}/${PN}-2.6.0-find-clang.patch" |
328 |
- "${FILESDIR}/${PN}-2.6.0-find-lld-includes.patch" |
329 |
- "${FILESDIR}/${PN}-3.1.0-dependencies.patch" |
330 |
-) |
331 |
- |
332 |
-DESCRIPTION="Radeon Open Compute Code Object Manager" |
333 |
-HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport" |
334 |
-LICENSE="MIT" |
335 |
-SLOT="0/$(ver_cut 1-2)" |
336 |
- |
337 |
-RDEPEND=">=dev-libs/rocm-device-libs-${PV} |
338 |
- >=sys-devel/llvm-roc-${PV}:=" |
339 |
-DEPEND="${RDEPEND}" |
340 |
- |
341 |
-src_prepare() { |
342 |
- cmake_src_prepare |
343 |
-} |
344 |
- |
345 |
-src_configure() { |
346 |
- local mycmakeargs=( |
347 |
- -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" |
348 |
- ) |
349 |
- cmake_src_configure |
350 |
-} |
351 |
|
352 |
diff --git a/dev-libs/rocm-comgr/rocm-comgr-3.5.0.ebuild b/dev-libs/rocm-comgr/rocm-comgr-3.5.0.ebuild |
353 |
deleted file mode 100644 |
354 |
index 097011983ea..00000000000 |
355 |
--- a/dev-libs/rocm-comgr/rocm-comgr-3.5.0.ebuild |
356 |
+++ /dev/null |
357 |
@@ -1,41 +0,0 @@ |
358 |
-# Copyright 1999-2020 Gentoo Authors |
359 |
-# Distributed under the terms of the GNU General Public License v2 |
360 |
- |
361 |
-EAPI=7 |
362 |
- |
363 |
-inherit cmake |
364 |
- |
365 |
-if [[ ${PV} == *9999 ]] ; then |
366 |
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/" |
367 |
- inherit git-r3 |
368 |
- S="${WORKDIR}/${P}/lib/comgr" |
369 |
-else |
370 |
- SRC_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" |
371 |
- S="${WORKDIR}/ROCm-CompilerSupport-rocm-${PV}/lib/comgr" |
372 |
- KEYWORDS="~amd64" |
373 |
-fi |
374 |
- |
375 |
-PATCHES=( |
376 |
- "${FILESDIR}/${PN}-3.1.0-dependencies.patch" |
377 |
-) |
378 |
- |
379 |
-DESCRIPTION="Radeon Open Compute Code Object Manager" |
380 |
-HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport" |
381 |
-LICENSE="MIT" |
382 |
-SLOT="0/$(ver_cut 1-2)" |
383 |
- |
384 |
-RDEPEND=">=dev-libs/rocm-device-libs-${PV} |
385 |
- >=sys-devel/llvm-roc-${PV}:=" |
386 |
-DEPEND="${RDEPEND}" |
387 |
- |
388 |
-src_prepare() { |
389 |
- cmake_src_prepare |
390 |
-} |
391 |
- |
392 |
-src_configure() { |
393 |
- local mycmakeargs=( |
394 |
- -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/llvm" |
395 |
- -DClang_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/clang" |
396 |
- ) |
397 |
- cmake_src_configure |
398 |
-} |