diff --git a/recipes/oarfish/build.sh b/recipes/oarfish/build.sh index 580d388d2cf18..fc13873f768bd 100644 --- a/recipes/oarfish/build.sh +++ b/recipes/oarfish/build.sh @@ -2,5 +2,9 @@ set -xe +curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable --profile=minimal -y +export PATH="$HOME/.cargo/bin:$PATH" + + # build statically linked binary with Rust -RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path . +RUST_BACKTRACE=1 RUSTFLAGS="-C linker=$CC" cargo install --verbose --root $PREFIX --path . diff --git a/recipes/oarfish/meta.yaml b/recipes/oarfish/meta.yaml index 41e7e84dcf8ce..4dd80c87da7fb 100644 --- a/recipes/oarfish/meta.yaml +++ b/recipes/oarfish/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "0.6.2" %} +{% set version = "0.6.3" %} package: name: oarfish @@ -11,13 +11,15 @@ build: source: url: https://github.com/COMBINE-lab/oarfish/archive/v{{ version }}.tar.gz - sha256: 78b523fc459fec5ae3680395925862b4d367bd56d051120f28c689dd387e1758 + sha256: 98cc4b939e81cd0018c38d47f4596dc3079680a7b076a7dfca2e80b67094c783 requirements: build: - make - - {{ compiler('rust') }} + #- rust >=1.82.0 + #- {{ compiler('rust') }} >=1.82.0 - {{ compiler('c') }} + - {{ compiler('cxx') }} host: - zlib run: