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

fixed flye build error (due to zlib) - package removed from blacklist #10335

Merged
merged 1 commit into from
Aug 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 0 additions & 3 deletions build-fail-blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -1801,9 +1801,6 @@ recipes/fiji/20151222
# flexbar not found
recipes/flexbar/3.3.0

# error: file '/opt/conda/conda-bld/flye_1531435054555/work/bin/flye-assemble' does not exist
recipes/flye

# Error: Could not find or load main class edu.duke.igsp.gkde.Main
recipes/fseq

Expand Down
18 changes: 18 additions & 0 deletions recipes/flye/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#!/bin/bash

#zlib headers for minimap
export C_INCLUDE_PATH="$PREFIX/include"
export LIBRARY_PATH="$PREFIX/lib"

#zlib headers for flye binaries
export CXXFLAGS="-I$PREFIX/include"
export LDFLAGS="-L$PREFIX/lib"

#patching Makefile so the CXXFLAGS and LDFLAGS are not overwritten.
#will fix this in the next release
sed -i.bak '10s/=/+=/' Makefile
sed -i.bak '11s/=/+=/' Makefile

#dynamic flag is needed for backtrace printing,
#but it seems it fails OSX build
sed -i.bak 's/-rdynamic//' src/Makefile

python setup.py build
python setup.py install --record record.txt.
2 changes: 2 additions & 0 deletions recipes/flye/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ build:
requirements:
build:
- {{ compiler('c') }}
- zlib
host:
- python
- zlib
run:
- python

Expand Down