Skip to content

Commit

Permalink
gemma 0.98 (#11254)
Browse files Browse the repository at this point in the history
* gemma 0.98

* gemma 0.98

Leave gsl and zlib out of runtime dependencies
  • Loading branch information
pjotrp authored and chapmanb committed Oct 10, 2018
1 parent 50a4109 commit 4f3f2d5
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions recipes/gemma/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -eu

export C_INCLUDE_PATH=${PREFIX}/include
export CPP_INCLUDE_PATH=${PREFIX}/include
export LIBRARY_PATH=${PREFIX}/lib

if [ "$(uname)" == "Darwin" ]; then
make EIGEN_INCLUDE_PATH=${PREFIX}/include/eigen3 CXX=clang++
else
make EIGEN_INCLUDE_PATH=${PREFIX}/include/eigen3
fi

mkdir -p ${PREFIX}/bin
cp bin/gemma ${PREFIX}/bin/gemma
33 changes: 33 additions & 0 deletions recipes/gemma/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{% set version='0.98' %}
package:
name: gemma
version: {{ version }}

# There are no OSX binaries yet, so just build on both platforms
source:
# Using a specific git checkout of 0.98 because of a minor fix in the Makefile
url: https://github.com/genetics-statistics/GEMMA/archive/93bdcb038b74b311d3a040f44606c25f5f9b20f9.tar.gz
sha256: beb3f5a57ee5d99fc48c3fec11ad8c95ee66053cd5b0bfa417881a77138f2ed6

build:
number: 0

requirements:
build:
- {{ compiler('cxx') }}
host:
- openblas
- eigen
- gsl
- zlib
run:
- openblas

test:
commands:
- gemma

about:
home: https://github.com/genetics-statistics/GEMMA
license: GPLv3
summary: Linear mixed models (LMMs) for genome-wide association (GWA)

0 comments on commit 4f3f2d5

Please sign in to comment.