GNU bug report logs -
#66896
[PATCH 0/5] elemental: Update to 0.87.7-0.6eb15a0, fix build.
Previous Next
Full log
Message #35 received at 66896 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/multiprecision.scm (qd): Adjust package style by using
G-expressions.
Change-Id: I9265979343e67d1d9e9e69b7b071ea1e429d3ee4
---
gnu/packages/multiprecision.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index 3aa5dccfab..11afcfe4a0 100644
--- a/gnu/packages/multiprecision.scm
+++ b/gnu/packages/multiprecision.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke <at> gnu.org>
+;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus <at> gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -263,18 +264,18 @@ (define-public qd
(native-inputs
(list gfortran))
(arguments
- `(#:configure-flags `("--disable-enable_fma" ;weird :/
- "--disable-static"
- "--enable-shared"
- ,,@(if (string-prefix? "aarch64"
- (or (%current-target-system)
- (%current-system)))
- ;; XXX: The qd_test test fails numerical
- ;; accuracy checks for 'dd_real::exp()' on
- ;; aarch64 with GCC 5.4 at -O2. Disabling
- ;; expensive optimizations lets it pass.
- '("CXXFLAGS=-O3 -fno-expensive-optimizations")
- '("CXXFLAGS=-O3")))))
+ (list
+ #:configure-flags
+ #~(list "--disable-enable_fma" ;weird :/
+ "--disable-static"
+ "--enable-shared"
+ #$@(if (target-aarch64?)
+ ;; XXX: The qd_test test fails numerical
+ ;; accuracy checks for 'dd_real::exp()' on
+ ;; aarch64 with GCC 5.4 at -O2. Disabling
+ ;; expensive optimizations lets it pass.
+ '("CXXFLAGS=-O3 -fno-expensive-optimizations")
+ '("CXXFLAGS=-O3")))))
(home-page "https://www.davidhbailey.com/dhbsoftware/")
(synopsis "Double-double and quad-double library")
(description "This package supports both a double-double
base-commit: 0647f308b46b7ba7aa136068712f8d82d69d1a35
--
2.41.0
This bug report was last modified 1 year and 183 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.