summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-07-28 23:47:40 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-07-28 23:47:40 +0300
commite6bdd94c38c125395456444451726f3ffee66bab (patch)
treeb50996072f7520e4cc198c70d495e9f466b12294
parent99d1122f8bf99ca8a87bda9c3f6996258131fa24 (diff)
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.
-rw-r--r--gnu/packages/bioinformatics.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1ae88bd658..95e91b47f3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -6278,7 +6278,9 @@ subsequent visualization, annotation and storage of results.")
(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 @@ subsequent visualization, annotation and storage of results.")
(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+)))