Here is an update to eigen3 3.4.1. Many bug fixes have been backported from the main branch.
Build tested with.. - astro/calcmysky - astro/celestia - cad/nextpnr - cad/openscad - cad/solvespace - graphics/pcl - graphics/vtk - misc/openbabel - x11/kde-applications/analitza Index: Makefile =================================================================== RCS file: /cvs/ports/math/eigen3/Makefile,v retrieving revision 1.16 diff -u -p -u -p -r1.16 Makefile --- Makefile 7 Nov 2024 20:56:53 -0000 1.16 +++ Makefile 14 Nov 2026 02:57:18 -0000 @@ -6,10 +6,9 @@ CATEGORIES = math devel HOMEPAGE = https://eigen.tuxfamily.org -VERSION = 3.4.0 +VERSION = 3.4.1 DISTNAME = eigen-${VERSION} PKGNAME = eigen3-${VERSION} -REVISION = 0 # Mostly MPLv2, also LGPLv2.1, LGPLv2.1+ and BSDL PERMIT_PACKAGE = Yes @@ -38,6 +37,8 @@ CONFIGURE_ARGS = -DBLAS_DIR:PATH="${LOCA -DCMAKE_DISABLE_FIND_PACKAGE_Cholmod=Yes \ -DCMAKE_DISABLE_FIND_PACKAGE_SPQR=Yes \ -DCMAKE_DISABLE_FIND_PACKAGE_SuperLU=Yes \ + -DEIGEN_BUILD_BLAS=OFF \ + -DEIGEN_BUILD_LAPACK=OFF \ -DEIGEN_TEST_CXX11=ON \ -DEIGEN_TEST_NOQT=ON Index: distinfo =================================================================== RCS file: /cvs/ports/math/eigen3/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo 11 May 2024 10:01:03 -0000 1.4 +++ distinfo 14 Nov 2026 02:57:18 -0000 @@ -1,2 +1,2 @@ -SHA256 (eigen-3.4.0.tar.gz) = hYYIT3H5veVF7n+m0AKIsmSit6w2B7l05U0T5xYsHHI= -SIZE (eigen-3.4.0.tar.gz) = 2705005 +SHA256 (eigen-3.4.1.tar.gz) = uTxmfRtpJlzbTZ8w7CH4+su+izB880wLmUKDTG1P2+I= +SIZE (eigen-3.4.1.tar.gz) = 2715422 Index: patches/patch-Eigen_src_Core_util_ConfigureVectorization_h =================================================================== RCS file: patches/patch-Eigen_src_Core_util_ConfigureVectorization_h diff -N patches/patch-Eigen_src_Core_util_ConfigureVectorization_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-Eigen_src_Core_util_ConfigureVectorization_h 14 Nov 2026 02:57:18 -0000 @@ -0,0 +1,15 @@ +- Fix erroneous EIGEN_COMP_CLANG_STRICT backport + 1ac855c25dc4aa8453c8e18e0db55336b6bdd0ba + +Index: Eigen/src/Core/util/ConfigureVectorization.h +--- Eigen/src/Core/util/ConfigureVectorization.h.orig ++++ Eigen/src/Core/util/ConfigureVectorization.h +@@ -445,7 +445,7 @@ + #define EIGEN_VECTORIZE_FMA + #endif + +-#if defined(__F16C__) && !defined(EIGEN_GPUCC) && (!EIGEN_COMP_CLANG_STRICT || EIGEN_COMP_CLANG>=380) ++#if defined(__F16C__) && (!defined(EIGEN_GPUCC) && (!EIGEN_COMP_CLANG || EIGEN_COMP_CLANG>=380)) + // We can use the optimized fp16 to float and float to fp16 conversion routines + #define EIGEN_HAS_FP16_C + Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/math/eigen3/pkg/PLIST,v retrieving revision 1.5 diff -u -p -u -p -r1.5 PLIST --- pkg/PLIST 11 May 2024 10:01:03 -0000 1.5 +++ pkg/PLIST 14 Nov 2026 02:57:18 -0000 @@ -127,6 +127,7 @@ include/eigen3/Eigen/src/Core/arch/AltiV include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h include/eigen3/Eigen/src/Core/arch/CUDA/ include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h @@ -347,7 +348,6 @@ include/eigen3/Eigen/src/SparseLU/Sparse include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h -include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h
