bonsai-team / matam

Mapping-Assisted Targeted-Assembly for Metagenomics
GNU Affero General Public License v3.0
19 stars 9 forks source link

Our bioconda recipe does not use the build.py script #95

Open loic-couderc opened 4 years ago

loic-couderc commented 4 years ago

Our Bioconda recipe does not use the same process to build MATAM. For maintenance purpose it will be better to use the same process.

loic-couderc commented 4 years ago

I have updated my fork: https://github.com/loic-couderc/bioconda-recipes/commit/5448ede955aa7ec56336710b331e5513663c85be To achieve this, update the bioconda recipe as follow: recipes/matam/build.sh

# replace
git submodule update --init --recursive -- componentsearch ovgraphbuild
# with
$PYTHON build.py

# remove
# use make CC=$CXX instead of make to avoid g++ not found
cd $SRC_DIR/componentsearch && make CC=$CXX

# remove
OVGRAPHBUILD_BUILD_DIR=$SRC_DIR/ovgraphbuild/build
mkdir $OVGRAPHBUILD_BUILD_DIR && cd $OVGRAPHBUILD_BUILD_DIR && cmake .. -G"CodeBlocks - Unix Makefiles" && make

recipes/matam/meta.yaml

# add in "host" section:
    - python >=3