Skip to content

Commit

Permalink
cloudspades: add linux-aarch64 build (bioconda#51446)
Browse files Browse the repository at this point in the history
* cloudspades: add linux-aarch64 build

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Pass '-fsigned-char' to CXXFLAGS for ARM64 support

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Try with large VM for Linux ARM64

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g authored Oct 17, 2024
1 parent 6b9962d commit 67dbb42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ executors:
linux-aarch64:
machine:
image: ubuntu-2204:current
resource_class: arm.medium
resource_class: arm.large

jobs: # a basic unit of work in a run
build_and_test:
Expand Down
2 changes: 1 addition & 1 deletion recipes/cloudspades/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e -o pipefail -x
export LIBRARY_PATH="${PREFIX}/lib"
export INCLUDE_PATH="${PREFIX}/include"
export CFLAGS="${CFLAGS} -O3 -fcommon"
export CXXFLAGS="${CFLAGS} -O3 -fcommon -I${PREFIX}/include -D_LIBCPP_DISABLE_AVAILABILITY"
export CXXFLAGS="${CFLAGS} -O3 -fcommon -I${PREFIX}/include -D_LIBCPP_DISABLE_AVAILABILITY -fsigned-char"

case $(uname) in
Linux)
Expand Down
4 changes: 3 additions & 1 deletion recipes/cloudspades/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
sha256: {{ sha256 }}

build:
number: 0
number: 1
skip: True # [osx]
run_exports:
- {{ pin_subpackage('cloudspades', max_pin="x") }}
Expand Down Expand Up @@ -50,5 +50,7 @@ about:
doc_url: "https://github.com/ablab/spades/tree/cloudspades-ismb"

extra:
additional-platforms:
- linux-aarch64
recipe-maintainers:
- pdimens

0 comments on commit 67dbb42

Please sign in to comment.