Skip to content

Commit

Permalink
Merge pull request #116 from isuruf/build_platform
Browse files Browse the repository at this point in the history
Set build_platform
  • Loading branch information
isuruf committed Aug 4, 2020
2 parents 09afa89 + b2c5a48 commit 4fa0b40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions recipe/cross_compile_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ HOST_PLATFORM=${HOST_PLATFORM:-${BUILD_PLATFORM}}
if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then
echo "export CONDA_BUILD_CROSS_COMPILATION=1" >> "${CONDA_PREFIX}/etc/conda/activate.d/conda-forge-ci-setup-activate.sh"
export CONDA_BUILD_CROSS_COMPILATION=1
if [ -f ${CI_SUPPORT}/${CONFIG}.yaml ]; then
echo "build_platform:" >> ${CI_SUPPORT}/${CONFIG}.yaml
echo "- ${BUILD_PLATFORM}" >> ${CI_SUPPORT}/${CONFIG}.yaml
fi
fi
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "conda-forge-ci-setup" %}
{% set version = "3.1.6" %}
{% set version = "3.1.7" %}

package:
name: {{ name|lower }}
Expand Down

0 comments on commit 4fa0b40

Please sign in to comment.