mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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@gmail.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
1
dev-libs/half/Manifest
Normal file
1
dev-libs/half/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST half-1.12.0.tar.gz 108704 BLAKE2B f0084f380b10485b30da3ff38c5e3098044cc21fe00b084b2b9dd69b9a5c06b2ddedae1cefa61197d74a14552da2e5648db3e3108044b5fc5f7975fa1e10c6d4 SHA512 152f9c08a4493662aed96ddce5d45ece94836727766a66060640f8f1f43ee6ecdb174e7e17421ba83f2a01ba836bb1cba9fe60d83aea517f4772b9038173274b
|
||||
17
dev-libs/half/half-1.12.0.ebuild
Normal file
17
dev-libs/half/half-1.12.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
15
dev-libs/half/metadata.xml
Normal file
15
dev-libs/half/metadata.xml
Normal file
@@ -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>sci@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@holzke.net</email>
|
||||
<name>Wilfried Holzke</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>xgreenlandforwyy@gmail.com</email>
|
||||
<name>Yiyang Wu</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user