pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/R-RcppArmadillo



Module Name:    pkgsrc
Committed By:   mef
Date:           Tue May 26 13:10:41 UTC 2026

Modified Files:
        pkgsrc/math/R-RcppArmadillo: Makefile distinfo
Added Files:
        pkgsrc/math/R-RcppArmadillo/patches: patch-src_Makevars.in

Log Message:
(math/R-RcppArmadillo) Updated 14.2.3.1 to 15.2.6.1
(pkgsrc)
 - Fix build against R 4.6.0
   by adding patch for /usr/lib/execinfo for "backtrace_symbols"
 - configure claims gcc-7.5 is too old

(upstream)
News for Package 'RcppArmadillo'

Changes in RcppArmadillo version 15.2.6-1 (2026-04-20):

        * Upgraded to Armadillo release 15.2.6 (Medium Roast Deluxe)

            * Ensure internally computed tolerances are not 'NaN'

        * The 'rmultinom' deploys 'Kahan summation' as R-devel does
          now.

Changes in RcppArmadillo version 15.2.5-1 [github-only] (2026-04-18):

        * Upgraded to Armadillo release 15.2.5 (Medium Roast Deluxe)

            * Fix for handling NaN elements in '.is_zero()'

            * Fix for handling NaN in tolerance and conformance checks

            * Faster handling of diagonal views and submatrices with
              one row

        * Sunset the C++11 fallback of including Armadillo 14.6.3 (#504
          closing #503)

        * The vignettes have refreshed bibliographies, and are now
          built using the 'Rcpp::asis' vignette builder (#506)

        * One 'rmultinom' test is skipped under R-devel which has
          switched to a higher precisions calc

Changes in RcppArmadillo version 15.2.4-1 (2026-03-17):

        * Upgraded to Armadillo release 15.2.4 (Medium Roast Deluxe)

            * Workarounds for bugs in GCC and Clang sanitisers (ASAN
              false positives)

            * Faster handling of blank sparse matrices

        * Refined OpenMP setup (Dirk in #500)

Changes in RcppArmadillo version 15.2.3-1 (2025-12-16):

        * Upgraded to Armadillo release 15.2.3 (Medium Roast Deluxe)

            * Faster '.resize()' for vectors

            * Faster 'repcube()'

Changes in RcppArmadillo version 15.2.2-1 (2025-11-21):

        * Upgraded to Armadillo release 15.2.2 (Medium Roast Deluxe)

            * Improved reproducibility of random number generation when
              using OpenMP

        * Skip a unit test file under macOS as complex algebra seems to
          fail under newer macOS LAPACK setting

        * Further OpenMP detection rework for macOS (Dirk in #497,
          #499)

        * Define ARMA_CRIPPLED_LAPACK on Windows only if 'LEGACY'
          Armadillo selected

Changes in RcppArmadillo version 15.2.1-0 (2025-10-28) (GitHub Only):

        * Upgraded to Armadillo release 15.2.1 (Medium Roast Deluxe)

            * Faster handling of submatrices with one row

        * Improve OpenMP detection (Dirk in #495 fixing #493)

Changes in RcppArmadillo version 15.2.0-0 (2025-10-20) (GitHub Only):

        * Upgraded to Armadillo release 15.2.0 (Medium Roast Deluxe)

            * Added 'rande()' for generating matrices with elements
              from exponential distributions

            * 'shift()' has been deprecated in favour of 'circshift()',
              for consistency with Matlab/Octave

            * Reworked detection of aliasing, leading to more efficient
              compiled code

        * OpenMP detection in 'configure' has been simplified

Changes in RcppArmadillo version 15.0.2-2 (2025-09-18):

        * Minor update to skeleton 'Makevars','Makevars.win'

        * Update README.md to mention ldlasb2 repository

        * Minor documentation update (#487)

        * Synchronized with Armadillo upstream (#488)

        * Refine Armadillo version selection in coordination with CRAN
          maintainers to support transition towards Armadillo 15.0.*

Changes in RcppArmadillo version 15.0.2-1 (2025-09-08):

        * Upgraded to Armadillo release 15.0.2-1 (Medium Roast)

            * Optionally use OpenMP parallelisation for fp16 matrix
              multiplication

            * Faster vectorisation of cube tubes

        * Provide a top-level include file 'armadillo' as fallback
          (#480)

        * Retire the no-longer-needed check for insufficient LAPACK as
          R now should supply a sufficient libRlapack (when used)
          (#483)

        * Two potential narrowing warnings are avoided via cast

Changes in RcppArmadillo version 15.0.1-1 (2025-09-01):

        * Upgraded to Armadillo release 15.0.1-1 (Medium Roast)

            * Workaround for GCC compiler bug involving misoptimisation
              of complex number multiplication

        * This version contains both 'legacy' and 'current' version of
          Armadillo (see also below). Package authors should set a
          '#define' to select the 'current' version, or select the
          'legacy' version (also chosen as default) if they must. See
          'GitHub issue #475' for more details.

        * Updated DESCRIPTION and README.md

Changes in RcppArmadillo version 15.0.0-1 (2025-08-21) (GitHub Only):

        * Upgraded to Armadillo release 15.0.0-1 (Medium Roast)

            * C++14 is now the minimum required C++ standard

            * Aded preliminary support for matrices with half-precision
              fp16 element type

            * Added second form of 'cond()' to allow detection of
              failures

            * Added 'repcube()'

            * Added '.freeze()' and '.unfreeze()' member functions to
              'wall_clock'

            * Extended 'conv()' and 'conv2()' to accept the "valid"
              shape argument

        * Also includes Armadillo 14.6.3 as fallback for C++11
          compilations

        * This new 'dual' setup had been rigorously tested with five
          interim pre-releases of which several received full
          reverse-dependency checks


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/math/R-RcppArmadillo/Makefile \
    pkgsrc/math/R-RcppArmadillo/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/R-RcppArmadillo/patches/patch-src_Makevars.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/R-RcppArmadillo/Makefile
diff -u pkgsrc/math/R-RcppArmadillo/Makefile:1.10 pkgsrc/math/R-RcppArmadillo/Makefile:1.11
--- pkgsrc/math/R-RcppArmadillo/Makefile:1.10   Fri Feb 14 13:45:47 2025
+++ pkgsrc/math/R-RcppArmadillo/Makefile        Tue May 26 13:10:41 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2025/02/14 13:45:47 mef Exp $
+# $NetBSD: Makefile,v 1.11 2026/05/26 13:10:41 mef Exp $
 
 R_PKGNAME=     RcppArmadillo
-R_PKGVER=      14.2.3-1
+R_PKGVER=      15.2.6-1
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 COMMENT=       Rcpp integration for the Armadillo templated linear algebra library
@@ -14,6 +14,10 @@ TEST_DEPENDS+=       R-slam-[0-9]*:../../math/
 
 USE_LANGUAGES=         c++ fortran
 USE_CXX_FEATURES+=     c++11
+# for patch portablility (ifne)
+USE_TOOLS+=            gmake
+# configure claims 7.5 is too old
+GCC_REQD+=             8
 
 .include "../../math/R/Makefile.extension"
 .include "../../devel/R-Rcpp/buildlink3.mk"
Index: pkgsrc/math/R-RcppArmadillo/distinfo
diff -u pkgsrc/math/R-RcppArmadillo/distinfo:1.10 pkgsrc/math/R-RcppArmadillo/distinfo:1.11
--- pkgsrc/math/R-RcppArmadillo/distinfo:1.10   Fri Feb 14 13:45:47 2025
+++ pkgsrc/math/R-RcppArmadillo/distinfo        Tue May 26 13:10:41 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2025/02/14 13:45:47 mef Exp $
+$NetBSD: distinfo,v 1.11 2026/05/26 13:10:41 mef Exp $
 
-BLAKE2s (R/RcppArmadillo_14.2.3-1.tar.gz) = 78424c04919cac1c90d78f35fe3c946020164e9b3194599d1ce18e12c0e7f54e
-SHA512 (R/RcppArmadillo_14.2.3-1.tar.gz) = 7e45e9601a9ceb533484bcc4f76da713ac0ec7ca1ab7889a26f46314f1ecb343f685b7eb7ed4cd5f777d38732419ebbb4b0979abecb1e765a739453df1fe3638
-Size (R/RcppArmadillo_14.2.3-1.tar.gz) = 1397619 bytes
+BLAKE2s (R/RcppArmadillo_15.2.6-1.tar.gz) = 7188d5d2b5b2947391466690c3ae2681c86efd6efa791ca7b0f9e4382e9c3af7
+SHA512 (R/RcppArmadillo_15.2.6-1.tar.gz) = c2a175b56208806d3ade97c02f428eeb6f6552ce191ea38c6d25c10398045c0b8d4c738d5a9e1db3d7fe2e58ecdc0ff93206f64ff10e8efdf225e6d6ab3caffe
+Size (R/RcppArmadillo_15.2.6-1.tar.gz) = 1090108 bytes
+SHA1 (patch-src_Makevars.in) = ebe08fd565cc823834e3d9f9ac7f116e67565722

Added files:

Index: pkgsrc/math/R-RcppArmadillo/patches/patch-src_Makevars.in
diff -u /dev/null pkgsrc/math/R-RcppArmadillo/patches/patch-src_Makevars.in:1.1
--- /dev/null   Tue May 26 13:10:41 2026
+++ pkgsrc/math/R-RcppArmadillo/patches/patch-src_Makevars.in   Tue May 26 13:10:41 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_Makevars.in,v 1.1 2026/05/26 13:10:41 mef Exp $
+
+Add /usr/lib/libexecinfo for "backtrace_symbols"
+
+--- src/Makevars.in.orig       2025-11-22 04:39:39.000000000 +0900
++++ src/Makevars.in    2026-05-26 21:48:27.504953850 +0900
+@@ -2,3 +2,11 @@
+ PKG_CPPFLAGS = -I../inst/include -DARMA_USE_CURRENT
+ PKG_CXXFLAGS = @PKG_CXXFLAGS@ @OPENMP_FLAG@
+ PKG_LIBS= @PKG_LIBS@ @OPENMP_FLAG@ $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
++
++UNAME := $(shell uname)
++
++ifneq ($(UNAME), Linux)
++ifneq ($(UNAME), SunOS)
++PKG_LIBS += -lexecinfo
++endif
++endif



Home | Main Index | Thread Index | Old Index