-
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 lrge v0.1.0 * fix incorrect usage of stdlib * remove comment * skip whitespace lint * specify package to install * specify bin instead of package * specify path to bin crate * add zlib to requirements * update to 0.1.1 * move to build script and set CFLAGS * try bindgen flags * try rustflags * add clangdev
- Loading branch information
Showing
2 changed files
with
59 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 -euo pipefail | ||
|
||
export INCLUDE_PATH="${PREFIX}/include" | ||
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" | ||
export CFLAGS="${CFLAGS} -O3 -fcommon" | ||
export CXXFLAGS="${CFLAGS} -O3 -fcommon -I${PREFIX}/include" | ||
|
||
cargo-bundle-licenses --format yaml --output THIRDPARTY.yml | ||
|
||
RUST_BACKTRACE=full RUSTFLAGS="-C linker=$CC" cargo install -v --locked --no-track --root "$PREFIX" --path lrge |
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,47 @@ | ||
{% set version = "0.1.1" %} | ||
{% set name = "lrge" %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/mbhall88/{{ name }}/archive/{{ name }}-{{ version }}.tar.gz | ||
sha256: 768b26435c8afa3eda00889818937276a0f0b0b8a2f0e3e17d67f183915c3da2 | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage('lrge', max_pin="x.x") }} | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('rust') }} | ||
- cargo-bundle-licenses | ||
- {{ compiler('c') }} | ||
- {{ stdlib('c') }} | ||
- zlib | ||
host: | ||
- zlib | ||
- clangdev | ||
|
||
test: | ||
commands: | ||
- lrge --version | ||
|
||
about: | ||
home: https://github.com/mbhall88/lrge | ||
license: MIT | ||
license_file: | ||
- LICENSE | ||
- THIRDPARTY.yml | ||
summary: Genome size estimation from long read overlaps | ||
|
||
extra: | ||
skip-lints: | ||
- version_constraints_missing_whitespace # see https://github.com/bioconda/bioconda-recipes/issues/51185 | ||
additional-platforms: | ||
- linux-aarch64 | ||
- osx-arm64 | ||
recipe-maintainers: | ||
- mbhall88 |