diff options
Diffstat (limited to 'dev-libs/rocm-opencl-driver')
-rw-r--r-- | dev-libs/rocm-opencl-driver/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild | 46 | ||||
-rw-r--r-- | dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild | 46 |
3 files changed, 96 insertions, 0 deletions
diff --git a/dev-libs/rocm-opencl-driver/Manifest b/dev-libs/rocm-opencl-driver/Manifest index df80a46b2355..fff320e0602c 100644 --- a/dev-libs/rocm-opencl-driver/Manifest +++ b/dev-libs/rocm-opencl-driver/Manifest @@ -3,6 +3,10 @@ AUX rocm-opencl-driver-2.6.0-install-header.patch 828 BLAKE2B 5640501a48f6d8552e AUX rocm-opencl-driver-2.7.0-libraries.patch 1062 BLAKE2B 9c95bf1928542e0eccaec1927ed6bfb3d81624e29c4bc1873ade263312f5f97c896d6d19922d471c99fbb7eef3e5e7aca2f06a73ac0ed1b475386e5807f9c893 SHA512 3f490d80d08e8ffc7b843dbe33425240820eadc66973e148aca38aadc82c39e80b0e22f2937bff3b0e95cc53f73bf2ffa4fc50c80ba755b251d83e95275c8194 DIST rocm-opencl-driver-2.6.0.tar.gz 21311 BLAKE2B f17219b577ccd58de052d5936953fd78588a0b042ce002853b10c05e6f6d433edcd90045c15dcd2f2c31ccef89f8b420ef756a1dd1613702efcc8868163878d1 SHA512 7b8bf646d9a36b09d75a0408301c2f1771daad95b8075b1671ca0c8b1f5826e8cd9de8935946858268dc89863a0ee054b4dde3040c84dd37e90f28c7ffa6e097 DIST rocm-opencl-driver-2.7.0.tar.gz 21312 BLAKE2B 8c7233e8c5de2d92d0604a832475a474e5a171853f435908dbe73ab41d077f9f4c2d7069546b4e660d900c02cccf1f77d85d2fbe5ddb52fdde4c32d6c26910a2 SHA512 ee14bbbf502ffc00fd9e1e04224ae8109c8603d44438cddde8951c2d2caf5d45b94d39eb184af66462b4029759064aab0e2312b44fdd3f925064ebe6097ac49b +DIST rocm-opencl-driver-2.8.0.tar.gz 21345 BLAKE2B 91ecfaf145cb4c9cc9407ca79d90fc480d25b0d2afd1b0ed7c5af7d970ed729255c7ca0a27a5729640d4ea42a2ce2450fdf5eb92aa124ad95340afea185dcf16 SHA512 d610f0e50714efa159440001a67ec7589fbd366fde953e9c789a737875dcd82a8c30fcefc3825467c1e5db7c53bcc26eb9658f2f71662acd5e021ef117ddf336 +DIST rocm-opencl-driver-2.9.0.tar.gz 21351 BLAKE2B 341e0e648f28740695dd16dc4039c1f800b3225af96a407594ce200fd6f7ff74278a8e80c44b83218cfd9fe76b33ca3b5ab0d3ef4b69156c88a6c063ce650bc0 SHA512 87a304b0864f5d0a09aff0f355d62ccbe3ea2c46f462da7acaec138d013b5e9e1f92d97afb81c86768184e05a26f3dd43d0a63cbdab3a651b410fb8c71bb1882 EBUILD rocm-opencl-driver-2.6.0.ebuild 1166 BLAKE2B 4e94bb069a67cd2e0e4dfed81fd46cd331b980b5c2d615932adf988be6708f8d27a000672b81b00c34cc29ce2660aa71f0960bb716c43d1d1dc824c7e3f1b0d5 SHA512 ad72eef3737a65c333d26539150271d82a1ce31618d345c9b9acd485a72948e291ccd147985323ad724544efe9298e4369037213410565f5a37514aedbafe5f1 EBUILD rocm-opencl-driver-2.7.0.ebuild 1239 BLAKE2B bb47e63fe59633acb288b90836bbd7c2e0d5260c72ccbfb75af8add555fe2c5a82a340629870545cd42359d122d1b347d0458ef265e645e3746b1ce5e7cf4109 SHA512 08ded2734804e22d9fcd86426335c912cae6f9e43f78cf73d136f6e9bfe7989a5db013522d7a379f510f3975a9149a97fd0af819a1aa5f9b786ea2078454d1de +EBUILD rocm-opencl-driver-2.8.0.ebuild 1188 BLAKE2B 791c36c25e19d5e67db7df791679b18c83cc2f2f6fbf5930a495e69e07038269ccfd7b96802ac868017c3706a9d51a590250d5fdedf05066c92fc088be71e0af SHA512 9c11c091ca9d0344c08befc2afffb12be30bb465c595210bded99b4fdb738aee4b9abee0a4eb494692ded702d24ea8cd7eae6d101d83fa824b9db72a6a41cf6f +EBUILD rocm-opencl-driver-2.9.0.ebuild 1188 BLAKE2B 791c36c25e19d5e67db7df791679b18c83cc2f2f6fbf5930a495e69e07038269ccfd7b96802ac868017c3706a9d51a590250d5fdedf05066c92fc088be71e0af SHA512 9c11c091ca9d0344c08befc2afffb12be30bb465c595210bded99b4fdb738aee4b9abee0a4eb494692ded702d24ea8cd7eae6d101d83fa824b9db72a6a41cf6f MISC metadata.xml 489 BLAKE2B d989103f6ed0e6a7406558565a5d0453046f640fbef964eb84e51fc911dac4bcc57bc3f1c5222bb5f6d2fb6d10a7f83b4172161070029b0d537b475ef8473f04 SHA512 3bfb9c1ed4cd559aefaf7a74567daf0952359a9fa3e703f1dfaac48d9bb7a25d134afe16e7509c28dff8a5cdabe09870d8f541898756c028b5c5996577956f0a diff --git a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild new file mode 100644 index 000000000000..31cc476dd0d3 --- /dev/null +++ b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.8.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/" + inherit git-r3 +else + SRC_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCm-OpenCL-Driver-roc-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute OpenCL Compiler Tool Driver" +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +IUSE="test" + +RDEPEND=">=sys-devel/llvm-roc-${PV}:= + >=dev-libs/rocr-runtime-${PV}" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.6.0-install-header.patch" + "${FILESDIR}/${PN}-2.7.0-libraries.patch" +) + +src_prepare() { + # remove unittest, because it downloads additional file from github.com + sed -e "s:add_subdirectory(src/unittest):#add_subdirectory(src/unittest):" -i CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" + ) + cmake-utils_src_configure +} diff --git a/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild new file mode 100644 index 000000000000..31cc476dd0d3 --- /dev/null +++ b/dev-libs/rocm-opencl-driver/rocm-opencl-driver-2.9.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/" + inherit git-r3 +else + SRC_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCm-OpenCL-Driver-roc-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute OpenCL Compiler Tool Driver" +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +IUSE="test" + +RDEPEND=">=sys-devel/llvm-roc-${PV}:= + >=dev-libs/rocr-runtime-${PV}" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.6.0-install-header.patch" + "${FILESDIR}/${PN}-2.7.0-libraries.patch" +) + +src_prepare() { + # remove unittest, because it downloads additional file from github.com + sed -e "s:add_subdirectory(src/unittest):#add_subdirectory(src/unittest):" -i CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" + ) + cmake-utils_src_configure +} |