guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 02/02: gnu: plink-ng: Fix building on other architectures.
Date: Thu, 28 Jul 2022 19:16:00 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit e6bdd94c38c125395456444451726f3ffee66bab
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 28 23:47:40 2022 +0300

    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(-)

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+)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]