Skip to content

Commit

Permalink
Update Cloudspades (#51456)
Browse files Browse the repository at this point in the history
* add cloudspades

* Rename recipes/spades/cloudspades/meta.yaml to recipes/cloudspades/meta.yaml

* rm flags, better versioning, rm arm

* rm aarch

* fix build

* add ignore exports, link to the license file directly

* fix constraint

* fix license path

* simplify tests b/c cloudspades acts different

* skip osk. make life easier

* add proper test

* add gz

* try building with less threads

* fix tests

* edit test command

* do not build on aarch64/arm64

* add case for Darwin

* edit case

* Add "-D_LIBCPP_DISABLE_AVAILABILITY" for OSX

* skip osx x86_64 for now

* simplify build script, move things manually, add real test

* fix mv command

* bump build number

* rm the mv statement, it's redundant

* rm the test?

* rm arm

---------

Co-authored-by: mencian <joshua.zhuang@yahoo.com>
Co-authored-by: Joshua Zhuang <71105179+mencian@users.noreply.github.com>
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
  • Loading branch information
4 people authored Oct 18, 2024
1 parent b0b90be commit 2c93dc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 6 additions & 5 deletions recipes/cloudspades/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

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 -fsigned-char"
#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"

case $(uname) in
Linux)
Expand All @@ -16,5 +16,6 @@ case $(uname) in
;;
esac

mkdir -p ${PREFIX}/bin ${PREFIX}/share
cd assembler
PREFIX="${PREFIX}" bash spades_compile.sh "${THREADS}" -DSPADES_ENABLE_PROJECTS="all"
./spades_compile.sh "${THREADS}"
4 changes: 1 addition & 3 deletions 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: 1
number: 2
skip: True # [osx]
run_exports:
- {{ pin_subpackage('cloudspades', max_pin="x") }}
Expand Down Expand Up @@ -50,7 +50,5 @@ about:
doc_url: "https://github.com/ablab/spades/tree/cloudspades-ismb"

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

0 comments on commit 2c93dc2

Please sign in to comment.