svn commit: r547296 - in head/devel: . gcem
Yuri Victorovich
yuri at FreeBSD.org
Tue Sep 1 20:58:04 UTC 2020
Author: yuri
Date: Tue Sep 1 20:58:02 2020
New Revision: 547296
URL: https://svnweb.freebsd.org/changeset/ports/547296
Log:
New port: devel/gcem: C++ header-only library for Generalized Constant Expression Math
Added:
head/devel/gcem/
head/devel/gcem/Makefile (contents, props changed)
head/devel/gcem/distinfo (contents, props changed)
head/devel/gcem/pkg-descr (contents, props changed)
head/devel/gcem/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Sep 1 20:55:47 2020 (r547295)
+++ head/devel/Makefile Tue Sep 1 20:58:02 2020 (r547296)
@@ -713,6 +713,7 @@
SUBDIR += gcc-arm-embedded
SUBDIR += gcc-msp430-ti-toolchain
SUBDIR += gccmakedep
+ SUBDIR += gcem
SUBDIR += gconf2
SUBDIR += gconf2-reference
SUBDIR += gconfmm26
Added: head/devel/gcem/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gcem/Makefile Tue Sep 1 20:58:02 2020 (r547296)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= gcem
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.12.0-23
+DISTVERSIONSUFFIX= -ga167868
+CATEGORIES= devel
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= C++ header-only library for Generalized Constant Expression Math
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake compiler:c++11-lang
+USE_GITHUB= yes
+GH_ACCOUNT= kthohr
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${BUILD_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DGCEM_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} gcem_tests && \
+ (cd tests && ./exp.test)
+
+.include <bsd.port.mk>
Added: head/devel/gcem/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gcem/distinfo Tue Sep 1 20:58:02 2020 (r547296)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1598993030
+SHA256 (kthohr-gcem-v1.12.0-23-ga167868_GH0.tar.gz) = 9c04032faa98cff6a8a4647fb52974a8e7751794266cd97e97266151a614874f
+SIZE (kthohr-gcem-v1.12.0-23-ga167868_GH0.tar.gz) = 53307
Added: head/devel/gcem/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gcem/pkg-descr Tue Sep 1 20:58:02 2020 (r547296)
@@ -0,0 +1,14 @@
+GCE-Math (Generalized Constant Expression Math) is a templated C++ library
+enabling compile-time computation of mathematical functions.
+
+Features:
+* The library is written in C++11 constexpr format, and is C++11/14/17
+ compatible.
+* Continued fraction expansions and series expansions are implemented using
+ recursive templates.
+* The gcem:: syntax is identical to the C++ standard library (std::).
+* Tested and accurate to floating-point precision against the C++ standard
+ library.
+* Released under a permissive, non-GPL license.
+
+WWW: https://github.com/kthohr/gcem
Added: head/devel/gcem/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gcem/pkg-plist Tue Sep 1 20:58:02 2020 (r547296)
@@ -0,0 +1,65 @@
+include/gcem.hpp
+include/gcem_incl/abs.hpp
+include/gcem_incl/acos.hpp
+include/gcem_incl/acosh.hpp
+include/gcem_incl/asin.hpp
+include/gcem_incl/asinh.hpp
+include/gcem_incl/atan.hpp
+include/gcem_incl/atan2.hpp
+include/gcem_incl/atanh.hpp
+include/gcem_incl/beta.hpp
+include/gcem_incl/binomial_coef.hpp
+include/gcem_incl/ceil.hpp
+include/gcem_incl/copysign.hpp
+include/gcem_incl/cos.hpp
+include/gcem_incl/cosh.hpp
+include/gcem_incl/erf.hpp
+include/gcem_incl/erf_inv.hpp
+include/gcem_incl/exp.hpp
+include/gcem_incl/expm1.hpp
+include/gcem_incl/factorial.hpp
+include/gcem_incl/find_exponent.hpp
+include/gcem_incl/find_fraction.hpp
+include/gcem_incl/find_whole.hpp
+include/gcem_incl/floor.hpp
+include/gcem_incl/fmod.hpp
+include/gcem_incl/gcd.hpp
+include/gcem_incl/gcem_options.hpp
+include/gcem_incl/incomplete_beta.hpp
+include/gcem_incl/incomplete_beta_inv.hpp
+include/gcem_incl/incomplete_gamma.hpp
+include/gcem_incl/incomplete_gamma_inv.hpp
+include/gcem_incl/is_even.hpp
+include/gcem_incl/is_finite.hpp
+include/gcem_incl/is_inf.hpp
+include/gcem_incl/is_nan.hpp
+include/gcem_incl/is_odd.hpp
+include/gcem_incl/lbeta.hpp
+include/gcem_incl/lcm.hpp
+include/gcem_incl/lgamma.hpp
+include/gcem_incl/lmgamma.hpp
+include/gcem_incl/log.hpp
+include/gcem_incl/log1p.hpp
+include/gcem_incl/log2.hpp
+include/gcem_incl/log_binomial_coef.hpp
+include/gcem_incl/mantissa.hpp
+include/gcem_incl/max.hpp
+include/gcem_incl/min.hpp
+include/gcem_incl/neg_zero.hpp
+include/gcem_incl/pow.hpp
+include/gcem_incl/pow_integral.hpp
+include/gcem_incl/quadrature/gauss_legendre_30.hpp
+include/gcem_incl/quadrature/gauss_legendre_50.hpp
+include/gcem_incl/round.hpp
+include/gcem_incl/sgn.hpp
+include/gcem_incl/signbit.hpp
+include/gcem_incl/sin.hpp
+include/gcem_incl/sinh.hpp
+include/gcem_incl/sqrt.hpp
+include/gcem_incl/tan.hpp
+include/gcem_incl/tanh.hpp
+include/gcem_incl/tgamma.hpp
+include/gcem_incl/trunc.hpp
+lib/cmake/gcem/gcemConfig.cmake
+lib/cmake/gcem/gcemConfigVersion.cmake
+lib/cmake/gcem/gcemTargets.cmake
More information about the svn-ports-all
mailing list