Skip to content

Commit

Permalink
add run_exports
Browse files Browse the repository at this point in the history
  • Loading branch information
mencian committed Oct 21, 2024
1 parent 32e79d5 commit 74171b5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 117 deletions.
25 changes: 17 additions & 8 deletions recipes/svdss/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
#!/usr/bin/env bash

mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCONDAPREFIX=${PREFIX} ..
make
cd ..
#!/bin/bash

mkdir -p ${PREFIX}/bin
cp SVDSS ${PREFIX}/bin

if [[ `uname` == "Darwin" ]]; then
export CONFIG_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER -DCMAKE_FIND_APPBUNDLE=NEVER"
else
export CONFIG_ARGS=""
fi

cmake -S. -B build -DCMAKE_BUILD_TYPE=Release \
-DCONDAPREFIX="${PREFIX}" -DCMAKE_CXX_COMPILER="${CXX}" \
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -O3 -I${PREFIX}/include" \
"${CONFIG_ARGS}"
cmake --build build -j "${CPU_COUNT}" -v

cd build
chmod 0755 SVDSS
cp -f SVDSS ${PREFIX}/bin
104 changes: 0 additions & 104 deletions recipes/svdss/build_failure.linux-64.yaml

This file was deleted.

21 changes: 16 additions & 5 deletions recipes/svdss/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ source:

build:
number: 0
skip: True # [osx]
#skip: True # [osx]
run_exports:
- {{ pin_subpackage('svdss', max_pin="x") }}

requirements:
build:
Expand All @@ -20,16 +22,20 @@ requirements:
- make
- automake
- autoconf
- coreutils
- cmake >=3.14
- libtool
- cmake
- git
host:
- libgomp # [linux]
- llvm-openmp # [osx]
- htslib
- gsl
- zlib
- bzip2
- xz
run:
- libgomp # [linux]
- llvm-openmp # [osx]
- samtools >=1.9
- bcftools >=1.9

Expand All @@ -38,12 +44,17 @@ test:
- SVDSS --version

about:
home: https://github.com/Parsoa/SVDSS
home: "https://github.com/Parsoa/SVDSS"
license: MIT
summary: Structural Variant Discovery from Sample-specific Strings
license_family: MIT
license_file: LICENSE
summary: "Structural Variant Discovery from Sample-specific Strings."
dev_url: "https://github.com/Parsoa/SVDSS"
doc_url: "https://github.com/Parsoa/SVDSS/blob/v{{ version }}/README.md"

extra:
identifiers:
- biotools:svdss
- doi:10.1038/s41592-022-01674-1
recipe-maintainers:
- ldenti

0 comments on commit 74171b5

Please sign in to comment.