Skip to content
Open
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
28 changes: 27 additions & 1 deletion .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
use-configure: use-configure
compiler: clang
use-libdeflate: use-libdeflate
use-isal: no-isal
sanitize: no-sanitize
run-extra-checks: no-extra-checks

Expand All @@ -29,6 +30,7 @@ jobs:
use-configure: use-configure
compiler: gcc
use-libdeflate: use-libdeflate
use-isal: no-isal
sanitize: sanitize
run-extra-checks: no-extra-checks

Expand All @@ -37,6 +39,7 @@ jobs:
use-configure: no-configure
compiler: gcc
use-libdeflate: use-libdeflate
use-isal: no-isal
sanitize: no-sanitize
run-extra-checks: run-extra-checks

Expand All @@ -45,6 +48,7 @@ jobs:
use-configure: use-configure
compiler: gcc
use-libdeflate: use-libdeflate
use-isal: no-isal
sanitize: no-sanitize
run-extra-checks: no-extra-checks

Expand All @@ -53,9 +57,27 @@ jobs:
use-configure: use-configure
compiler: gcc
use-libdeflate: no-libdeflate
use-isal: no-isal
sanitize: sanitize
run-extra-checks: no-extra-checks

# x86-64, gcc, configure, isal, sanitize
- os: ubuntu-latest
use-configure: use-configure
compiler: gcc
use-libdeflate: no-libdeflate
use-isal: use-isal
sanitize: sanitize
run-extra-checks: no-extra-checks

# x86-64, gcc, configure, isal, libdeflate, sanitize
- os: ubuntu-latest
use-configure: use-configure
compiler: gcc
use-libdeflate: use-libdeflate
use-isal: use-isal
sanitize: sanitize
run-extra-checks: no-extra-checks
env:
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1

Expand All @@ -72,14 +94,18 @@ jobs:
run: |
autoconf_pkgs=""
deflate_pkgs=""
isal_pkgs=""
if [ '${{ matrix.use-configure }}' = 'use-configure' ] ; then
autoconf_pkgs="autoconf automake"
fi
if [ '${{ matrix.use-libdeflate }}' = 'use-libdeflate' ] ; then
deflate_pkgs="libdeflate-dev"
fi
if [ '${{ matrix.use-isal}}' = 'use-isal' ] ; then
isal_pkgs="libisal-dev"
fi
sudo apt-get update
sudo apt-get install -y --no-install-suggests --no-install-recommends $autoconf_pkgs make ${{ matrix.compiler }} perl zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev $deflate_pkgs
sudo apt-get install -y --no-install-suggests --no-install-recommends $autoconf_pkgs make ${{ matrix.compiler }} perl zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev $deflate_pkgs $isal_pkgs

- name: Configure
if: ${{ matrix.use-configure == 'use-configure' }}
Expand Down
11 changes: 11 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ a development ('-dev' or '-devel') package separate from the main library.
libcurl (optional, but strongly recommended)
libcrypto (optional for Amazon S3 support; not needed on MacOS)
libdeflate (optional, but strongly recommended for faster gzip)
isa-l (optional, but strongly recommended for faster "fast" level of gzip)

Disabling libbzip2 and liblzma will make some CRAM files unreadable, so
is not recommended.

ISA-L is available as libisal on Debian-based linux distributions and as isa-l
on conda-forge.

Using libcurl provides HTSlib with network protocol support, for
example it enables the use of ftp://, http://, and https:// URLs.
It is also required if direct access to Amazon S3 or Google Cloud
Expand Down Expand Up @@ -182,6 +186,13 @@ various features and specify further optional external requirements:
By default, ./configure will probe for libdeflate and use it if
available. To prevent this, use --without-libdeflate.

--with-isal
ISA-L is another heavily optimized library for DEFLATE-based compression
and decompression. It provides a few very fast compression levels at
similar size of level 1. It also includes a fast gzip stream decoder.
By default, ./configure will probe for isa-l and use it if
available. To prevent this, use --without-isal.

Each --enable-FEATURE/--disable-FEATURE/--with-PACKAGE/--without-PACKAGE
option listed also has an opposite, e.g., --without-external-htscodecs
or --disable-plugins. However, apart from those options for which the
Expand Down
Loading
Loading