Skip to content

Commit

Permalink
fastqsplitter & rnastructure: add aarch64/arm64 builds (#53428)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g authored Jan 23, 2025
1 parent 3a582fe commit 21cc41b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
8 changes: 6 additions & 2 deletions recipes/fastqsplitter/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ source:
sha256: 14cfb45eabe00de29886dbf2ad8dedd1b9990cb82ee194b5c41291533f3b879d

build:
skip: True # [py27]
number: 7
number: 8
entry_points:
- fastqsplitter=fastqsplitter:main
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}

requirements:
build:
Expand Down Expand Up @@ -44,5 +45,8 @@ about:
doc_url: https://fastqsplitter.readthedocs.io

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
recipe-maintainers:
- rhpvorderman
6 changes: 4 additions & 2 deletions recipes/rnastructure/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -xe

# Fix for OSX build
if [ `uname` == Darwin ]; then
CPP_FLAGS="${CXXFLAGS} -g -O3 -fopenmp -I${PREFIX}/include"
Expand All @@ -9,10 +11,10 @@ else
fi

# build
make CC="${CC}" CXX="${CXX}" CPP_FLAGS="${CPP_FLAGS}" all
make -j"${CPU_COUNT}" CC="${CC}" CXX="${CXX}" CPP_FLAGS="${CPP_FLAGS}" all

mkdir -p $PREFIX/bin
mv ./exe/* $PREFIX/bin/
install -v -m 0755 ./exe/* $PREFIX/bin/

# Some of the tools inside the package require the information in /data_tables
# This makes them accessible from a relative path to the binaries.
Expand Down
7 changes: 5 additions & 2 deletions recipes/rnastructure/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
url: http://rna.urmc.rochester.edu/Releases/{{ version }}/RNAstructureSource.tgz

build:
number: 1
number: 2
run_exports:
- {{ pin_subpackage(name | lower, max_pin="x.x") }}

Expand All @@ -35,7 +35,7 @@ test:

about:
home: http://rna.urmc.rochester.edu/RNAstructure.html
license: GPLv2
license: GPL-2.0-only
license_family: GPL
license_file: gpl.txt
summary: 'RNAstructure is a complete package for RNA and DNA secondary structure prediction
Expand All @@ -50,5 +50,8 @@ about:
enzymatic mapping, NMR, and SHAPE data.'

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- biotools:rnastructure

0 comments on commit 21cc41b

Please sign in to comment.