commit: deb30d4e30d3ec4fe0c9877bbda736352a0ce12a Author: YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com> AuthorDate: Thu Aug 26 12:37:43 2021 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Mon Nov 8 12:53:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb30d4e
dev-libs/half: half-precision floating-point library. Migrated from the science overlay, this package contains only one header -- half.hpp. sci-libs/miopen, AMD's Machine Intelligence Library for ROCm, depends on this package. Closes: https://github.com/gentoo/gentoo/pull/22825 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com> Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> dev-libs/half/Manifest | 1 + dev-libs/half/half-1.12.0.ebuild | 17 +++++++++++++++++ dev-libs/half/metadata.xml | 15 +++++++++++++++ 3 files changed, 33 insertions(+) diff --git a/dev-libs/half/Manifest b/dev-libs/half/Manifest new file mode 100644 index 00000000000..9ef15247c41 --- /dev/null +++ b/dev-libs/half/Manifest @@ -0,0 +1 @@ +DIST half-1.12.0.tar.gz 108704 BLAKE2B f0084f380b10485b30da3ff38c5e3098044cc21fe00b084b2b9dd69b9a5c06b2ddedae1cefa61197d74a14552da2e5648db3e3108044b5fc5f7975fa1e10c6d4 SHA512 152f9c08a4493662aed96ddce5d45ece94836727766a66060640f8f1f43ee6ecdb174e7e17421ba83f2a01ba836bb1cba9fe60d83aea517f4772b9038173274b diff --git a/dev-libs/half/half-1.12.0.ebuild b/dev-libs/half/half-1.12.0.ebuild new file mode 100644 index 00000000000..ac2051bdc10 --- /dev/null +++ b/dev-libs/half/half-1.12.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Half-precision floating-point library" +HOMEPAGE="http://half.sourceforge.net/" +SRC_URI="https://github.com/ROCmSoftwarePlatform/half/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0/$(ver_cut 1)" + +src_install() { + cd include || die + doheader half.hpp +} diff --git a/dev-libs/half/metadata.xml b/dev-libs/half/metadata.xml new file mode 100644 index 00000000000..da47ad0ef39 --- /dev/null +++ b/dev-libs/half/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Wilfried Holzke</name> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Yiyang Wu</name> + </maintainer> +</pkgmetadata>
