File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eu
33
4- export C_INCLUDE_PATH= ${ PREFIX} /include
5- export CPP_INCLUDE_PATH= ${ PREFIX} /include
6- export LIBRARY_PATH= ${PREFIX} /lib
4+ export CPPFLAGS= " ${CPPFLAGS} -I ${ PREFIX} /include"
5+ export LDFLAGS= " ${LDFLAGS} -L ${ PREFIX} /lib "
6+ export CXXFLAGS= " ${CXXFLAGS} -O3 -DHAVE_INLINE -pthread -Wall -std=c++14 "
77
8- make release
8+ mkdir -p " ${PREFIX} /bin "
99
10- mkdir -p ${PREFIX} /bin
11- cp bin/gemma ${PREFIX} /bin/gemma
10+ case $( uname -m) in
11+ aarch64)
12+ export CXXFLAGS=" ${CXXFLAGS} -march=armv8-a"
13+ ;;
14+ arm64)
15+ export CXXFLAGS=" ${CXXFLAGS} -march=armv8.4-a"
16+ ;;
17+ x86_64)
18+ export CXXFLAGS=" ${CXXFLAGS} -march=x86-64-v3"
19+ ;;
20+ esac
21+
22+ sed -i.bak " s|-lgsl -lz|-L${PREFIX} /lib -lgsl -lz|" Makefile
23+ rm -f * .bak
24+
25+ make GCC_FLAGS=" ${CXXFLAGS} " release
26+
27+ install -v -m 0755 bin/gemma " ${PREFIX} /bin"
Original file line number Diff line number Diff line change 1- {% set version='0.98.5' %}
1+ {% set version = "0.98.5" %}
2+
23package :
34 name : gemma
45 version : {{ version }}
@@ -9,16 +10,17 @@ source:
910 sha256 : 3ed336deee29e370f96ec8f1a240f7b62550e57dcd1694245ce7ec8f42241677
1011
1112build :
12- number : 0
13+ number : 1
1314 run_exports :
1415 - {{ pin_subpackage('gemma', max_pin="x.x") }}
1516
1617requirements :
1718 build :
1819 - make
1920 - {{ compiler('cxx') }}
21+ - pkg-config
2022 host :
21- - gsl =2
23+ - gsl
2224 - openblas
2325 - eigen
2426 - zlib
3032 - gemma
3133
3234about :
33- home : https://github.com/genetics-statistics/GEMMA
34- license : GPLv3
35+ home : " https://github.com/genetics-statistics/GEMMA"
36+ license : " GPL-3.0-or-later"
37+ license_family : GPL3
3538 license_file : LICENSE
36- summary : Linear mixed models (LMMs) for genome-wide association (GWA)
39+ summary : " Linear mixed models (LMMs) for genome-wide association (GWA)."
40+ dev_url : " https://github.com/genetics-statistics/GEMMA"
41+ doc_url : " https://github.com/genetics-statistics/GEMMA/blob/v{{ version }}/README.md"
42+
43+ extra :
44+ additional-platforms :
45+ - linux-aarch64
46+ # src/debug.cpp:108:24: error: no member named '__control' in 'fenv_t'
47+ # src/debug.cpp:112:10: error: no member named '__mxcsr' in 'fenv_t'
48+ # - osx-arm64
49+ identifiers :
50+ - usegalaxy-eu:gemma
51+ - biotools:gemma_algorithm
52+ - doi:10.1038/ng.2310
53+ skip-lints :
54+ - compiler_needs_stdlib_c
You can’t perform that action at this time.
0 commit comments