git: 458fd0dd0e6a - main - math/universal: update 3.75 → 3.78

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 11 Aug 2024 07:48:55 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=458fd0dd0e6ae240f2930c349a656462497e27ed

commit 458fd0dd0e6ae240f2930c349a656462497e27ed
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-11 04:52:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-11 07:48:42 +0000

    math/universal: update 3.75 → 3.78
    
    Reported by:    portscout
---
 math/universal/Makefile                   |  4 +-
 math/universal/distinfo                   |  6 +--
 math/universal/files/patch-CMakeLists.txt | 13 ++++++
 math/universal/pkg-plist                  | 69 ++++++++++++++++++++++++++-----
 4 files changed, 77 insertions(+), 15 deletions(-)

diff --git a/math/universal/Makefile b/math/universal/Makefile
index 7613879d76d9..db7c2ba9cf2d 100644
--- a/math/universal/Makefile
+++ b/math/universal/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	universal
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.75
+DISTVERSION=	3.78
 CATEGORIES=	math
 PKGNAMESUFFIX=	-fp-library
 
@@ -25,7 +25,7 @@ TOOLS_DESC=		Build command line tools
 TOOLS_CMAKE_BOOL=	BUILD_CMD_LINE_TOOLS
 TOOLS_VARS_OFF=		NO_ARCH=yes # header-only library w/out executables
 
-do-test: # tests fail to compile: https://github.com/stillwater-sc/universal/issues/263
+do-test: # tests fail to compile: https://github.com/stillwater-sc/universal/issues/434
 	@cd ${BUILD_WRKSRC} && \
 		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_OFF:C/(.*)/-D\1=ON/} ${CMAKE_SOURCE_PATH} && \
 		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
diff --git a/math/universal/distinfo b/math/universal/distinfo
index 7558f38c36cd..63f8c66014da 100644
--- a/math/universal/distinfo
+++ b/math/universal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710311393
-SHA256 (stillwater-sc-universal-v3.75_GH0.tar.gz) = 51ee681adf96ffb5fabfe8134659a8ab3e8bdb042d035bef6acc77abbca82195
-SIZE (stillwater-sc-universal-v3.75_GH0.tar.gz) = 12173431
+TIMESTAMP = 1723346269
+SHA256 (stillwater-sc-universal-v3.78_GH0.tar.gz) = 027cda59f2f513dfc78aaf3f840e692e479b1acd4c16e309b9aeef7848deaaf9
+SIZE (stillwater-sc-universal-v3.78_GH0.tar.gz) = 12809915
diff --git a/math/universal/files/patch-CMakeLists.txt b/math/universal/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..cc7086a4bbb4
--- /dev/null
+++ b/math/universal/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+- otherwise std::ifinf(long double) isn't defined with c++20
+
+--- CMakeLists.txt.orig	2024-08-11 03:29:56 UTC
++++ CMakeLists.txt
+@@ -222,7 +222,7 @@ endif()
+ 
+ ####
+ # Configure the compiler options
+-set(CMAKE_CXX_STANDARD 20)
++set(CMAKE_CXX_STANDARD 23)
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ #message(STATUS "C++17 has been enabled by default")
+ message(STATUS "C++20 has been enabled by default")
diff --git a/math/universal/pkg-plist b/math/universal/pkg-plist
index 45f842c5551c..de9444027dc9 100644
--- a/math/universal/pkg-plist
+++ b/math/universal/pkg-plist
@@ -29,6 +29,13 @@ include/universal/blas/blas_l1.hpp
 include/universal/blas/blas_l2.hpp
 include/universal/blas/blas_l3.hpp
 include/universal/blas/exceptions.hpp
+include/universal/blas/ext/README.md
+include/universal/blas/ext/posit_fused_blas.hpp
+include/universal/blas/ext/solvers/luir.hpp
+include/universal/blas/ext/solvers/posit_fused_backsub.hpp
+include/universal/blas/ext/solvers/posit_fused_forwsub.hpp
+include/universal/blas/ext/solvers/posit_fused_lu.hpp
+include/universal/blas/ext/solvers/posit_fused_substitution.hpp
 include/universal/blas/generators.hpp
 include/universal/blas/generators/frank.hpp
 include/universal/blas/generators/fvm64x64.hpp
