Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #354 from wtsi-npg/devel
Browse files Browse the repository at this point in the history
Pull from devel to master to create release 4.6.0
  • Loading branch information
mksanger authored Nov 23, 2022
2 parents c7c4d06 + 3d0cd58 commit fe89fb3
Show file tree
Hide file tree
Showing 28 changed files with 344 additions and 450 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

defaults:
run:
Expand Down
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [4.6.0]

### Added

#### Recipes
- samtools 1.16.1
- bcftools 1.16
- htslib 1.16

#### Features

### Removed

#### Recipes
- irods 4.2.10

### Changed
- Github Actions: Move from ubuntu-18.04 to ubuntu-latest

#### Recipes
- Build config with compiler version and cflags and increment build number:
- avrocpp 1.8.2, 1.9.0
- boost 1.73.0
- Remove irods 4.2.10 from build config:
- baton 3.1.0, 3.2.0, 3.3.0, 4.0.0
- htslib-plugins 201712
- Update release url:
- libarchive

## [4.5.0]

### Added
Expand Down
16 changes: 16 additions & 0 deletions recipes/avrocpp/1.8.2/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
c_compiler_version:
- 9.3

cxx_compiler_version:
- 9.3

CFLAGS: >-
-O2
-fPIC
-ffunction-sections
-fno-plt
-fstack-protector-strong
-ftree-vectorize
-march=x86-64
-mtune=generic
-pipe
2 changes: 1 addition & 1 deletion recipes/avrocpp/1.8.2/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source:
sha1: {{ hash }}

build:
number: 4
number: 5

requirements:
build:
Expand Down
16 changes: 16 additions & 0 deletions recipes/avrocpp/1.9.0/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
c_compiler_version:
- 9.3

cxx_compiler_version:
- 9.3

CFLAGS: >-
-O2
-fPIC
-ffunction-sections
-fno-plt
-fstack-protector-strong
-ftree-vectorize
-march=x86-64
-mtune=generic
-pipe
2 changes: 1 addition & 1 deletion recipes/avrocpp/1.9.0/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source:
sha1: {{ hash }}

build:
number: 4
number: 5

requirements:
build:
Expand Down
1 change: 0 additions & 1 deletion recipes/baton/3.1.0/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

irods:
- 4.2.7
- 4.2.10
1 change: 0 additions & 1 deletion recipes/baton/3.2.0/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

irods:
- 4.2.7
- 4.2.10
- 4.2.11
1 change: 0 additions & 1 deletion recipes/baton/3.3.0/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

irods:
- 4.2.7
- 4.2.10
- 4.2.11
1 change: 0 additions & 1 deletion recipes/baton/4.0.0/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

irods:
- 4.2.7
- 4.2.10
- 4.2.11
11 changes: 11 additions & 0 deletions recipes/bcftools/1.16/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

set -ex

n="$CPU_COUNT"

./configure --prefix="$PREFIX" --with-htslib="$PREFIX" \
CPPFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib"

make -j "$n"
make install prefix="$PREFIX"
36 changes: 36 additions & 0 deletions recipes/bcftools/1.16/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{% set version = "1.16" %} # reset build to zero on changing
{% set upstream_version = "1.16" %}
{% set htslib_version = "1.16" %} # Bump build version on change
{% set sha256 = "90bf647c9ad79e10a243b8058c873de057fd7012e250d5ae6574839787a2ecd6" %}

package:
name: bcftools
version: "{{ version }}"

about:
home: https://github.com/samtools/bcftools
license: MIT
summary: VCF commands and BCF calling.

build:
number: 0

source:
url: https://github.com/samtools/bcftools/releases/download/{{ upstream_version }}/bcftools-{{ upstream_version }}.tar.bz2
fn: bcftools-{{ upstream_version }}.tar.bz2
sha256: {{ sha256 }}

