This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new ae90908399 gnu: r-nlme: Fix tests on aarch64.
ae90908399 is described below

commit ae90908399398f3a384b8107bbf9839e57971fce
Author: Yarl Baudig <[email protected]>
AuthorDate: Sun Feb 1 11:10:28 2026 +0100

    gnu: r-nlme: Fix tests on aarch64.
    
    * gnu/packages/cran.scm (r-nlme)[arguments]<#:phases>{ffp-contract-off}:
    New phase.
    
    Change-Id: I45a58ec3f47a135855d26115596a21aeef612771
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/cran.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0371a68b07..cfe163ed7f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -43,6 +43,7 @@
 ;;; Copyright © 2024-2025 Tor-björn Claesson <[email protected]>
 ;;; Copyright © 2025 Jonas Freimuth <[email protected]>
 ;;; Copyright © 2026 Cayetano Santos <[email protected]>
+;;; Copyright © 2026 Yarl Baudig <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21687,6 +21688,18 @@ Institute of Standards and Technology}, USA.")
        (sha256
         (base32 "0qkki4x49808cmvj1fmsivq68b836f0rq3ayxrfpgdjc6il89dr3"))))
     (build-system r-build-system)
+    (arguments
+     ;; Enable tests to pass, there's a floating point inequality without this
+     ;; flag on aarch64
+     (if (target-aarch64?)
+         '(#:phases
+           (modify-phases %standard-phases
+             (add-after 'unpack 'ffp-contract-off
+               (lambda _
+                 (substitute* "src/Makevars"
+                   (("PKG_CFLAGS=" all)
+                    (string-append all "-ffp-contract=off ")))))))
+         '()))
     (propagated-inputs
      (list r-lattice))
     (native-inputs

Reply via email to