svn commit: r533085 - in head/math: . half
Yuri Victorovich
yuri at FreeBSD.org
Sun Apr 26 21:32:59 UTC 2020
Author: yuri
Date: Sun Apr 26 21:32:58 2020
New Revision: 533085
URL: https://svnweb.freebsd.org/changeset/ports/533085
Log:
New port: math/half: C++ library for half precision floating point arithmetic
Added:
head/math/half/
head/math/half/Makefile (contents, props changed)
head/math/half/distinfo (contents, props changed)
head/math/half/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Sun Apr 26 20:58:07 2020 (r533084)
+++ head/math/Makefile Sun Apr 26 21:32:58 2020 (r533085)
@@ -310,6 +310,7 @@
SUBDIR += gringo
SUBDIR += grpn
SUBDIR += gsl
+ SUBDIR += half
SUBDIR += hexcalc
SUBDIR += hipmcl
SUBDIR += hmat-oss
Added: head/math/half/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/half/Makefile Sun Apr 26 21:32:58 2020 (r533085)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= half
+DISTVERSION= 2.1.0
+CATEGORIES= math
+MASTER_SITES= SF
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= C++ library for half precision floating point arithmetic
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= zip
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= include/half.hpp
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/include/half.hpp ${STAGEDIR}${PREFIX}/include
+
+.include <bsd.port.mk>
Added: head/math/half/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/half/distinfo Sun Apr 26 21:32:58 2020 (r533085)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587931990
+SHA256 (half-2.1.0.zip) = ad1788afe0300fa2b02b0d1df128d857f021f92ccf7c8bddd07812685fa07a25
+SIZE (half-2.1.0.zip) = 47043
Added: head/math/half/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/half/pkg-descr Sun Apr 26 21:32:58 2020 (r533085)
@@ -0,0 +1,7 @@
+half is a C++ header-only library to provide an IEEE 754 conformant 16-bit
+half-precision floating-point type along with corresponding arithmetic
+operators, type conversions and common mathematical functions. It aims for
+both efficiency and ease of use, trying to accurately mimic the behaviour of
+the built-in floating-point types at the best performance possible.
+
+WWW: http://half.sourceforge.net/
More information about the svn-ports-head
mailing list