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 30FA9138350 for ; Sat, 25 Jan 2020 19:53:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79092E0880; Sat, 25 Jan 2020 19:53:52 +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 5A7FCE0880 for ; Sat, 25 Jan 2020 19:53:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6575C34E2C2 for ; Sat, 25 Jan 2020 19:53:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09F17AC for ; Sat, 25 Jan 2020 19:53:50 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1579982022.113b2343c3c16a8bd7fb6a94758f05c7f9699774.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/opencl-clang/Manifest dev-libs/opencl-clang/opencl-clang-9.0.0.ebuild X-VCS-Directories: dev-libs/opencl-clang/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 113b2343c3c16a8bd7fb6a94758f05c7f9699774 X-VCS-Branch: master Date: Sat, 25 Jan 2020 19:53:50 +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: e02e3eb3-b003-4fa5-8d8f-fb266c4cf97e X-Archives-Hash: 542016ed680c33b0ec5fd5282e1b6774 commit: 113b2343c3c16a8bd7fb6a94758f05c7f9699774 Author: Marek Szuba gentoo org> AuthorDate: Sat Jan 25 19:53:10 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sat Jan 25 19:53:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113b2343 dev-libs/opencl-clang: bump to 9.0.0:9 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Marek Szuba gentoo.org> dev-libs/opencl-clang/Manifest | 1 + dev-libs/opencl-clang/opencl-clang-9.0.0.ebuild | 34 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-libs/opencl-clang/Manifest b/dev-libs/opencl-clang/Manifest index e2da4006d07..7c968fe057d 100644 --- a/dev-libs/opencl-clang/Manifest +++ b/dev-libs/opencl-clang/Manifest @@ -1 +1,2 @@ DIST opencl-clang-8.0.1_p20191001.tar.gz 41402 BLAKE2B 0ab3cc4f84a9e3e599d4e0995f219b94761b882a6290d9c1e399bf820074b72daab935a9d48d09d3e02d1b46659fc8c00613f35e88f0231234e31f93ca6e4d7a SHA512 87f3855bd2cc9a416f317afc98ad7cd1cfcb5bf4b2ebf7401837c1734b1c8d10e07843aab78735bf48888523b231db1911014a6468c0b4c461c43a5434a31ada +DIST opencl-clang-9.0.0.tar.gz 23345 BLAKE2B adbce64efb2c1e4e96d4aff585c0f18bd06036a60b35164681b9f5b4a6c89933e5428e9959ddd3cec89b93a5c350e6b0f9b15b8be2be42cd520ca55852352df5 SHA512 126974d816e7f2a90ddb2faa4e8e95841d8ae15f24e77013ca8894ce75ad5079ffe942fb40731030363a10e470e66f2ad1794c2fe31aee6f8608304b492b30eb diff --git a/dev-libs/opencl-clang/opencl-clang-9.0.0.ebuild b/dev-libs/opencl-clang/opencl-clang-9.0.0.ebuild new file mode 100644 index 00000000000..0e4906e5dde --- /dev/null +++ b/dev-libs/opencl-clang/opencl-clang-9.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-multilib llvm + +DESCRIPTION="OpenCL-oriented thin wrapper library around clang" +HOMEPAGE="https://github.com/intel/opencl-clang" +SRC_URI="https://github.com/intel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="UoI-NCSA" +SLOT="9" +KEYWORDS="~amd64" + +BDEPEND="dev-vcs/git" +COMMON="sys-devel/clang:9=[static-analyzer,${MULTILIB_USEDEP}]" +DEPEND="${COMMON} + dev-util/spirv-llvm-translator:9=[${MULTILIB_USEDEP}]" +RDEPEND="${COMMON}" + +LLVM_MAX_SLOT=9 + +PATCHES=( + "${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch +) + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" + -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib/clang + ) + cmake-utils_src_configure +}