Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
Comment thread
SC426 marked this conversation as 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