From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A977138334 for ; Wed, 7 Aug 2019 17:39:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EE8BE088D; Wed, 7 Aug 2019 17:38:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF668E0887 for ; Wed, 7 Aug 2019 17:38:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADADC3494AF for ; Wed, 7 Aug 2019 17:38:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A08575C for ; Wed, 7 Aug 2019 17:38:53 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1565199525.5b5b9c1a381ef0ef549e146f0e0c76c1242dbc2b.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm-roc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm-roc/Manifest sys-devel/llvm-roc/llvm-roc-2.6.0.ebuild sys-devel/llvm-roc/metadata.xml X-VCS-Directories: sys-devel/llvm-roc/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 5b5b9c1a381ef0ef549e146f0e0c76c1242dbc2b X-VCS-Branch: master Date: Wed, 7 Aug 2019 17:38:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e8c11935-abf6-4cb6-a301-6091ce28a114 X-Archives-Hash: 071bf51a728ff388386b00c68073289b commit: 5b5b9c1a381ef0ef549e146f0e0c76c1242dbc2b Author: Craig Andrews gentoo org> AuthorDate: Fri Jul 26 18:15:57 2019 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Aug 7 17:38:45 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5b9c1a sys-devel/llvm-roc: Radeon Open Compute llvm, clang, and lld Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Craig Andrews gentoo.org> sys-devel/llvm-roc/Manifest | 3 +++ sys-devel/llvm-roc/llvm-roc-2.6.0.ebuild | 39 ++++++++++++++++++++++++++++++++ sys-devel/llvm-roc/metadata.xml | 14 ++++++++++++ 3 files changed, 56 insertions(+) diff --git a/sys-devel/llvm-roc/Manifest b/sys-devel/llvm-roc/Manifest new file mode 100644 index 00000000000..422ab6500ca --- /dev/null +++ b/sys-devel/llvm-roc/Manifest @@ -0,0 +1,3 @@ +DIST clang-roc-2.6.0.tar.gz 18831605 BLAKE2B c54b811afc57d42b32e6c38ef219eb8a1bdba47f2a58505249bf5057708c6873b28387c1fa05a8a6c1bfb02cb71b4ca96e69a72d9f0cc03bb393fa1033d86a41 SHA512 41a3595961eb4b57ac8b2d7483f53628ffe5f064a40a7331fbfa1daad2f1491e1062a1189a15a00586341fdeb73978db67c058a23e00982d32b987cc41a63b43 +DIST lld-roc-ocl-2.6.0.tar.gz 1508227 BLAKE2B 39182669e38ec21cdd30f180981631abfa55c1ddc9f923e44f251a12e27da55409d7dfebd454b2706c88ebc0259455020fbe5db8d3543a353810bacde2396104 SHA512 19f300760be83c165a03ff2d48b014b3bcb3f7703c9430c3146b964e23ae30ea07ff579402bdce613e995004b063bced7329719e801c585e6e885b0ab473ce8a +DIST llvm-roc-ocl-2.6.0.tar.gz 48417665 BLAKE2B 9b7ff7cc57d98b2076994d3a5585563430fdad5975b89459aea34d585adf330d3d49d2ef611a70fd546878d84bc64d2c196dbf9f19e78ab2b4a5e63266ffb2d3 SHA512 89d5c97b8bf97242d72176768f8d12b218ab258fff9d154e3c3ff382b5563c2d6997ee5cf145e5f2c34e2cf4f9dd268906750a014a874a2038683ef5f173b872 diff --git a/sys-devel/llvm-roc/llvm-roc-2.6.0.ebuild b/sys-devel/llvm-roc/llvm-roc-2.6.0.ebuild new file mode 100644 index 00000000000..63d3cc7cf47 --- /dev/null +++ b/sys-devel/llvm-roc/llvm-roc-2.6.0.ebuild @@ -0,0 +1,39 @@ +# 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}" + ) + cmake-utils_src_configure +} diff --git a/sys-devel/llvm-roc/metadata.xml b/sys-devel/llvm-roc/metadata.xml new file mode 100644 index 00000000000..971e48876cf --- /dev/null +++ b/sys-devel/llvm-roc/metadata.xml @@ -0,0 +1,14 @@ + + + + + candrews@gentoo.org + Craig Andrews + + + RadeonOpenCompute/llvm + + + Radeon Open Compute llvm, clang, and lld + +