[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-packages-team updated: gnu: r-acme: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
branch core-packages-team updated: gnu: r-acme: Fix build with gcc-14. |
Date: |
Fri, 03 Jan 2025 08:28:30 -0500 |
This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch core-packages-team
in repository guix.
The following commit(s) were added to refs/heads/core-packages-team by this
push:
new 8e48eeeae1 gnu: r-acme: Fix build with gcc-14.
8e48eeeae1 is described below
commit 8e48eeeae146d5e7fb2dc456d707033e3d172f36
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jan 3 13:43:45 2025 +0100
gnu: r-acme: Fix build with gcc-14.
* gnu/packages/bioconductor.scm (r-acme)[arguments]: New field to relax
gcc-14's strictness.
Change-Id: Ib71324b6ac3d475bcdd9cd4bc868acb680122eba
---
gnu/packages/bioconductor.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index de500f5441..320a3ed2d5 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2021 Nicolas Vallet <nls.vallet@gmail.com>
;;; Copyright © 2023 Navid Afkhami <Navid.Afkhami@mdc-berlin.de>
;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22085,6 +22086,23 @@ printing and plotting @code{aCGH} objects.")
"05lvljiq3wgn0xqax8nhrsfwfxkslch9fyzk8v7qdvi72j0j3g9b"))))
(properties `((upstream-name . "ACME")))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'install 'setup-build-environment
+ (lambda _
+ ;; XXX FIXME: $HOME/.R/Makevars seems to be the only way to
+ ;; set custom CFLAGS for R?
+ (setenv "HOME" (getcwd))
+ (mkdir-p ".R")
+ (with-directory-excursion ".R"
+ (with-output-to-file "Makevars"
+ (lambda _
+ (display
+ (string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=incompatible-pointer-types\n"))))))))))
(propagated-inputs (list r-biobase r-biocgenerics))
(home-page "https://bioconductor.org/packages/aCGH/")
(synopsis "Calculating microarray enrichment")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-packages-team updated: gnu: r-acme: Fix build with gcc-14.,
guix-commits <=