summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfried Holzke <gentoo@holzke.net>2020-08-23 00:15:51 +0200
committerCraig Andrews <candrews@gentoo.org>2020-08-22 18:09:52 -0400
commitc144c847191579ec62eae7adc0730f559d22b016 (patch)
tree9a41c802c5250cf14b0c073c0061ed726817c16a
parentdev-haskell/bytes: bump up to 0.17 (diff)
downloadgentoo-c144c847191579ec62eae7adc0730f559d22b016.tar.gz
gentoo-c144c847191579ec62eae7adc0730f559d22b016.tar.bz2
gentoo-c144c847191579ec62eae7adc0730f559d22b016.zip
dev-libs/rocclr: Version bump to 3.7.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net> Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://github.com/gentoo/gentoo/pull/17219 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--dev-libs/rocclr/Manifest2
-rw-r--r--dev-libs/rocclr/files/rocclr-3.7.0-cmake-install-destination.patch52
-rw-r--r--dev-libs/rocclr/rocclr-3.7.0.ebuild36
3 files changed, 90 insertions, 0 deletions
diff --git a/dev-libs/rocclr/Manifest b/dev-libs/rocclr/Manifest
index d0db694a40de..db1461ad805f 100644
--- a/dev-libs/rocclr/Manifest
+++ b/dev-libs/rocclr/Manifest
@@ -1,2 +1,4 @@
DIST rocclr-3.5.0.tar.gz 874139 BLAKE2B 027403d51c86aa492c0951f8d75bd90493fc0fbe99987e9f443a9fa0b86fc69335a4a6625b5af67231b99c9e0b0adbd914e11369fb2a2b1acb3b5254e475b09f SHA512 732c439f900896c0e065b64054a789edbc0258a0e53723077e578b99bd59925517b201c31a428389cc0dbd100051df8344378aee4a0c2c294110ad9bcf1a3098
+DIST rocclr-3.7.0.tar.gz 881814 BLAKE2B 5d7c70d52d8c06e421bdf2a02dba35ed70509c9154fbe3b8c3193969b37970d5f52d1a67eff46abe95b8af1932f2c6931b18380d046f633a3870fe95c4bfc651 SHA512 8684cc9b4f9f63ef65bcc286b74c51e3f7d334f0245b5a1fca6d3dfa0bb552fccb6b82419b538aebe1d316aa2c41a28a9a21df459b734aa44923d66d725834e1
DIST rocm-opencl-runtime-3.5.0.tar.gz 734076 BLAKE2B cc6992999188968c628b378f637c8073c99381fab42e05d7d9d89d75fe9f2bd3d573f61f00a18c078542f7fc4a3a856385d0f34fa9bb599dd63de8be18594bdf SHA512 658649c3f13d32308f8f031f26b62c20bda4841059b5ea0db5c6a827af26b07aa0bdee07a461cc4b3c37108b3f25ae59b1658fab30125f84c0729fb57c2fa014
+DIST rocm-opencl-runtime-3.7.0.tar.gz 1004361 BLAKE2B 7fa9481c77884dda15a3b0335449b2879fbac000f644fc56bbd8d06c5fd77d8355f159b9b7e8920f06351e388d0df41379b7e1fcff51cf81714a28f902218e42 SHA512 6ea509dde0290f13e66497eaad587099ed6a98df967adce207afc857ecd961b65801332ca74e36173719488639480cfcffc625a007345d0e48c10c8a0efdfa3f
diff --git a/dev-libs/rocclr/files/rocclr-3.7.0-cmake-install-destination.patch b/dev-libs/rocclr/files/rocclr-3.7.0-cmake-install-destination.patch
new file mode 100644
index 000000000000..3629fc71b3b3
--- /dev/null
+++ b/dev-libs/rocclr/files/rocclr-3.7.0-cmake-install-destination.patch
@@ -0,0 +1,52 @@
+--- a/CMakeLists.txt 2020-08-22 23:59:26.674785914 +0200
++++ b/CMakeLists.txt 2020-08-23 00:01:18.491783097 +0200
+@@ -253,8 +253,8 @@
+
+ install( TARGETS amdrocclr_static
+ EXPORT rocclr
+- ARCHIVE DESTINATION lib
+- LIBRARY DESTINATION lib
++ ARCHIVE DESTINATION lib64
++ LIBRARY DESTINATION lib64
+ COMPONENT applications)
+
+ install (
+@@ -262,31 +262,31 @@
+ DESTINATION include)
+ install (
+ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/elf"
+- DESTINATION include
++ DESTINATION include/rocclr
+ FILES_MATCHING PATTERN "*.h*")
+ install (
+ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/compiler"
+- DESTINATION include
++ DESTINATION include/rocclr
+ FILES_MATCHING PATTERN "*.h*")
+ install (
+ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/utils"
+- DESTINATION include
++ DESTINATION include/rocclr
+ FILES_MATCHING PATTERN "*.h*")
+ install (
+ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/platform"
+- DESTINATION include
++ DESTINATION include/rocclr
+ FILES_MATCHING PATTERN "*.h*")
+ install (
+ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/thread"
+- DESTINATION include
++ DESTINATION include/rocclr
+ FILES_MATCHING PATTERN "*.h*")
+ install (
+ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/os"
+- DESTINATION include
++ DESTINATION include/rocclr
+ FILES_MATCHING PATTERN "*.h*")
+ install (
+ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/device"
+- DESTINATION include
++ DESTINATION include/rocclr
+ FILES_MATCHING PATTERN "*.h*")
+
+ # Generate the install-tree package.
diff --git a/dev-libs/rocclr/rocclr-3.7.0.ebuild b/dev-libs/rocclr/rocclr-3.7.0.ebuild
new file mode 100644
index 000000000000..13316648b27a
--- /dev/null
+++ b/dev-libs/rocclr/rocclr-3.7.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Radeon Open Compute Common Language Runtime"
+HOMEPAGE="https://github.com/ROCm-Developer-Tools/ROCclr"
+SRC_URI="https://github.com/ROCm-Developer-Tools/ROCclr/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-${PV}.tar.gz -> rocm-opencl-runtime-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-libs/rocm-comgr-${PV}"
+DEPEND="${RDEPEND}
+ >=dev-libs/rocm-comgr-${PV}
+ virtual/opengl
+ >=dev-util/rocm-cmake-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/rocclr-3.7.0-cmake-install-destination.patch"
+)
+
+S="${WORKDIR}/ROCclr-rocm-${PV}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_COMGR_LIBRARY=YES
+ -DOPENCL_DIR="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}"
+ -DCMAKE_INSTALL_PREFIX="/usr"
+ )
+ cmake_src_configure
+}