guix-commits
[Top][All Lists]
Advanced

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

branch r-updates updated: gnu: r-spams: Build with C++11.


From: guix-commits
Subject: branch r-updates updated: gnu: r-spams: Build with C++11.
Date: Fri, 03 Nov 2023 14:17:41 -0400

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

rekado pushed a commit to branch r-updates
in repository guix.

The following commit(s) were added to refs/heads/r-updates by this push:
     new 8e651ac094 gnu: r-spams: Build with C++11.
8e651ac094 is described below

commit 8e651ac0940c4c1584f3bef60ced5f258aa170f7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Nov 3 19:17:07 2023 +0100

    gnu: r-spams: Build with C++11.
    
    * gnu/packages/statistics.scm (r-spams)[arguments]: Add phase 'use-c++11.
    
    Change-Id: Ie477af6afe8993919090f6c81e071cee542e69bc
---
 gnu/packages/statistics.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index cf5ba0764b..2413f659a6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4964,7 +4964,12 @@ from within R.")
           (add-after 'mkdist 'no-mtune
             (lambda _
               (substitute* "src/Makevars"
-                (("-mtune=native") "")))))))
+                (("-mtune=native") ""))))
+          (add-after 'no-mtune 'use-c++11
+            (lambda _
+              (substitute* "src/Makevars"
+                (("-DUSE_BLAS_LIB" m)
+                 (string-append m " -std=c++11"))))))))
     (native-inputs
      (list hevea
            perl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]