From e6bdd94c38c125395456444451726f3ffee66bab Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 28 Jul 2022 23:47:40 +0300 Subject: 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. --- gnu/packages/bioinformatics.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu') 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+))) -- cgit 1.4.1