Skip to content

Commit

Permalink
add C compiler as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-luna-valero committed Mar 9, 2016
1 parent d4ee9fe commit 9059f37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions recipes/pysam/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sed -i'' -e 's/"-Wno-error=declaration-after-statement"//g' setup.py
# linking htslib, see:
# http://pysam.readthedocs.org/en/latest/installation.html#external
# https://github.com/pysam-developers/pysam/blob/v0.9.0/setup.py#L79
#export HTSLIB_LIBRARY_DIR=$PREFIX/lib:$HTSLIB_LIBRARY_DIR
#export HTSLIB_INCLUDE_DIR=$PREFIX/include:$HTSLIB_INCLUDE_DIR
#export HTSLIB_LIBRARY_DIR=$PREFIX/lib
#export HTSLIB_INCLUDE_DIR=$PREFIX/include
sed -i'' -e 's/HTSLIB_MODE = \"shared\"/HTSLIB_MODE = \"separate\"/g' setup.py
$PYTHON setup.py install
5 changes: 4 additions & 1 deletion recipes/pysam/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ source:
md5: 66913000ff50817bdcf56dfd3a52396f

build:
number: 0
number: 1

requirements:
build:
- gcc # [linux]
- llvm # [osx]
- htslib
- samtools
- bcftools
Expand All @@ -20,6 +22,7 @@ requirements:
- setuptools

run:
- libgcc # [linux]
- htslib
- samtools
- bcftools
Expand Down

0 comments on commit 9059f37

Please sign in to comment.