diff --git a/recipes/simpleaf/build.sh b/recipes/simpleaf/build.sh index 05c57b630a9d8..554b00d375f30 100644 --- a/recipes/simpleaf/build.sh +++ b/recipes/simpleaf/build.sh @@ -2,6 +2,11 @@ export CFLAGS="${CFLAGS} -fcommon" export CXXFLAGS="${CFLAGS} -fcommon" +if [ "$(uname)" == "Darwin" ]; then + export CFLAGS="${CFLAGS} -fno-define-target-os-macros" + export CXXFLAGS="${CXXFLAGS} -fno-define-target-os-macros" +fi + # Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details. # We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct. export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="$(pwd)/.cargo" diff --git a/recipes/simpleaf/meta.yaml b/recipes/simpleaf/meta.yaml index 0d5fb6aceedac..c738aeaa095e5 100644 --- a/recipes/simpleaf/meta.yaml +++ b/recipes/simpleaf/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "0.17.4" %} +{% set version = "0.18.0" %} package: name: simpleaf @@ -11,7 +11,7 @@ build: source: url: https://github.com/COMBINE-lab/simpleaf/archive/v{{ version }}.tar.gz - sha256: 3c14206ae0a43fe4ffaf6ccaad9c8d2636c60181bc7ec67e16c42b4d749f0070 + sha256: f83a792677d7e83c16ec68143b6b6be8537d72560626a5ef2d5e26a0276a4244 requirements: build: @@ -22,9 +22,9 @@ requirements: - pkg-config host: run: - - alevin-fry >=0.8.2 - - salmon >=1.10.1 - - piscem >=0.11.0 # [not osx-arm64] + - alevin-fry >=0.11.0 + - salmon >=1.10.1 # [not osx] + - piscem >=0.11.0 test: commands: @@ -38,4 +38,5 @@ about: extra: additional-platforms: + - osx-arm64 - linux-aarch64