diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml new file mode 100644 index 0000000..55bf5c2 --- /dev/null +++ b/recipe/conda_build_config.yaml @@ -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] \ No newline at end of file diff --git a/recipe/forge_test.sh b/recipe/forge_test.sh index bf82d5a..25d179a 100644 --- a/recipe/forge_test.sh +++ b/recipe/forge_test.sh @@ -1,11 +1,5 @@ #!/bin/bash -e -x -## TODO: remove the following `unset` lines, once the following issue in `conda-build` is resolved: -## - -unset REQUESTS_CA_BUNDLE -unset SSL_CERT_FILE - rustc --help rustdoc --help cargo --help @@ -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 diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 4bbb41b..fa6c6a4 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "1.71.1" %} +{% set version = "1.76.0" %} package: name: rust_{{ target_platform }}-suite @@ -11,8 +11,11 @@ outputs: - name: rust_{{ target_platform }} script: build.sh # [unix] script: bld-msvc.bat # [win] - build: # [win and int(float(vc)) != 14] + build: skip: True # [win and int(float(vc)) != 14] + 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 }} @@ -44,12 +47,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: