Skip to content

Commit

Permalink
Update paragraph to 2.3 (#16539)
Browse files Browse the repository at this point in the history
Package uploads complete: [ci skip]
 - biocontainers/paragraph:2.3--h8908b6f_0
 - linux-64/paragraph-2.3-h8908b6f_0.tar.bz2

Co-authored-by: dpryan79 <[email protected]>
Co-authored-by: Devon Ryan <[email protected]>
  • Loading branch information
3 people authored and biocondabot[bot] committed Aug 29, 2019
1 parent 6e9a052 commit c633590
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
3 changes: 2 additions & 1 deletion recipes/paragraph/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ sed -i.bak "s/-Werror //" src/cmake/cxx.cmake

# external htslib.a means we need -lz and co
sed -i.bak "s/\${LIBLZMA_LIBRARIES}/\${LIBLZMA_LIBRARIES} \${LIBBZIP2_LIBRARIES} \${LIBZLIB_LIBRARIES}/;s/libhts.a/libhts.so/" src/cmake/GetHtslib.cmake
sed -i.bak "53d" CMakeLists.txt

mkdir build
pushd build
export HTSLIB_INSTALL_PATH=${PREFIX}
cmake ../ -DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_C_COMPILER=${CC} -DBOOST_ROOT=${PREFIX} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DHTSLIB_INSTALL_PATH=${PREFIX} -DCMAKE_CXX_FLAGS="${CXXFLAGS} -Wno-deprecated-declarations"
cmake ../ -DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_C_COMPILER=${CC} -DBOOST_ROOT=${BUILD_PREFIX} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DHTSLIB_INSTALL_PATH=${PREFIX} -DCMAKE_CXX_FLAGS="${CXXFLAGS} -Wno-deprecated-declarations"
make
make install
12 changes: 5 additions & 7 deletions recipes/paragraph/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
{% set name = "paragraph" %}
{% set version = "2.2b" %}
{% set version = "2.3" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://github.com/Illumina/{{ name }}/archive/v{{ version }}.tar.gz
sha256: 9ee8f566c1c8159e3ec850dd682739c9913e540a66d9dd610e0cfc51a526bddc
sha256: 6394314e42005026893a305362a1fed58d37f2ca02ed5fc6c54d4c5d12caf1eb

build:
skip: True # [py27 or osx]
skip: True # [osx]
number: 0

requirements:
build:
- "{{ compiler('c') }}"
- "{{ compiler('cxx') }}"
- cmake
host:
- python
- boost-cpp
- boost
host:
- htslib
- zlib
- bzip2
run:
- python
- python >=3
- htslib
- zlib
- bzip2
Expand Down

0 comments on commit c633590

Please sign in to comment.