From f3ce0307764a95b05755d716d48ebadf2ab5a291 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 20 Jul 2023 11:12:29 -0500 Subject: [PATCH] Fix setting HOST_PLATFORM --- recipe/meta.yaml | 2 +- recipe/run_conda_forge_build_setup_win.bat | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index f904a508..16c342d4 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "conda-forge-ci-setup" %} -{% set version = "3.32.3" %} +{% set version = "3.32.4" %} {% set build = 0 %} {% set cuda_compiler_version = cuda_compiler_version or "None" %} {% if cuda_compiler_version == "None" %} diff --git a/recipe/run_conda_forge_build_setup_win.bat b/recipe/run_conda_forge_build_setup_win.bat index 9fea5f25..3cef8f40 100755 --- a/recipe/run_conda_forge_build_setup_win.bat +++ b/recipe/run_conda_forge_build_setup_win.bat @@ -107,9 +107,9 @@ conda.exe info --json | shyaml get-value platform > build_platform.txt set /p BUILD_PLATFORM= target_platform.txt -set /p TARGET_PLATFORM= host_platform.txt +set /p HOST_PLATFORM=> "%CONDA_PREFIX%\etc\conda\activate.d\conda-forge-ci-setup-activate.bat" ) echo set "BUILD_PLATFORM=%BUILD_PLATFORM%" >> "%CONDA_PREFIX%\etc\conda\activate.d\conda-forge-ci-setup-activate.bat" -echo set "TARGET_PLATFORM=%TARGET_PLATFORM%" >> "%CONDA_PREFIX%\etc\conda\activate.d\conda-forge-ci-setup-activate.bat" +echo set "HOST_PLATFORM=%HOST_PLATFORM%" >> "%CONDA_PREFIX%\etc\conda\activate.d\conda-forge-ci-setup-activate.bat" conda.exe info conda.exe config --show-sources