Skip to content

Commit

Permalink
porechop_abi: Add linux-aarch64 (works locally), osx-arm64 (test in C…
Browse files Browse the repository at this point in the history
…I) (#52674)
  • Loading branch information
dslarm authored Dec 12, 2024
1 parent e861e9d commit c49020f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 9 additions & 0 deletions recipes/porechop_abi/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

if [ $(uname -s) == "Darwin" ]; then
CXXFLAGS="${CXXFLAGS} -std=c++17 -Dbinary_function=__binary_function -Dunary_function=__unary_function"
else
CXXFLAGS="${CXXFLAGS} -std=c++17"
fi

python -m pip install . --ignore-installed --no-deps -vv
9 changes: 7 additions & 2 deletions recipes/porechop_abi/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ source:
sha256: b5252b8fc26f750a6625353fe02fdf44c9a58bc9439933921f177735eac07ca3

build:
number: 3
number: 5
skip: True # [py < 37]
script: {{ PYTHON }} -m pip install . --ignore-installed --no-deps -vv
entry_points:
- porechop_abi = porechop_abi.porechop_abi:main
run_exports:
- {{ pin_subpackage("porechop_abi", max_pin="x.x") }}

requirements:
build:
Expand All @@ -37,6 +38,10 @@ test:
commands:
- porechop_abi -h

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
about:
home: https://github.com/bonsai-team/Porechop_ABI
license: GPL3
Expand Down

0 comments on commit c49020f

Please sign in to comment.