Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.76.0 #6

Merged
merged 13 commits into from
Mar 20, 2024
2 changes: 2 additions & 0 deletions abs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
channels:
- https://staging.continuum.io/prefect/fs/rust-feedstock/pr7/1481b8e
6 changes: 6 additions & 0 deletions conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
macos_min_version:
- 10.12 # [osx and x86_64]
MACOSX_DEPLOYMENT_TARGET:
- 10.12 # [osx and x86_64]
CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.12.sdk # [osx and x86_64]
10 changes: 1 addition & 9 deletions recipe/forge_test.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/bin/bash -e -x

## TODO: remove the following `unset` lines, once the following issue in `conda-build` is resolved:
## <https://github.com/conda/conda-build/issues/2255>

unset REQUESTS_CA_BUNDLE
unset SSL_CERT_FILE

rustc --help
rustdoc --help
cargo --help
Expand All @@ -15,13 +9,11 @@ if [[ ${target_platform} =~ linux.*390x.* ]]; then
echo "s390x-conda_cos7-linux-gnu-cc \"\$@\"" >> ./cc
elif [[ ${target_platform} =~ linux.*aarch64* ]]; then
echo "aarch64-conda-linux-gnu-cc \"\$@\"" >> ./cc
elif [[ ${target_platform} =~ linux.*powerpc* ]]; then
echo "powerpc64le-conda_cos7-linux-gnu-cc \"\$@\"" >> ./cc
elif [[ ${target_platform} =~ linux.* ]]; then
echo "x86_64-conda_cos7-linux-gnu-cc \"\$@\"" >> ./cc
elif [[ ${target_platform} == osx-64 ]]; then
echo "x86_64-apple-darwin13.4.0-clang \"\$@\"" >> ./cc
export CONDA_BUILD_SYSROOT=/opt/MacOSX10.10.sdk
export CONDA_BUILD_SYSROOT=/opt/MacOSX10.12.sdk
elif [[ ${target_platform} == osx-arm64 ]]; then
echo "arm64-apple-darwin20.0.0-clang \"\$@\"" >> ./cc
fi
Expand Down
8 changes: 5 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "1.71.1" %}
{% set version = "1.76.0" %}

package:
name: rust_{{ target_platform }}-suite
Expand All @@ -13,6 +13,10 @@ outputs:
script: bld-msvc.bat # [win]
build: # [win and int(float(vc)) != 14]
skip: True # [win and int(float(vc)) != 14]
build:
SC426 marked this conversation as resolved.
Show resolved Hide resolved
run_exports: # [osx and x86_64]
strong_constrains: # [osx and x86_64]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.12") }} # [osx and x86_64]
requirements:
run:
- rust >={{ version }}
Expand Down Expand Up @@ -44,12 +48,10 @@ about:
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE.txt
license_url: https://github.com/AnacondaRecipes/rust-activation-feedstock/blob/master/LICENSE.txt
description: |
Rust is a systems programming language that runs blazingly fast,
prevents segfaults, and guarantees thread safety.
doc_url: https://www.rust-lang.org/learn
doc_source_url: https://github.com/rust-lang/rust/tree/{{ version }}/src/doc
dev_url: https://github.com/rust-lang

extra:
Expand Down