Skip to content

Commit 922f9b0

Browse files
BiocondaBotmencian
andauthored
Update svdss to 2.1.1 (#64326)
* Update svdss to 2.1.1 * Update meta.yaml * Update meta.yaml * Update meta.yaml * Update cmake.patch * Delete recipes/svdss/cmake.patch * Update build.sh * Update meta.yaml --------- Co-authored-by: Joshua Zhuang <71105179+mencian@users.noreply.github.com>
1 parent 97df8a7 commit 922f9b0

File tree

3 files changed

+17
-34
lines changed

3 files changed

+17
-34
lines changed

recipes/svdss/build.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
11
#!/bin/bash
22

3-
mkdir -p ${PREFIX}/bin
3+
mkdir -p "${PREFIX}/bin"
4+
45
export INCLUDE_PATH="${PREFIX}/include"
56
export LIBRARY_PATH="${PREFIX}/lib"
67
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
78
export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
89
export CFLAGS="${CFLAGS} -O3 -L${PREFIX}/lib"
910
export CXXFLAGS="${CXXFLAGS} -O3"
1011

11-
if [[ `uname` == "Darwin" ]]; then
12+
if [[ `uname -s` == "Darwin" ]]; then
1213
export CONFIG_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER -DCMAKE_FIND_APPBUNDLE=NEVER"
1314
sed -i.bak 's|libhts.so|libhts.dylib|' CMakeLists.txt
1415
sed -i.bak 's|libdeflate.so|libdeflate.dylib|' CMakeLists.txt
1516
sed -i.bak 's|sed -i|sed -i.bak|' CMakeLists.txt
16-
rm -rf *.bak
17+
rm -f *.bak
1718
else
1819
export CONFIG_ARGS=""
1920
fi
2021

21-
cmake -S. -B build -DCMAKE_BUILD_TYPE=Release \
22+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release \
2223
-DCONDAPREFIX="${PREFIX}" -DCMAKE_CXX_COMPILER="${CXX}" \
2324
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" -DCMAKE_C_COMPILER="${CC}" \
2425
-DCMAKE_C_FLAGS="${CFLAGS}" \
26+
-DARCH="$(uname -m)" \
27+
-DOS="$(uname -s)" \
2528
-Wno-dev -Wno-deprecated --no-warn-unused-cli \
2629
"${CONFIG_ARGS}"
2730
cmake --build build -j "${CPU_COUNT}"
2831

29-
install -v -m 0755 SVDSS ${PREFIX}/bin
30-
install -v -m 0755 run_svdss ${PREFIX}/bin
32+
install -v -m 0755 SVDSS run_svdss "${PREFIX}/bin"

recipes/svdss/cmake.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.

recipes/svdss/meta.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% set version = "2.1.0" %}
2-
{% set sha256 = "32dc3cdb3c8aec25a855b9dbcd09a7274a0bd95a94db11fb4f94567f35b98b90" %}
1+
{% set version = "2.1.1" %}
2+
{% set sha256 = "c73df403c9a6bd1463d627e50a0d94a9743daff0385d3aa98df89416ab0a349e" %}
33

44
package:
55
name: svdss
@@ -8,8 +8,6 @@ package:
88
source:
99
url: https://github.com/Parsoa/SVDSS/archive/refs/tags/v{{ version }}.tar.gz
1010
sha256: {{ sha256 }}
11-
patches:
12-
- cmake.patch
1311

1412
build:
1513
number: 0
@@ -57,8 +55,15 @@ about:
5755
doc_url: "https://github.com/Parsoa/SVDSS/blob/v{{ version }}/README.md"
5856

5957
extra:
58+
#cli.c:(.text+0x11e8): undefined reference to `ksw_gg2_sse'
59+
#src/abpoa/src/simd_instruction.h:21:10: fatal error: immintrin.h: No such file or directory
60+
#include <immintrin.h>
61+
#additional-platforms:
62+
#- linux-aarch64
6063
identifiers:
6164
- biotools:svdss
6265
- doi:10.1038/s41592-022-01674-1
6366
recipe-maintainers:
6467
- ldenti
68+
skip-lints:
69+
- compiler_needs_stdlib_c

0 commit comments

Comments
 (0)