Skip to content

Commit

Permalink
longreadsum: add aarch64/arm64 builds (#51121)
Browse files Browse the repository at this point in the history
* longreadsum: add aarch64/arm64 builds

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>

* Add zlib as a host dependency

```
 $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-c++ -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/longreadsum-1.3.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem $PREFIX/include -fPIC -Iinclude -I$PREFIX/include/python3.9 -Iinclude -I$PREFIX/include/python3.9 -c src/fasta_module.cpp -o build/temp.linux-aarch64-cpython-39/src/fasta_module.o -std=c++11
07:14:01 BIOCONDA INFO (OUT) src/fasta_module.cpp:7:10: fatal error: zlib.h: No such file or directory
07:14:01 BIOCONDA INFO (OUT)     7 | #include <zlib.h>
07:14:01 BIOCONDA INFO (OUT)       |          ^~~~~~~~
```

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>

* Add setuptools

Should fix the following error on osx-arm64
```
Traceback (most recent call last):�[0m
07:41:23 �[32mBIOCONDA INFO�[0m (ERR)   File "setup.py", line 8, in <module>�[0m
07:41:23 �[32mBIOCONDA INFO�[0m (ERR)     import setuptools�[0m
07:41:23 �[32mBIOCONDA INFO�[0m (ERR) ModuleNotFoundError: No module named 'setuptools'�[0m
07:41:24 �[32mBIOCONDA INFO�[0m (OUT) Extracting download�[0m
```

---------

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g authored Oct 3, 2024
1 parent ed45f41 commit c8cc2e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 210 deletions.
104 changes: 0 additions & 104 deletions recipes/longreadsum/build_failure.linux-64.yaml

This file was deleted.

104 changes: 0 additions & 104 deletions recipes/longreadsum/build_failure.osx-64.yaml

This file was deleted.

10 changes: 8 additions & 2 deletions recipes/longreadsum/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ source:
sha256: '{{ sha256 }}'

build:
number: 1
skip: true # [py2k]
number: 2
entry_points:
- longreadsum = entry_point:main
run_exports:
Expand All @@ -26,6 +25,8 @@ requirements:
- swig
- hdf5
- htslib
- zlib
- setuptools
run:
- python
- numpy
Expand All @@ -45,3 +46,8 @@ about:
A fast and flexible QC tool for long read sequencing data.
dev_url: https://github.com/WGLab/LongReadSum
doc_url: https://github.com/WGLab/LongReadSum#readme

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

0 comments on commit c8cc2e4

Please sign in to comment.