-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add a recipe for kyber Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * Fix the version. Copy/paste error * Add clangdev as a build dependency * Update summary * Update to 0.6.0b and add license Signed-off-by: Martin Tzvetanov Grigorov <[email protected]> * update ti v0.6.0d * Update the sha --------- Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -xeuo | ||
|
||
export CFLAGS="${CFLAGS} -fcommon" | ||
export CXXFLAGS="${CFLAGS} -fcommon" | ||
|
||
cargo-bundle-licenses --format yaml --output THIRDPARTY.yml | ||
|
||
# build statically linked binary with Rust | ||
export LD=$CC | ||
C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path . --no-track |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{% set name = "kyber" %} | ||
{% set version = "0.6.0d" %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin='x.x') }} | ||
|
||
source: | ||
url: https://github.com/wdecoster/kyber/archive/refs/tags/v{{ version }}.tar.gz | ||
sha256: c5e3b59e486213329f485d339cdf18753ccca6e53c01cb3ddc5ad000cbd50d69 | ||
|
||
requirements: | ||
build: | ||
- autoconf | ||
- make | ||
- {{ compiler('cxx') }} | ||
- {{ compiler('rust') }} | ||
- pkg-config | ||
- cmake | ||
- cargo-bundle-licenses | ||
- clangdev | ||
host: | ||
run: | ||
|
||
test: | ||
commands: | ||
- kyber --help | ||
|
||
about: | ||
home: https://github.com/wdecoster/kyber | ||
license: MIT | ||
license_file: | ||
- LICENSE | ||
- THIRDPARTY.yml | ||
summary: Tool to create a length-accuracy heatmap from a cram or bam file | ||
dev_url: https://github.com/wdecoster/kyber | ||
|
||
extra: | ||
additional-platforms: | ||
- linux-aarch64 | ||
- osx-arm64 |