Skip to content

Commit

Permalink
Created SCIPhI recipe (#14316)
Browse files Browse the repository at this point in the history
ℹ️
Bioconda has finished the [GCC7 migration](#13578). If you are dealing with C/C++ or Python package it can be that you need to rebuild other dependent packages. [Bioconda utils - update-pinning](https://bioconda.github.io/updating.html#updating-recipes-for-a-pinning-change) will assist you with that. If you have any questions please use [issue 13578](#13578).

----------------

* [x] I have read the [guidelines for bioconda recipes](https://bioconda.github.io/guidelines.html).
* [x] This PR adds a new recipe.
* [x] AFAIK, this recipe **is directly relevant to the biological sciences** (otherwise, please submit to the more general purpose [conda-forge channel](https://conda-forge.org/docs/)).
* [ ] This PR updates an existing recipe.
* [ ] This PR does something else (explain below).
  • Loading branch information
singerj authored and bgruening committed Apr 14, 2019
1 parent e3f8169 commit cb8e5a7
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
17 changes: 17 additions & 0 deletions recipes/sciphi/v0.1.4/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# conda on macOS will fall back to libstdc++
# which lacks a ton of standard C++11 headers
if [[ $(uname) == Darwin ]]; then
export CXXFLAGS="${CXXFLAGS} -stdlib=libc++"
fi

curdir=$(pwd)

mkdir -p build
cd build

cmake -DDLIB_NO_GUI_SUPPORT=ON -DBUILD_DIAGNOSTICS=OFF -DBOOST_ROOT="${PREFIX}" -DDLIB_INCLUDEDIR="${curdir}/dlib/" ..
cmake --build . --config Release

mv sciphi "${PREFIX}/bin"
34 changes: 34 additions & 0 deletions recipes/sciphi/v0.1.4/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{% set name = "sciphi" %}
{% set version = "0.1.4" %}
{% set sha256 = "9ed6e0bf87cc503d840569c1277c24a58c3a3d59517326b2eb5ade91edea86aa" %}

source:
sha256: {{ sha256 }}
url: https://github.com/cbg-ethz/SCIPhI/releases/download/v{{ version }}/SCIPhI-{{ version }}.tar.bz2

build:
number: 0

package:
name: {{ name }}
version: {{ version }}

requirements:
build:
- {{ compiler('cxx') }}
- cmake >=3.8
host:
- boost-cpp
- zlib
run:
- boost-cpp

test:
commands:
- sciphi -h

about:
home: https://github.com/cbg-ethz/SCIPhI
license: GNU GENERAL PUBLIC LICENSE Version 3 for SCIPhI and Boost Software License - Version 1.0 for dlib (as an upstream project)
summary: "Single-cell mutation identification via phylogenetic inference"
license_file: LICENSE

0 comments on commit cb8e5a7

Please sign in to comment.