[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/27: gnu: qd: Use G-expressions.
From: |
guix-commits |
Subject: |
01/27: gnu: qd: Use G-expressions. |
Date: |
Sat, 18 Nov 2023 20:57:46 -0500 (EST) |
bavier pushed a commit to branch master
in repository guix.
commit 1f4fb3f47c0bb69a8f73b9d16d60905d5667f4a5
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 5 14:56:18 2023 +0000
gnu: qd: Use G-expressions.
* gnu/packages/multiprecision.scm (qd): Adjust package style by using
G-expressions.
Change-Id: I9265979343e67d1d9e9e69b7b071ea1e429d3ee4
Signed-off-by: Eric Bavier <bavier@posteo.net>
---
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@posteo.net>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -263,18 +264,18 @@ error. Additionally, iRRAM uses the concept of
multi-valued functions.")
(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
- branch master updated (2ab5e44924 -> b7abea0fd6), guix-commits, 2023/11/18
- 06/27: gnu: celestia: Update to 1.6.4., guix-commits, 2023/11/18
- 07/27: gnu: gpredict: Improve package style., guix-commits, 2023/11/18
- 08/27: gnu: libpasastro: Update to 1.4.1., guix-commits, 2023/11/18
- 09/27: gnu: python-asdf-3.0: Update to 3.0.1., guix-commits, 2023/11/18
- 01/27: gnu: qd: Use G-expressions.,
guix-commits <=
- 04/27: gnu: elemental: Remove input labels., guix-commits, 2023/11/18
- 03/27: gnu: elemental: Update to 0.87.7-0.6eb15a0., guix-commits, 2023/11/18
- 05/27: gnu: elemental: Update package style., guix-commits, 2023/11/18
- 13/27: gnu: python-fitsio: Update to 1.2.1., guix-commits, 2023/11/18
- 14/27: gnu: python-jplephem: Update to 2.20., guix-commits, 2023/11/18
- 15/27: gnu: python-pynbody: Update to 1.4.2., guix-commits, 2023/11/18
- 11/27: gnu: python-casa-formats-io: Update to 0.2.2., guix-commits, 2023/11/18
- 16/27: gnu: python-pynbody: Prepare for cross compilation., guix-commits, 2023/11/18
- 17/27: gnu: python-rad: Update to 0.18.0., guix-commits, 2023/11/18
- 18/27: gnu: python-roman-datamodels: Update to 0.18.0., guix-commits, 2023/11/18