From 5ffc9e5588ee0b32602ee7c2b6130c5aae94eecf Mon Sep 17 00:00:00 2001 From: jakirkham Date: Mon, 18 Dec 2023 20:49:06 -0800 Subject: [PATCH] Set `CUDA_HOME` to `LIBRARY_PREFIX` on Windows --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 567fd36..1966cd9 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -30,7 +30,7 @@ build: script_env: # Ensure that CUDA includes can be found by the host compiler - CUDA_HOME="${PREFIX}/targets/{{ target_name }}" # [linux] - - CUDA_HOME=%PREFIX%\Library # [win64] + - CUDA_HOME=%LIBRARY_PREFIX% # [win64] run_exports: - {{ pin_subpackage('cuda-python', min_pin='x', max_pin='x') }} ignore_run_exports_from: