Skip to content

Commit

Permalink
Update libmaus2 to v2.0.183
Browse files Browse the repository at this point in the history
  • Loading branch information
mencian committed Nov 18, 2024
1 parent bd51407 commit 2fbd5e0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 17 deletions.
11 changes: 9 additions & 2 deletions recipes/libmaus2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
set -eu
export LIBS="-lstdc++fs -lcurl"

./configure --prefix $PREFIX --with-snappy --with-io_lib
autoreconf -if
autoupdate
./configure --prefix="${PREFIX}" CXX="${CXX}" CC="${CC}" \
LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" \
CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \
--with-snappy --with-io_lib --with-libdeflate \
--with-libsecrecy --with-nettle --with-parasail \
--with-lzma --with-gmp

cat config.log

make -j${CPU_COUNT}
make -j"${CPU_COUNT}"
make install
39 changes: 24 additions & 15 deletions recipes/libmaus2/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set name = "libmaus2" %}
{% set version = "2.0.810" %}
{% set datestamp = "20220216151520" %}
{% set sha256hash = "6639289aba6bbece3057ab7d1782a1b94b80a9ae22fc3d136a78ba8f7b9edaee" %}
{% set version = "2.0.813" %}
{% set datestamp = "20221210220409" %}
{% set sha256 = "4125f8daefd6900185675026498369457088e25e81029597659249be49cd5261" %}

package:
name: {{ name }}
Expand All @@ -10,13 +10,13 @@ package:
build:
# There's some issue with clang
skip: True # [osx]
number: 6
number: 0
run_exports:
- {{ pin_subpackage('libmaus2', max_pin='x.x') }}
- {{ pin_subpackage('libmaus2', max_pin='x') }}

source:
url: https://gitlab.com/german.tischler/libmaus2/-/archive/{{ version }}-release-{{ datestamp }}/libmaus2-{{ version }}-release-{{ datestamp }}.tar.gz
sha256: {{ sha256hash }}
sha256: {{ sha256 }}
patches:
# Until gcc >=8 is being used
- patch
Expand All @@ -26,31 +26,40 @@ requirements:
- make
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- autoconf
- automake
- libtool
- pkg-config
host:
- boost-cpp
- libcurl
# snappy 1.1.9 introduced a binary incompatible build change (https://github.com/mhx/dwarfs/issues/56#issuecomment-896857211)
# enabling -fno-rtti. libmaus needs typeid, which is only available with activated rtti.
# Hence, we stick with snappy 1.1.8
- snappy =1.1.8
- snappy =1.1.8
- staden_io_lib >=1.14.14
- libdeflate
- gmp
- nettle
- parasail-python
run:
- boost-cpp
- libcurl
- snappy =1.1.8
- staden_io_lib >=1.14.14
ignore_run_exports:
- snappy

about:
home: https://gitlab.com/german.tischler/libmaus2
license: GPL3
summary: collection of data structures and algorithms for NGS data
- parasail-python

test:
commands:
- echo

about:
home: https://gitlab.com/german.tischler/libmaus2
license: GPL-3.0-or-later
license_family: GPL3
license_file: GPLv3
summary: "Collection of data structures and algorithms for NGS data."
dev_url: https://gitlab.com/german.tischler/libmaus2

extra:
additional-platforms:
- linux-aarch64

0 comments on commit 2fbd5e0

Please sign in to comment.