Skip to content

Commit

Permalink
clean up recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mencian committed Dec 10, 2024
1 parent 312abab commit 4031a8e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
12 changes: 10 additions & 2 deletions recipes/virdig/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/bin/bash
set -xe
#make -j"${CPU_COUNT}" CXX="${CXX}" INCLUDES="-I$PREFIX/include" CFLAGS+="${CFLAGS} -g -Wall -O2 -L$PREFIX/lib"
chmod 755 virdig

export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"

rm -rf virdig
make virdig CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS} -g -Wall -O3 -I$PREFIX/include -Wno-unused-variable -Wno-return-type" \
-j"${CPU_COUNT}"

install -d "${PREFIX}/bin"
install -v -m 0755 virdig "${PREFIX}/bin"
13 changes: 9 additions & 4 deletions recipes/virdig/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ source:
sha256: "9ffd628fd1c22dd86a1e9e0e4c5b543334a99f0fc6dec56bb1f741e2fe8a32b1"

build:
number: 0

number: 0
run_exports:
- {{ pin_subpackage("virdig", max_pin="x") }}

Expand All @@ -20,10 +19,11 @@ requirements:
- make
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- boost
host:
- zlib
- boost
- boost-cpp
run:
- boost-cpp

test:
commands:
Expand All @@ -36,3 +36,8 @@ about:
license_file: LICENSE
summary: "A de novo transcriptome assembler for coronavirus."
dev_url: "https://github.com/Limh616/VirDiG"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64

0 comments on commit 4031a8e

Please sign in to comment.