requirements:
build:
- {{ compiler("c") }}
- make
host:
- libhts-dev =={{ htslib_version }}
- libz-dev
run:
- libhts =={{ htslib_version }}
- libz

test:
commands:
- bcftools --help
6 changes: 6 additions & 0 deletions recipes/boost/1.73.0/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
c_compiler_version:
- 9.3

cxx_compiler_version:
- 9.3

CFLAGS: >-
-O2
-fPIC
Expand Down
2 changes: 1 addition & 1 deletion recipes/boost/1.73.0/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ about:
summary: "Free peer-reviewed portable C++ source libraries."

build:
number: 2
number: 3

source:
url: https://boostorg.jfrog.io/artifactory/main/release/{{ version }}/source/boost_{{ alt_version }}.tar.bz2
Expand Down
1 change: 0 additions & 1 deletion recipes/htslib-plugins/201712/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

irods:
- 4.2.7
- 4.2.10
- 4.2.11
24 changes: 24 additions & 0 deletions recipes/htslib/1.16/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh

set -ex

n="$CPU_COUNT"

pushd htslib

autoheader
autoconf

./configure \
--prefix="$PREFIX" \
--with-libdeflate \
--enable-libcurl \
--enable-s3 \
--enable-gcs \
--enable-plugins \
CC="$GCC" CPPFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib"

make -j "$n" AR="$AR"
make install prefix="$PREFIX"
popd

120 changes: 120 additions & 0 deletions recipes/htslib/1.16/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{% set version = "1.16" %} # reset build to zero on changing
{% set htslib_rev = "4e61c128238f3e7cbb3b1f4e9c0fdb4880aa9a10" %}

package:
name: htslib-pkg
version: "{{ version }}"

about:
home: https://github.com/samtools/htslib
license: MIT
summary: C library for high-throughput sequencing data formats.

build:
number: 0

source:
- git_url: https://github.com/samtools/htslib.git
git_rev: {{ htslib_rev }}
folder: htslib

requirements:
build:
- {{ compiler("c") }}
- autoconf
- automake
- make
- perl
host:
- libbz2-dev
- libcurl-dev
- libdeflate-dev
- liblzma-dev
- libssl-dev
- libz-dev
run:
- libbz2
- libcurl
- libdeflate
- liblzma
- libssl
- libz

outputs:
- name: htslib
version: {{ version }}
requirements:
build:
- {{ compiler("c") }}
- autoconf
- automake
- make
- perl
host:
- libbz2-dev
- libcurl-dev
- libdeflate-dev
- liblzma-dev
- libssl-dev
- libz-dev
run:
- {{ pin_subpackage("libhts", exact=True) }}
- libbz2
- libcurl
- libdeflate
- liblzma
- libssl
- libz
files:
- bin/bgzip
- bin/htsfile
- bin/tabix
- share/man/man1/htsfile.1
- share/man/man1/tabix.1

- name: libhts
version: {{ version }}
requirements:
build:
- {{ compiler("c") }}
- autoconf
- automake
- make
- perl
host:
- libbz2-dev
- libcurl-dev
- libdeflate-dev
- liblzma-dev
- libssl-dev
- libz-dev
run:
- libbz2
- libcurl
- libdeflate
- liblzma
- libssl
- libz
files:
- libexec/htslib
- lib/libhts.so*
test:
commands:
- test -h ${PREFIX}/lib/libhts.so
- test -f ${PREFIX}/libexec/htslib/hfile_libcurl.so

- name: libhts-dev
version: {{ version }}
requirements:
run:
- {{ pin_subpackage("libhts", exact=True) }}
files:
- include/htslib
- lib/libhts.a
- share/man/man5/faidx.5
- share/man/man5/sam.5
- share/man/man5/vcf.5
test:
commands:
- test -f ${PREFIX}/lib/libhts.a
- test -f ${PREFIX}/include/htslib/sam.h
Loading

0 comments on commit fe89fb3

Please sign in to comment.