diff --git a/recipes/alevin-fry/build.sh b/recipes/alevin-fry/build.sh index be24ecc64d3c6..d4e917195b650 100644 --- a/recipes/alevin-fry/build.sh +++ b/recipes/alevin-fry/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/alevin-fry/meta.yaml b/recipes/alevin-fry/meta.yaml index ff63a5e8964d8..365f96cb6a01c 100644 --- a/recipes/alevin-fry/meta.yaml +++ b/recipes/alevin-fry/meta.yaml @@ -1,17 +1,17 @@ -{% set version = "0.11.0" %} +{% set version = "0.11.1" %} package: name: alevin-fry version: {{ version }} build: - number: 1 + number: 0 run_exports: - {{ pin_subpackage("alevin-fry", max_pin="x.x") }} source: url: https://github.com/COMBINE-lab/alevin-fry/releases/download/v{{ version }}/source.tar.gz - sha256: c209a092fd89f37c64bd35679d57d8452c8da7bf75b7b34f8bd5fefcb2703758 + sha256: c5a35c4b72114b4ef8d1c933cb01e5bb37df47286acd9a78a92f9ae9bf9dd3cf #patches: # - use-libradicl-0.8.2.patch