diff --git a/recipes/rpsbproc/build.sh b/recipes/rpsbproc/build.sh index dbaea1d1ac5e7..a152fae34917c 100755 --- a/recipes/rpsbproc/build.sh +++ b/recipes/rpsbproc/build.sh @@ -125,9 +125,11 @@ CONFIGURE_FLAGS="$CONFIGURE_FLAGS --without-dll --with-static-exe" # Platform-specific flags if [[ "$(uname)" = "Linux" ]]; then # --with(out)-64: - # Compile in 64-bit mode instead of 32-bit. + # Compile in 64-bit mode instead of 32-bit on x86_64 platforms. # Flag not available for osx build. - CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-64" + if [[ "$(arch)" = "x86_64" ]]; then + CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-64" + fi # --with(out)-openmp: # Enable OpenMP extensions for all projects. # Does not work without hacks for OSX @@ -154,7 +156,7 @@ cd "$NCBI_CXX_TOOLKIT" # Run GNU Make cd "$RESULT_PATH/build" echo "RUNNING MAKE" >&2 -make -j1 -f Makefile.flat rpsbproc.exe >&2 +make -j 4 -f Makefile.flat rpsbproc.exe >&2 # Copy compiled binaries to the Conda $PREFIX mkdir -p "$PREFIX/bin" diff --git a/recipes/rpsbproc/meta.yaml b/recipes/rpsbproc/meta.yaml index e6f28433383b3..6f42c04bad539 100644 --- a/recipes/rpsbproc/meta.yaml +++ b/recipes/rpsbproc/meta.yaml @@ -24,7 +24,7 @@ source: - update_configsub.patch build: - number: 0 + number: 1 run_exports: - {{ pin_subpackage(name, max_pin="x.x") }} @@ -81,3 +81,7 @@ about: extra: identifiers: - doi:10.1002/cpbi.90 + additional-platforms: + - linux-aarch64 + # osx-arm64 is encountering issues with Xcode and make during builds + # - osx-arm64