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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD8C915808B for ; Tue, 22 Mar 2022 04:09:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B77BE08EB; Tue, 22 Mar 2022 04:09:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA962E08F1 for ; Tue, 22 Mar 2022 04:09:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C10663431BE for ; Tue, 22 Mar 2022 04:09:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5ECD1330 for ; Tue, 22 Mar 2022 04:09:50 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1647922184.e8d3b1922bd17cb7d2b020c490a4b41b4274a2ce.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/roct-thunk-interface/Manifest dev-libs/roct-thunk-interface/roct-thunk-interface-5.0.2.ebuild X-VCS-Directories: dev-libs/roct-thunk-interface/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: e8d3b1922bd17cb7d2b020c490a4b41b4274a2ce X-VCS-Branch: master Date: Tue, 22 Mar 2022 04:09: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: 290efb39-93ea-4809-a091-b0cc4d37b4c2 X-Archives-Hash: b94066c614fc7f4f6db4d552908d6be7 commit: e8d3b1922bd17cb7d2b020c490a4b41b4274a2ce Author: YiyangWu gmail com> AuthorDate: Sun Feb 20 07:07:50 2022 +0000 Commit: Benda XU gentoo org> CommitDate: Tue Mar 22 04:09:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d3b192 dev-libs/roct-thunk-interface: bump to 5.0.2 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yiyang Wu gmail.com> Signed-off-by: Benda Xu gentoo.org> dev-libs/roct-thunk-interface/Manifest | 1 + .../roct-thunk-interface-5.0.2.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest index c3e929239502..8eb3d57d96b4 100644 --- a/dev-libs/roct-thunk-interface/Manifest +++ b/dev-libs/roct-thunk-interface/Manifest @@ -3,3 +3,4 @@ DIST roct-thunk-interface-4.1.0.tar.gz 2697077 BLAKE2B 6d5d35c57d73c7d23fe28f438 DIST roct-thunk-interface-4.2.0.tar.gz 3162877 BLAKE2B 48196c2334a5514c17a5b6ca122f0beaf964040f1705bd60532e4379a01d8d6a9b462a7f74916d80841caa9d3a57d5b6e2fb030a9556a1305b879036f9bcec5f SHA512 007cd64e33bada7707f340bffddf6eb9531b0bd5227a5da522c0ff4f0e2efe4a113fc50bf52da19d58fef73008af70a352aad8b41387b327f2ba19b54ede9646 DIST roct-thunk-interface-4.3.0.tar.gz 3177655 BLAKE2B e3746bb361731484acb5da8c48246fa9ce6cce46919bc771e2670bc4694e09147b51b65274cc58d690e06ce6781aca54d67508625d9ffc1e30f42dbd69adabd5 SHA512 c0515784696464feef906d6ef4446c9bddb77b5abe62e982a7d75331a8b7fb84e94f12ebeaf2e128be28ab8f903bf6894cbf2302aa5ddee23eaf9b2cc807c872 DIST roct-thunk-interface-4.5.2.tar.gz 3178434 BLAKE2B 3333b3416d1f7f26401a543ff5ef1b728a6efc38c5c9306d98cb03f034f8b0e10f961f9863192c23a6b7a70ff543e2d8abb60169a4a9a0c5992f2483e6f69db2 SHA512 6f51956df14532a3428f56a80479357c703c26589c68b054a340d751e34435211500c441fc90d7edbbb7c6c327a8ba71afafc8355c8c0e7a1cd45a9c9d0d99e6 +DIST roct-thunk-interface-5.0.2.tar.gz 3178727 BLAKE2B 9b8926ec18340a686f0499070dd4846fb9ba3eae2fed2d02615fbbee977c3417cb5815b54a19aed7623484e175702cb757e8f3ac30b8b9f04ce4cf0ce81b2cc5 SHA512 c78a4d22d6e09decfec8c710707bc89ca30d3deba9ee3123af83d530f1bf58cb3681206a8c2ad8a523ff45621b87701020cfce23bba4fd87b81791ee8f04619e diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-5.0.2.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-5.0.2.ebuild new file mode 100644 index 000000000000..d0cf376f0b8d --- /dev/null +++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-5.0.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake linux-info + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/" + inherit git-r3 +else + SRC_URI="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCT-Thunk-Interface-rocm-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute Thunk Interface" +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface" +CONFIG_CHECK="~HSA_AMD ~HMM_MIRROR ~ZONE_DEVICE ~DRM_AMDGPU ~DRM_AMDGPU_USERPTR" +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" + +RDEPEND="sys-process/numactl" +DEPEND="${RDEPEND}" +BDEPEND="x11-libs/libdrm[video_cards_amdgpu]" + +CMAKE_BUILD_TYPE=Release + +src_prepare() { + sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die + sed -e "s:ubuntu:gentoo:" -i CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCPACK_PACKAGING_INSTALL_PREFIX="${EPREFIX}/usr" + ) + cmake_src_configure +}