Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gemma 0.98 #11254

Merged
merged 2 commits into from
Oct 10, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
35 changes: 35 additions & 0 deletions recipes/gemma/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{% 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
- gsl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gsl does not need to be speficied here as they have already run_exports defined I think: https://github.com/conda-forge/gsl-feedstock/blob/master/recipe/meta.yaml#L21

- zlib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for zlib, it might not be needed anymore as runtime dependency.


test:
commands:
- gemma

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