gnu: guile@2.2: Build with '-fexcess-precision=standard' on i686.
* gnu/packages/guile.scm (guile-2.2)[arguments]: New field. (guile-3.0)[arguments]: Inherit arguments from GUILE-2.0 instead of GUILE-2.2
This commit is contained in:
parent
5b674fe5c3
commit
9b09a753a9
1 changed files with 10 additions and 1 deletions
|
@ -270,6 +270,13 @@ without requiring the source code to be rewritten.")
|
||||||
(for-each delete-file
|
(for-each delete-file
|
||||||
(find-files "prebuilt" "\\.go$"))
|
(find-files "prebuilt" "\\.go$"))
|
||||||
#t))))
|
#t))))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments guile-2.0)
|
||||||
|
((#:configure-flags flags ''())
|
||||||
|
(if (target-x86-32?) ;<https://issues.guix.gnu.org/49368>
|
||||||
|
`(append ,flags '("CFLAGS=-g -O2 -fexcess-precision=standard"))
|
||||||
|
flags))))
|
||||||
|
|
||||||
(properties '((timeout . 72000) ;20 hours
|
(properties '((timeout . 72000) ;20 hours
|
||||||
(max-silent-time . 36000))) ;10 hours (needed on ARM
|
(max-silent-time . 36000))) ;10 hours (needed on ARM
|
||||||
; when heavily loaded)
|
; when heavily loaded)
|
||||||
|
@ -324,7 +331,7 @@ without requiring the source code to be rewritten.")
|
||||||
(package-propagated-inputs guile-2.2)
|
(package-propagated-inputs guile-2.2)
|
||||||
'("gmp" "libltdl")))
|
'("gmp" "libltdl")))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments guile-2.2)
|
(substitute-keyword-arguments (package-arguments guile-2.0)
|
||||||
((#:configure-flags flags ''())
|
((#:configure-flags flags ''())
|
||||||
;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
|
;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
|
||||||
`(cons* ,@(if (hurd-target?)
|
`(cons* ,@(if (hurd-target?)
|
||||||
|
@ -334,6 +341,8 @@ without requiring the source code to be rewritten.")
|
||||||
;; i686-linux, otherwise "numbers.test" will fail
|
;; i686-linux, otherwise "numbers.test" will fail
|
||||||
;; (see <https://issues.guix.gnu.org/49368> and
|
;; (see <https://issues.guix.gnu.org/49368> and
|
||||||
;; <https://issues.guix.gnu.org/49659>).
|
;; <https://issues.guix.gnu.org/49659>).
|
||||||
|
;; TODO: Keep this in GUILE-2.2 and remove from here on next
|
||||||
|
;; rebuild cycle.
|
||||||
,@(if (target-x86-32?)
|
,@(if (target-x86-32?)
|
||||||
'("CFLAGS=-g -O2 -fexcess-precision=standard")
|
'("CFLAGS=-g -O2 -fexcess-precision=standard")
|
||||||
'())
|
'())
|
||||||
|
|
Reference in a new issue