@@ -82,12 +89,14 @@ include/universal/blas/matrices/west0132.hpp
 include/universal/blas/matrices/west0167.hpp
 include/universal/blas/matrices/wilk21.hpp
 include/universal/blas/matrix.hpp
-include/universal/blas/modifiers/posit_fdp.hpp
+include/universal/blas/modifiers/README.md
+include/universal/blas/modifiers/posit_linalg_operator_overload.hpp
 include/universal/blas/nnz.hpp
 include/universal/blas/operators.hpp
 include/universal/blas/scaling.hpp
 include/universal/blas/serialization/README.md
 include/universal/blas/serialization/datafile.hpp
+include/universal/blas/serialization/test_matrix.hpp
 include/universal/blas/solvers.hpp
 include/universal/blas/solvers/backsub.hpp
 include/universal/blas/solvers/cg.hpp
@@ -186,6 +195,7 @@ include/universal/native/compiler/ieee754_pgi.hpp
 include/universal/native/compiler/ieee754_riscv.hpp
 include/universal/native/compiler/ieee754_sunpro.hpp
 include/universal/native/deprecated/nonconstexpr754.hpp
+include/universal/native/error_free_ops.hpp
 include/universal/native/extract_fields.hpp
 include/universal/native/ieee754.hpp
 include/universal/native/ieee754_decoder.hpp
@@ -272,6 +282,30 @@ include/universal/number/dbns/math_functions.hpp
 include/universal/number/dbns/mathlib.hpp
 include/universal/number/dbns/numeric_limits.hpp
 include/universal/number/dbns/table.hpp
+include/universal/number/dd/attributes.hpp
+include/universal/number/dd/dd.hpp
+include/universal/number/dd/dd_fwd.hpp
+include/universal/number/dd/dd_impl.hpp
+include/universal/number/dd/exceptions.hpp
+include/universal/number/dd/manipulators.hpp
+include/universal/number/dd/math/classify.hpp
+include/universal/number/dd/math/complex.hpp
+include/universal/number/dd/math/error_and_gamma.hpp
+include/universal/number/dd/math/exponent.hpp
+include/universal/number/dd/math/fractional.hpp
+include/universal/number/dd/math/hyperbolic.hpp
+include/universal/number/dd/math/hypot.hpp
+include/universal/number/dd/math/logarithm.hpp
+include/universal/number/dd/math/minmax.hpp
+include/universal/number/dd/math/next.hpp
+include/universal/number/dd/math/numerics.hpp
+include/universal/number/dd/math/pow.hpp
+include/universal/number/dd/math/sqrt.hpp
+include/universal/number/dd/math/trigonometry.hpp
+include/universal/number/dd/math/truncate.hpp
+include/universal/number/dd/mathlib.hpp
+include/universal/number/dd/numeric_limits.hpp
+include/universal/number/dfloat/attributes.hpp
 include/universal/number/dfloat/dfloat.hpp
 include/universal/number/dfloat/dfloat_fwd.hpp
 include/universal/number/dfloat/dfloat_impl.hpp
@@ -396,9 +430,7 @@ include/universal/number/lns/table.hpp
 include/universal/number/posit/ReadMe.txt
 include/universal/number/posit/attributes.hpp
 include/universal/number/posit/exceptions.hpp
-include/universal/number/posit/exponent.hpp
 include/universal/number/posit/fdp.hpp
-include/universal/number/posit/fraction.hpp
 include/universal/number/posit/manipulators.hpp
 include/universal/number/posit/math/classify.hpp
 include/universal/number/posit/math/complex.hpp
@@ -418,6 +450,9 @@ include/universal/number/posit/math/truncate.hpp
 include/universal/number/posit/mathlib.hpp
 include/universal/number/posit/numeric_limits.hpp
 include/universal/number/posit/posit.hpp
+include/universal/number/posit/positExponent.hpp
+include/universal/number/posit/positFraction.hpp
+include/universal/number/posit/positRegime.hpp
 include/universal/number/posit/posit_c_api.h
 include/universal/number/posit/posit_c_macros.h
 include/universal/number/posit/posit_fwd.hpp
@@ -425,7 +460,6 @@ include/universal/number/posit/posit_impl.hpp
 include/universal/number/posit/posit_parse.hpp
 include/universal/number/posit/positctypes.h
 include/universal/number/posit/quire.hpp
