diff options
author | Craig Andrews <candrews@gentoo.org> | 2019-09-25 10:40:42 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-09-25 14:14:17 -0400 |
commit | fe9e74ee79e8382cec1362eecf6bf4532a621578 (patch) | |
tree | 5a7efdaa16bc1c166ea032dd8fc0c518add70bba /sys-devel/llvm-roc | |
parent | thirdpartymirrors: Remove unused 'postgresql' mirror (diff) | |
download | gentoo-fe9e74ee79e8382cec1362eecf6bf4532a621578.tar.gz gentoo-fe9e74ee79e8382cec1362eecf6bf4532a621578.tar.bz2 gentoo-fe9e74ee79e8382cec1362eecf6bf4532a621578.zip |
sys-devel/llvm-roc: 2.8.0 version bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'sys-devel/llvm-roc')
-rw-r--r-- | sys-devel/llvm-roc/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild | 53 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-devel/llvm-roc/Manifest b/sys-devel/llvm-roc/Manifest index ba07001152fd..df076352fda2 100644 --- a/sys-devel/llvm-roc/Manifest +++ b/sys-devel/llvm-roc/Manifest @@ -1,6 +1,9 @@ DIST clang-roc-2.6.0.tar.gz 18831605 BLAKE2B c54b811afc57d42b32e6c38ef219eb8a1bdba47f2a58505249bf5057708c6873b28387c1fa05a8a6c1bfb02cb71b4ca96e69a72d9f0cc03bb393fa1033d86a41 SHA512 41a3595961eb4b57ac8b2d7483f53628ffe5f064a40a7331fbfa1daad2f1491e1062a1189a15a00586341fdeb73978db67c058a23e00982d32b987cc41a63b43 DIST clang-roc-2.7.0.tar.gz 19030674 BLAKE2B 10c1a3982382edd3515d1dc342d352af3ef0807c92ec2e51740c5e7053df56acc9c467a3e1efc587df4d17852d3e1a9f0d183a5bede54339c2a67ff894b106a2 SHA512 c32b716ef0ef7c8b775b8d1cc65bb4d1b2c9daf9da7dc6a587affa303411923fe955aa6d4355a5ed0adb2d347eb333cf009d02384b00dd4e329008f9a1ffd249 +DIST clang-roc-2.8.0.tar.gz 19169198 BLAKE2B 94056fc7cf0ee07f921b9f92bea2844409d4ebd5b6069320dc465ee626695f3bbdf5a7194ba562df8f1c69e2c95461eb6047a6d28e57f881bcaef4cde7a95eed SHA512 b8b7d2172d075298c44f238b26231b5744a9d303115e791f24eb273b719df54673e76dbafe596623d60d8a72a7d4b0f5ca7167f061c7e235f0ceb4b7e18bfb95 DIST lld-roc-ocl-2.6.0.tar.gz 1508227 BLAKE2B 39182669e38ec21cdd30f180981631abfa55c1ddc9f923e44f251a12e27da55409d7dfebd454b2706c88ebc0259455020fbe5db8d3543a353810bacde2396104 SHA512 19f300760be83c165a03ff2d48b014b3bcb3f7703c9430c3146b964e23ae30ea07ff579402bdce613e995004b063bced7329719e801c585e6e885b0ab473ce8a DIST lld-roc-ocl-2.7.0.tar.gz 1533671 BLAKE2B 089cfbc3b68bd6192d6672b60fdb499dd117beb2f407c3af0e979dd9a84203212a19b30c43ae3e495abba8c36f4c3f556af72464a75291484231d418bc7a2897 SHA512 ad880efcfc08f767fb86614d826b58ed575fdf173d7b809d31ea84a9abfd12f7f60da719b5ecb8461b792693d9c3d6cbfefe902f2d2e34d062c88d1b3b7d6c79 +DIST lld-roc-ocl-2.8.0.tar.gz 1542424 BLAKE2B 3c7e11c6de2a6915a975a9e370380e0812f1dd02230ce1c3035c4664e6a6bb8093c2ddc2c6878c75761060ee1e7d4e1f6f11c09a496482132352d4e4304ad1f5 SHA512 6f4a7b9786ff76bb054446d09835611927ce366d1d0e6bd037b3b373afaba2e26e743c1f6a99234474fcbe97fa1c5f5379fe887a5b0ce5b346ebd96ccd1d732a DIST llvm-roc-ocl-2.6.0.tar.gz 48417665 BLAKE2B 9b7ff7cc57d98b2076994d3a5585563430fdad5975b89459aea34d585adf330d3d49d2ef611a70fd546878d84bc64d2c196dbf9f19e78ab2b4a5e63266ffb2d3 SHA512 89d5c97b8bf97242d72176768f8d12b218ab258fff9d154e3c3ff382b5563c2d6997ee5cf145e5f2c34e2cf4f9dd268906750a014a874a2038683ef5f173b872 DIST llvm-roc-ocl-2.7.0.tar.gz 50008043 BLAKE2B 7cbb6f0e268991bbeae6dd5f38f00ee35a3d04f563212a6a3c32676574668ca84e44ae5acc14d1a77ea6985e70b47a0faff86d86521fb3a7375aa58a043d65ec SHA512 ae1547d1547345be56f547c59a6ddd09e68bb1eaea1f3c8eb4911dee1f2616b43384a296a2e2754bf2a833ef4906da4463820e4fe734c3bcfd7a602ef3c2de17 +DIST llvm-roc-ocl-2.8.0.tar.gz 50245388 BLAKE2B 29aa4fdb08b5c3ca1ec41f8948b48d4655768632cd07b217e742e32fcfe0e306130697cd18d4c481aec440686464271b380b5a1a7f02bba84ee8cb98c13d2a7f SHA512 51eb98160d556aa0b60fdce95af54f57529e218899874df0a59e583dad5a8fbcad822c3d778668ce0ec4897b28ff3423cde4d55e18719cf4edfb56735cb3d80b diff --git a/sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild b/sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild new file mode 100644 index 000000000000..7cc195bf6554 --- /dev/null +++ b/sys-devel/llvm-roc/llvm-roc-2.8.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Radeon Open Compute llvm,lld,clang" +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm/" +SRC_URI="https://github.com/RadeonOpenCompute/llvm/archive/roc-ocl-${PV}.tar.gz -> llvm-roc-ocl-${PV}.tar.gz + https://github.com/RadeonOpenCompute/clang/archive/roc-${PV}.tar.gz -> clang-roc-${PV}.tar.gz + https://github.com/RadeonOpenCompute/lld/archive/roc-ocl-${PV}.tar.gz -> lld-roc-ocl-${PV}.tar.gz" + +LICENSE="UoI-NCSA rc BSD public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="virtual/cblas + dev-libs/rocr-runtime" +DEPEND="${RDEPEND}" + +CMAKE_BUILD_TYPE=RelWithDebInfo + +S="${WORKDIR}/llvm-roc-ocl-${PV}" + +src_unpack() { + unpack ${A} + ln -s "${WORKDIR}/clang-roc-${PV}" "${WORKDIR}/llvm-roc-ocl-${PV}/tools/clang" + ln -s "${WORKDIR}/lld-roc-ocl-${PV}" "${WORKDIR}/llvm-roc-ocl-${PV}/tools/lld" +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/roc" + -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" "${S}" + -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 + ) + cmake-utils_src_configure +} +src_install(){ + cmake-utils_src_install + cat > "99${PN}" <<-EOF + LDPATH="${EROOT}/usr/lib/llvm/roc/lib" + EOF + doenvd "99${PN}" +} |