hyunminkang / apigenome

Libraries and command-line utilities for big data genomic analysis
Apache License 2.0
9 stars 5 forks source link

Create a working .travis.yml #2

Open mmterpstra opened 7 years ago

mmterpstra commented 7 years ago

Please consider updating this .travis.yml by forking this branch and then squash commits and merge into sandbox.

This will also help with my issue below: Our cluster the install is quite a pain because new automake/autconf features. I could spend a day or two trying to fix the possible issues or create a good starting point to fix this using travis. Me of course did the latter and this is what I got. problems:

ghuls commented 7 years ago

I also had problems compiling apigenome.

The instructions above helped a lot.

I only had a small problem. HTSlib is now version 1.4 and requires also libbzip2 and liblzma (and libcurl), so I guess the following line should be changed in src/Makefile.am:

bcfast_LDADD = ../htslib/libhts.a -lpthread

cramore_LDADD = ../htslib/libhts.a -lpthread -lgomp
bcfast_LDADD = ../htslib/libhts.a -lpthread -lbz2 -llzma -lcurl

cramore_LDADD = ../htslib/libhts.a -lpthread -lgomp -lbz2 -llzma -lcurl
mmterpstra commented 7 years ago

Ok added at mmterpstra-patch-travis although it still won't build on travis: https://travis-ci.org/mmterpstra/apigenome/builds

ghuls commented 7 years ago

I think libzip-dev is not needed.

Like mentioned in https://github.com/hyunminkang/apigenome/issues/1 I still had to copy htslib/Makefile to htslib/Makefile.im.

I also ran:

autoheader
autoreconf
./configure

# For some reason ./configure generates a libtool in the current dir from Debian which is incompatible with the autoconf version I have installed.
cp /usr/bin/libtool libtool

make
mmterpstra commented 7 years ago

after some fumbeling around now the .travis.yml works. Good luck porting to yer system. Also see #3 for the code