gnu: plink-ng: Fix building on other architectures.

* gnu/packages/bioinformatics.scm (plink-ng)[arguments]: Adjust
make-flags to add simde includes to CFLAGS.
[native-inputs]: Add simde.
This commit is contained in:
Efraim Flashner 2022-07-28 23:47:40 +03:00
parent 99d1122f8b
commit e6bdd94c38
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6278,7 +6278,9 @@ (define-public plink-ng
(arguments
`(#:make-flags
,#~(list "BLASFLAGS=-llapack -lopenblas"
"CFLAGS=-Wall -O2 -DDYNAMIC_ZLIB=1"
(string-append "CFLAGS=-Wall -O2 -DDYNAMIC_ZLIB=1"
" -I" (search-input-directory
%build-inputs "include/simde"))
"ZLIB=-lz"
"BIN=plink prettify"
(string-append "CC=" #$(cc-for-target))
@ -6305,7 +6307,7 @@ (define-public plink-ng
(inputs
(list lapack openblas zlib))
(native-inputs
(list diffutils plink python)) ; for tests
(list diffutils plink python simde)) ; for tests
(home-page "https://www.cog-genomics.org/plink/")
(license license:gpl3+)))