mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-07-24 06:54:06 +02:00
gnu: r-harshlight: Adjust to GCC@14.
* gnu/packages/bioconductor.scm (r-harshlight)[arguments]: Add phases that passes CFLAGS. Change-Id: I54263d82d9fb97253bdbebc2f070d3da7325b163
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
||||
;;; Copyright © 2017, 2022, 2024 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2017, 2018, 2019, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2019, 2020, 2021, 2022, 2023 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;; Copyright © 2019-2023, 2025 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;; Copyright © 2020 Peter Lo <peterloleungyau@gmail.com>
|
||||
;;; Copyright © 2020-2023 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
|
||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||
@@ -10190,6 +10190,22 @@ at @url{https://github.com/kharchenkolab/hahmmr/}.")
|
||||
"1jm0ia06ls1m7dsbzp1hk68qi5wbqzhcf6x66534bj1kxdll17k7"))))
|
||||
(properties `((upstream-name . "Harshlight")))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'install 'relax-c-standard
|
||||
(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"
|
||||
" -std=gnu11"))))))))))
|
||||
(propagated-inputs
|
||||
(list r-affy
|
||||
r-altcdfenvs
|
||||
|
||||
Reference in New Issue
Block a user