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

Fix setting HOST_PLATFORM #256

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all 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: 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.32.3" %}
{% set version = "3.32.4" %}
{% set build = 0 %}
{% set cuda_compiler_version = cuda_compiler_version or "None" %}
{% if cuda_compiler_version == "None" %}
Expand Down
8 changes: 4 additions & 4 deletions recipe/run_conda_forge_build_setup_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ conda.exe info --json | shyaml get-value platform > build_platform.txt
set /p BUILD_PLATFORM=<build_platform.txt
del build_platform.txt

cat .ci_support\%CONFIG%.yaml | shyaml get-value target_platform.0 %BUILD_PLATFORM% > target_platform.txt
set /p TARGET_PLATFORM=<target_platform.txt
del target_platform.txt
cat .ci_support\%CONFIG%.yaml | shyaml get-value target_platform.0 %BUILD_PLATFORM% > host_platform.txt
set /p HOST_PLATFORM=<host_platform.txt
del host_platform.txt

type .ci_support\%CONFIG%.yaml

Expand All @@ -126,7 +126,7 @@ if not "%CUDA_PATH%" == "" (
echo set "CONDA_OVERRIDE_CUDA=%CONDA_OVERRIDE_CUDA%" >> "%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
Expand Down