-include/universal/number/posit/regime.hpp
 include/universal/number/posit/specializations.hpp
 include/universal/number/posit/specialized/posit_128_2.hpp
 include/universal/number/posit/specialized/posit_128_4.hpp
@@ -449,15 +483,15 @@ include/universal/number/posit/specialized/posit_8_2.hpp
 include/universal/number/posit/table.hpp
 include/universal/number/posit/twoSum.hpp
 include/universal/number/posit2/attributes.hpp
-include/universal/number/posit2/exponent.hpp
-include/universal/number/posit2/fraction.hpp
 include/universal/number/posit2/manipulators.hpp
 include/universal/number/posit2/mathlib.hpp
 include/universal/number/posit2/numeric_limits.hpp
 include/universal/number/posit2/posit.hpp
+include/universal/number/posit2/positExponent.hpp
+include/universal/number/posit2/positFraction.hpp
+include/universal/number/posit2/positRegime.hpp
 include/universal/number/posit2/posit_fwd.hpp
 include/universal/number/posit2/posit_impl.hpp
-include/universal/number/posit2/regime.hpp
 include/universal/number/posito/ReadMe.txt
 include/universal/number/posito/attributes.hpp
 include/universal/number/posito/exceptions.hpp
@@ -499,11 +533,14 @@ include/universal/number/skeleton_1param/numeric_limits.hpp
 include/universal/number/skeleton_1param/oneparam.hpp
 include/universal/number/skeleton_1param/oneparam_impl.hpp
 include/universal/number/skeleton_1param/oneparam_traits.hpp
-include/universal/number/skeleton_2params/areal
-include/universal/number/skeleton_2params/areal.hpp
+include/universal/number/skeleton_2params/attributes.hpp
 include/universal/number/skeleton_2params/exceptions.hpp
-include/universal/number/skeleton_2params/math_functions.hpp
+include/universal/number/skeleton_2params/manipulators.hpp
+include/universal/number/skeleton_2params/mathlib.hpp
 include/universal/number/skeleton_2params/numeric_limits.hpp
+include/universal/number/skeleton_2params/twoparam.hpp
+include/universal/number/skeleton_2params/twoparam_impl.hpp
+include/universal/number/skeleton_2params/twoparam_traits.hpp
 include/universal/number/sorn/exceptions.hpp
 include/universal/number/sorn/manipulators.hpp
 include/universal/number/sorn/numeric_limits.hpp
@@ -513,6 +550,16 @@ include/universal/number/sorn/sorn_impl.hpp
 include/universal/number/sorn/sorn_traits.hpp
 include/universal/number/sorn/sorn_type_tag.hpp
 include/universal/number/support/decimal.hpp
+include/universal/number/takum/README.md
+include/universal/number/takum/attributes.hpp
+include/universal/number/takum/exceptions.hpp
+include/universal/number/takum/manipulators.hpp
+include/universal/number/takum/mathlib.hpp
+include/universal/number/takum/numeric_limits.hpp
+include/universal/number/takum/takum.hpp
+include/universal/number/takum/takum_fwd.hpp
+include/universal/number/takum/takum_impl.hpp
+include/universal/number/takum/takum_traits.hpp
 include/universal/number/unum/exceptions.hpp
 include/universal/number/unum/manipulators.hpp
 include/universal/number/unum/math_functions.hpp
@@ -529,6 +576,7 @@ include/universal/number/valid/manipulators.hpp
 include/universal/number/valid/math_functions.hpp
 include/universal/number/valid/valid.hpp
 include/universal/number/valid/valid_impl.hpp
+include/universal/number_systems.hpp
 include/universal/numerics/README.md
 include/universal/numerics/eft.hpp
 include/universal/numerics/twodiv.hpp
@@ -544,6 +592,7 @@ include/universal/traits/arithmetic_traits.hpp
 include/universal/traits/bfloat16_traits.hpp
 include/universal/traits/bfloat8_traits.hpp
 include/universal/traits/cfloat_traits.hpp
+include/universal/traits/dd_traits.hpp
 include/universal/traits/edecimal_traits.hpp
 include/universal/traits/einteger_traits.hpp
 include/universal/traits/erational_traits.hpp