mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: gemma: Fix building on 32-bit architectures.
* gnu/packages/bioinformatics.scm (gemma)[arguments]: On 32-bit architectures add 'FORCE_32BIT' flag.
This commit is contained in:
parent
9ffc1f0e95
commit
2c9232ae69
1 changed files with 12 additions and 4 deletions
|
@ -97,7 +97,8 @@ (define-module (gnu packages bioinformatics)
|
|||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (gnu packages zip)
|
||||
#:use-module (srfi srfi-1))
|
||||
#:use-module (srfi srfi-1)
|
||||
#:use-module (srfi srfi-26))
|
||||
|
||||
(define-public r-ape
|
||||
(package
|
||||
|
@ -2718,19 +2719,26 @@ (define-public gemma
|
|||
("zlib" ,zlib)))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags '("FORCE_DYNAMIC=1") ; use shared libs
|
||||
`(#:make-flags
|
||||
'(,@(if (any (cute string-prefix? <> (or (%current-system)
|
||||
(%current-target-system)))
|
||||
'("x86_64" "mips64el" "aarch64"))
|
||||
'("FORCE_DYNAMIC=1") ; use shared libs
|
||||
'("FORCE_DYNAMIC=1" "FORCE_32BIT=1")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'build 'bin-mkdir
|
||||
(lambda _
|
||||
(mkdir-p "bin")))
|
||||
(mkdir-p "bin")
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(install-file "bin/gemma"
|
||||
(string-append
|
||||
out "/bin"))))))
|
||||
out "/bin")))
|
||||
#t)))
|
||||
#:tests? #f)) ; no tests included yet
|
||||
(home-page "https://github.com/xiangzhou/GEMMA")
|
||||
(synopsis "Tool for genome-wide efficient mixed model association")
|
||||
|
|
Loading…
Reference in a new issue