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

Update paragraph to 2.3 #16539

Merged
merged 4 commits into from
Aug 29, 2019
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: 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