1 |
commit: 6e6cc550040b2394eca5ad76e8e322165ba8577e |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 14 00:59:46 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 14 20:54:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e6cc550 |
7 |
|
8 |
dev-libs/rocm-comgr: 2.7.0 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
12 |
|
13 |
dev-libs/rocm-comgr/Manifest | 1 + |
14 |
dev-libs/rocm-comgr/rocm-comgr-2.7.0.ebuild | 46 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/rocm-comgr/Manifest b/dev-libs/rocm-comgr/Manifest |
18 |
index 8e7150e7fd2..0133d5015d7 100644 |
19 |
--- a/dev-libs/rocm-comgr/Manifest |
20 |
+++ b/dev-libs/rocm-comgr/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST rocm-comgr-2.6.0.tar.gz 1484343 BLAKE2B fcb496b4997d672640e3f75622e74085eeb9dfe83c88ae025530389d3cdca7628155168060e71f7a3ff915e933ffe70c7026720dc124d128d16ef4df397525e7 SHA512 b14e90603d2b6e17f6b0335ea35da2e5d7e31710f301d7a7f7751a45d996e3dbbfbf84a03e2e911e8798e72e77b87b5cd88317e897cb4de3ee5cf0e7c3222d68 |
23 |
+DIST rocm-comgr-2.7.0.tar.gz 1500771 BLAKE2B 275ad4cab34d554f8a131101eda474926f7270a44a0af9941d8f1233c29b44b3efb3ba83c6b541d501a3e2fc751c591c0f6a993563bbacf539b5bcd04b23963b SHA512 afb4a7318c2e137db6ac0502041ed53e63783ec1ab458962b1b16f0f2f28e09ce2ae70d048b858740eca8bf06328858400a68bed4e91d7cfc4b7714a66d85bc9 |
24 |
|
25 |
diff --git a/dev-libs/rocm-comgr/rocm-comgr-2.7.0.ebuild b/dev-libs/rocm-comgr/rocm-comgr-2.7.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..17cde649143 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/rocm-comgr/rocm-comgr-2.7.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit cmake-utils |
37 |
+ |
38 |
+if [[ ${PV} == *9999 ]] ; then |
39 |
+ EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/" |
40 |
+ inherit git-r3 |
41 |
+ S="${WORKDIR}/${P}/lib/comgr" |
42 |
+else |
43 |
+ SRC_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ S="${WORKDIR}/ROCm-CompilerSupport-roc-${PV}/lib/comgr" |
45 |
+ KEYWORDS="~amd64" |
46 |
+fi |
47 |
+PATCHES=( |
48 |
+ "${FILESDIR}/${PN}-2.6.0-correctly-install.patch" |
49 |
+ "${FILESDIR}/${PN}-2.6.0-find-clang.patch" |
50 |
+ "${FILESDIR}/${PN}-2.6.0-find-lld-includes.patch" |
51 |
+ "${FILESDIR}/${PN}-2.6.0-dependencies.patch" |
52 |
+ "${FILESDIR}/${PN}-2.6.0-unbundle-yaml-cpp.patch" |
53 |
+) |
54 |
+ |
55 |
+DESCRIPTION="Radeon Open Compute Code Object Manager" |
56 |
+HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport" |
57 |
+LICENSE="MIT" |
58 |
+SLOT="0/$(ver_cut 1-2)" |
59 |
+ |
60 |
+RDEPEND=">=dev-libs/rocm-device-libs-${PV} |
61 |
+ dev-cpp/yaml-cpp:= |
62 |
+ >=sys-devel/llvm-roc-${PV}:=" |
63 |
+DEPEND="${RDEPEND}" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ rm -rf yaml-cpp || die |
67 |
+ cmake-utils_src_prepare |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local mycmakeargs=( |
72 |
+ -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" |
73 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" |
74 |
+ ) |
75 |
+ cmake-utils_src_configure |
76 |
+} |