summaryrefslogtreecommitdiff
path: root/sys-devel/llvm-roc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-29 18:01:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-29 18:01:47 +0000
commitceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch)
tree9f47ee47c31a0f13f9496879cd88a1042550aa81 /sys-devel/llvm-roc
parent53cba99042fa967e2a93da9f8db806fe2d035543 (diff)
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'sys-devel/llvm-roc')
-rw-r--r--sys-devel/llvm-roc/Manifest14
-rw-r--r--sys-devel/llvm-roc/llvm-roc-2.10.0.ebuild2
-rw-r--r--sys-devel/llvm-roc/llvm-roc-2.6.0-r1.ebuild2
-rw-r--r--sys-devel/llvm-roc/llvm-roc-2.7.0.ebuild2
-rw-r--r--sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild2
-rw-r--r--sys-devel/llvm-roc/llvm-roc-2.9.0.ebuild2
-rw-r--r--sys-devel/llvm-roc/llvm-roc-3.0.0.ebuild2
-rw-r--r--sys-devel/llvm-roc/llvm-roc-3.1.0.ebuild57
8 files changed, 71 insertions, 12 deletions
diff --git a/sys-devel/llvm-roc/Manifest b/sys-devel/llvm-roc/Manifest
index 22953e751361..07d1017ada6a 100644
--- a/sys-devel/llvm-roc/Manifest
+++ b/sys-devel/llvm-roc/Manifest
@@ -15,10 +15,12 @@ DIST llvm-roc-ocl-2.7.0.tar.gz 50008043 BLAKE2B 7cbb6f0e268991bbeae6dd5f38f00ee3
DIST llvm-roc-ocl-2.8.0.tar.gz 50245388 BLAKE2B 29aa4fdb08b5c3ca1ec41f8948b48d4655768632cd07b217e742e32fcfe0e306130697cd18d4c481aec440686464271b380b5a1a7f02bba84ee8cb98c13d2a7f SHA512 51eb98160d556aa0b60fdce95af54f57529e218899874df0a59e583dad5a8fbcad822c3d778668ce0ec4897b28ff3423cde4d55e18719cf4edfb56735cb3d80b
DIST llvm-roc-ocl-2.9.0.tar.gz 50246154 BLAKE2B 5ed8faf4582a41dac3bdc71a9fc6e12e3f70652fe80d4659315589e5c6f6326bc03853cea1d3e7acf6b210dd4c83056bae27aded3e173756d6f7c2c5694ae386 SHA512 e29767bb92bf719b7f3b6d2853dc61d6cb968e3f0dc54714ee6a78ff5340139935ce0d1cf3124c5757d96f93af01e0f9927e72d29a35b84229e44e7a69e6d391
DIST llvm-roc-ocl-3.0.0.tar.gz 117363122 BLAKE2B a85e456e715629fbb3349e13e50a62aee7c82c6479127d7e46ff2de13f0eab108dd0332136aa736c30ed46c1563207b7ab22df0f7f53404315d51f0a172b5e86 SHA512 7d1281fc1628e4e88ddd740ccf03107cdccf86178046dfe79efd6b503193b3be4e23a67363f24f1d6250a156da86fe0d93933d9c67510b755d1e454e7bbedb68
-EBUILD llvm-roc-2.10.0.ebuild 1407 BLAKE2B 67562a4c9726f8292bb5a024ad3185bb3e5f566ab84f88510dba104cf9e2ff1359d1838a7991faaba5ef2b3efd43121721ff34485ea406f9ab2bd1c0aa30148f SHA512 2312d52349790e34175987b38c07d538e4b6b664b9c4e604e21d2b5f16b27a9951afc61a608fb6eb69b118e62acf8885e8f9605be92c1a529775485305442124
-EBUILD llvm-roc-2.6.0-r1.ebuild 1379 BLAKE2B f603d7341716cbad59e67a0b7da2df943873421478ab70f600a731d072e64f921104549c25ba1fe14258f38fac2f4e1455a413e284126812af457edf925e83c7 SHA512 25900bf266638892aacecf10f479772fdfcdb56b8f3841c84cd727414cadc6f072e779863f82b0b9521d81491e1d23574aeb323d370c44fd2431b4c9e540a4fb
-EBUILD llvm-roc-2.7.0.ebuild 1407 BLAKE2B 67562a4c9726f8292bb5a024ad3185bb3e5f566ab84f88510dba104cf9e2ff1359d1838a7991faaba5ef2b3efd43121721ff34485ea406f9ab2bd1c0aa30148f SHA512 2312d52349790e34175987b38c07d538e4b6b664b9c4e604e21d2b5f16b27a9951afc61a608fb6eb69b118e62acf8885e8f9605be92c1a529775485305442124
-EBUILD llvm-roc-2.8.0.ebuild 1407 BLAKE2B 67562a4c9726f8292bb5a024ad3185bb3e5f566ab84f88510dba104cf9e2ff1359d1838a7991faaba5ef2b3efd43121721ff34485ea406f9ab2bd1c0aa30148f SHA512 2312d52349790e34175987b38c07d538e4b6b664b9c4e604e21d2b5f16b27a9951afc61a608fb6eb69b118e62acf8885e8f9605be92c1a529775485305442124
-EBUILD llvm-roc-2.9.0.ebuild 1407 BLAKE2B 67562a4c9726f8292bb5a024ad3185bb3e5f566ab84f88510dba104cf9e2ff1359d1838a7991faaba5ef2b3efd43121721ff34485ea406f9ab2bd1c0aa30148f SHA512 2312d52349790e34175987b38c07d538e4b6b664b9c4e604e21d2b5f16b27a9951afc61a608fb6eb69b118e62acf8885e8f9605be92c1a529775485305442124
-EBUILD llvm-roc-3.0.0.ebuild 1278 BLAKE2B 9d63a1aa30aea258221d158e2cdc819257d25e1bfc61a08cacbcb9561f6532f5e8d819cc73feb3e1fe78c344ce7f652c9d6c4aa7db38a70f93eb92c4a24fb886 SHA512 4ac077836443700872d61d65cf9299417c652b27a9f74177926dbb814f92235827069b51f6be9af06059e4ef2fc5e5e77c66455577a03f105968cf219cb41e27
+DIST llvm-roc-ocl-3.1.0.tar.gz 120981974 BLAKE2B cbefc7b087c8df81ee093aeebff292c652dc29f37ee5bcf9ef891130c52bf93b3b735f1aa746fd1ec5e5e86c879d73ffa6f9df074f27b31799ef701206a7ea32 SHA512 bc6eb441f655f3b9cb13161fb731e592295a156e7d7bd0a38e4d3017bac90852d2ef64980c70889939ae082c9d1523af25d82ec2221415bbae0d01201d20ec57
+EBUILD llvm-roc-2.10.0.ebuild 1408 BLAKE2B 403c92548945befa4f863b45432096e19ce5e382a4f7b12ec8d178551e00e47e05d28ef46b8ad930fd01cfa3a052ca4947de59bb69ed3c54fdd76133c0e42fd2 SHA512 3fd04264ec0a05f28661cf63d7b2dd63824c41a9c4e8ed5b209f94ab1a816b8cf6968c1c70cad8dc4a2d34811baf8971116aa99aebe7f14481ee22ae5039ebfe
+EBUILD llvm-roc-2.6.0-r1.ebuild 1380 BLAKE2B 76af5352a82861b2ee0d95f1d3d2d8025af747523f36ef847bb03e77aa8b4aa3932dda9f57d525265eb39cfaafa9e8a7c5fe3b106875bfd3090f5627e7d55c96 SHA512 4fbb8add4966a700e31e4774665b4a8a583b5fb2a09bdac395ed0ccd19b4726d36e7c84a0d3bc571e846abdd282f7cd8b06c50a127a5d31346b99c689adcdd45
+EBUILD llvm-roc-2.7.0.ebuild 1408 BLAKE2B 403c92548945befa4f863b45432096e19ce5e382a4f7b12ec8d178551e00e47e05d28ef46b8ad930fd01cfa3a052ca4947de59bb69ed3c54fdd76133c0e42fd2 SHA512 3fd04264ec0a05f28661cf63d7b2dd63824c41a9c4e8ed5b209f94ab1a816b8cf6968c1c70cad8dc4a2d34811baf8971116aa99aebe7f14481ee22ae5039ebfe
+EBUILD llvm-roc-2.8.0.ebuild 1408 BLAKE2B 403c92548945befa4f863b45432096e19ce5e382a4f7b12ec8d178551e00e47e05d28ef46b8ad930fd01cfa3a052ca4947de59bb69ed3c54fdd76133c0e42fd2 SHA512 3fd04264ec0a05f28661cf63d7b2dd63824c41a9c4e8ed5b209f94ab1a816b8cf6968c1c70cad8dc4a2d34811baf8971116aa99aebe7f14481ee22ae5039ebfe
+EBUILD llvm-roc-2.9.0.ebuild 1408 BLAKE2B 403c92548945befa4f863b45432096e19ce5e382a4f7b12ec8d178551e00e47e05d28ef46b8ad930fd01cfa3a052ca4947de59bb69ed3c54fdd76133c0e42fd2 SHA512 3fd04264ec0a05f28661cf63d7b2dd63824c41a9c4e8ed5b209f94ab1a816b8cf6968c1c70cad8dc4a2d34811baf8971116aa99aebe7f14481ee22ae5039ebfe
+EBUILD llvm-roc-3.0.0.ebuild 1279 BLAKE2B 60660c178d5b92e46b877277552b4ba19d529949db56a5aa183d8dbe6686e9d5d51f6b69f0901670f9d6a87003d9650acd042d769b342b1c5066237e2c207327 SHA512 a5030ed80293ed444f5628d2148a49f239634e69913533813e71da0b61d3a876576cd13ce1bfc127d500e475c7961d8f9a6aca42a87589f6931fab028a3c7dc1
+EBUILD llvm-roc-3.1.0.ebuild 1286 BLAKE2B 9349a3432f62a8884ad2105cfd1e82b942239e69be369814447ae56a26b42f2893c915acdf020dabfb0c25df12f83bd52d81041ca1f58964f7328e01efbf4c8f SHA512 e9635742f05bb43a3aebf2b12c161c6beb18f727c9573fa7a32ccc39c7d977fe4a2c65e17e70ddb9699e89d5a5f10f301e8a984389eadb1aa431c72591d88c73
MISC metadata.xml 469 BLAKE2B f2b3af990bf9b130ed1be4ad2c4da5a97f6eae74d5feb43d81b4dc90ca1c5dcf896b293ad60d1c932d0c64773c203c52ccca8a6e0e5dd1d614f97b53113146db SHA512 e3783dde65d914cc272478c2d1823de27a2daaf8fa3aa2d281b98b0ed707c758bce1d52326dda577baed5b127293fca435211cfee17cc43553b9be424a4e2348
diff --git a/sys-devel/llvm-roc/llvm-roc-2.10.0.ebuild b/sys-devel/llvm-roc/llvm-roc-2.10.0.ebuild
index 323743a293f0..fc105c396a8b 100644
--- a/sys-devel/llvm-roc/llvm-roc-2.10.0.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-2.10.0.ebuild
@@ -44,7 +44,7 @@ src_configure() {
)
cmake_src_configure
}
-src_install(){
+src_install() {
cmake_src_install
cat > "99${PN}" <<-EOF
LDPATH="${EROOT}/usr/lib/llvm/roc/lib"
diff --git a/sys-devel/llvm-roc/llvm-roc-2.6.0-r1.ebuild b/sys-devel/llvm-roc/llvm-roc-2.6.0-r1.ebuild
index 51448982dab6..2ee101233e29 100644
--- a/sys-devel/llvm-roc/llvm-roc-2.6.0-r1.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-2.6.0-r1.ebuild
@@ -43,7 +43,7 @@ src_configure() {
)
cmake_src_configure
}
-src_install(){
+src_install() {
cmake_src_install
cat > "99${PN}" <<-EOF
LDPATH="${EROOT}/usr/lib/llvm/roc/lib"
diff --git a/sys-devel/llvm-roc/llvm-roc-2.7.0.ebuild b/sys-devel/llvm-roc/llvm-roc-2.7.0.ebuild
index 323743a293f0..fc105c396a8b 100644
--- a/sys-devel/llvm-roc/llvm-roc-2.7.0.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-2.7.0.ebuild
@@ -44,7 +44,7 @@ src_configure() {
)
cmake_src_configure
}
-src_install(){
+src_install() {
cmake_src_install
cat > "99${PN}" <<-EOF
LDPATH="${EROOT}/usr/lib/llvm/roc/lib"
diff --git a/sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild b/sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild
index 323743a293f0..fc105c396a8b 100644
--- a/sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild
@@ -44,7 +44,7 @@ src_configure() {
)
cmake_src_configure
}
-src_install(){
+src_install() {
cmake_src_install
cat > "99${PN}" <<-EOF
LDPATH="${EROOT}/usr/lib/llvm/roc/lib"
diff --git a/sys-devel/llvm-roc/llvm-roc-2.9.0.ebuild b/sys-devel/llvm-roc/llvm-roc-2.9.0.ebuild
index 323743a293f0..fc105c396a8b 100644
--- a/sys-devel/llvm-roc/llvm-roc-2.9.0.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-2.9.0.ebuild
@@ -44,7 +44,7 @@ src_configure() {
)
cmake_src_configure
}
-src_install(){
+src_install() {
cmake_src_install
cat > "99${PN}" <<-EOF
LDPATH="${EROOT}/usr/lib/llvm/roc/lib"
diff --git a/sys-devel/llvm-roc/llvm-roc-3.0.0.ebuild b/sys-devel/llvm-roc/llvm-roc-3.0.0.ebuild
index 18cde0198c04..8035d829e5b1 100644
--- a/sys-devel/llvm-roc/llvm-roc-3.0.0.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-3.0.0.ebuild
@@ -48,7 +48,7 @@ src_configure() {
cmake_src_configure
}
-src_install(){
+src_install() {
cmake_src_install
cat > "99${PN}" <<-EOF
LDPATH="${EROOT}/usr/lib/llvm/roc/lib"
diff --git a/sys-devel/llvm-roc/llvm-roc-3.1.0.ebuild b/sys-devel/llvm-roc/llvm-roc-3.1.0.ebuild
new file mode 100644
index 000000000000..89f299744f5c
--- /dev/null
+++ b/sys-devel/llvm-roc/llvm-roc-3.1.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Radeon Open Compute llvm,lld,clang"
+HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm/"
+SRC_URI="https://github.com/RadeonOpenCompute/llvm-project/archive/roc-ocl-${PV}.tar.gz -> llvm-roc-ocl-${PV}.tar.gz"
+
+LICENSE="UoI-NCSA rc BSD public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+RDEPEND="virtual/cblas
+ dev-libs/rocr-runtime"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/llvm-project-roc-ocl-${PV}/llvm"
+
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+src_prepare() {
+ cd "${WORKDIR}/llvm-project-roc-ocl-${PV}"
+ eapply "${FILESDIR}/${PN}-3.0.0-add_libraries.patch"
+ eapply_user
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/roc"
+ -DLLVM_ENABLE_PROJECTS="clang;lld"
+ -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86"
+ -DLLVM_BUILD_DOCS=NO
+ -DLLVM_ENABLE_OCAMLDOC=OFF
+ -DLLVM_ENABLE_SPHINX=NO
+ -DLLVM_ENABLE_DOXYGEN=OFF
+ -DLLVM_INSTALL_UTILS=ON
+ -DLLVM_VERSION_SUFFIX=roc
+ -DOCAMLFIND=NO
+ )
+
+ use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ cat > "99${PN}" <<-EOF
+ LDPATH="${EROOT}/usr/lib/llvm/roc/lib"
+ EOF
+ doenvd "99${PN}"
+}