~ruther/guix-local

8d7c6d45914c7355e1a2405a9781dabf63383cdb — Hugo Buddelmeijer 8 months ago 6dc9cee
gnu: cfitsio: Enable reentrant multithreading.

To build ESO’s Common Pipeline Library (CPL), CFITSIO has to be compiled
with enabled reentrant multithreading configure flag.

See: <https://www.eso.org/sci/software/cpl/download.html>

* gnu/packages/astronomy.scm (cfitsio)[arguments]<#:configure-flags>:
  Add "--enable-reentrant".

Change-Id: I75f36af8a9dc86becf4c7c764ade6f8e53f5a279
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 3 insertions(+), 1 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +3 -1
@@ 17,6 17,7 @@
;;; Copyright © 2024-2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2025 Vasilii Smirnov <vasilii.smirnov@mailbox.org>
;;; Copyright © 2025 Daniel Ziltener <dziltener@lyrion.ch>
;;; Copyright © 2025 Hugo Buddelmeijer <hugo@buddelmeijer.nl>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 631,7 632,8 @@ accurately in real time at any rate desired.")
    (arguments
     (list
      #:configure-flags
      #~(list (string-append "--with-bzip2=" #$(this-package-input "bzip2")))
      #~(list "--enable-reentrant"
              (string-append "--with-bzip2=" #$(this-package-input "bzip2")))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-paths