diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat index e3ee03e..e0a7606 100755 --- a/.scripts/run_win_build.bat +++ b/.scripts/run_win_build.bat @@ -12,6 +12,7 @@ setlocal enableextensions enabledelayedexpansion +FOR %%A IN ("%~dp0.") DO SET "REPO_ROOT=%%~dpA" if "%MINIFORGE_HOME%"=="" set "MINIFORGE_HOME=%USERPROFILE%\Miniforge3" :: Remove trailing backslash, if present if "%MINIFORGE_HOME:~-1%"=="\" set "MINIFORGE_HOME=%MINIFORGE_HOME:~0,-1%" @@ -35,11 +36,11 @@ if !errorlevel! neq 0 exit /b !errorlevel! echo Removing %MAMBA_ROOT_PREFIX% del /S /Q "%MAMBA_ROOT_PREFIX%" del /S /Q "%MICROMAMBA_TMPDIR%" -call :end_group call :start_group "Configuring conda" :: Activate the base conda environment +echo Activating environment call "%MINIFORGE_HOME%\Scripts\activate.bat" :: Configure the solver set "CONDA_SOLVER=libmamba" diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 60eb47e..3f72221 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "cuda-python" %} -{% set version = "12.6.1" %} +{% set version = "12.6.2" %} {% set major_version = version.split(".")[0]|int %} {% set minor_version = version.split(".")[1]|int %} {% set patch_version = version.split(".")[2]|int %} @@ -15,7 +15,7 @@ package: source: url: https://github.com/NVIDIA/cuda-python/archive/refs/tags/v{{ version }}.tar.gz - sha256: 07ce07b02e726f59dc2cd333d3b195df960ecfa4fbe47bbfdbb2541f7485c3d6 + sha256: a6c7f6b802411fb1e0c9c2b6660d70c277a75b4f904f84d38cfe9ac341c9f379 build: number: 0 @@ -27,7 +27,7 @@ build: # xref: https://github.com/conda-forge/cuda-feedstock/issues/27 skip: true # [ppc64le] script: - - pushd cuda + - pushd cuda_bindings - {{ PYTHON }} -m pip install . --no-deps -vv script_env: # Ensure that CUDA includes can be found by the host compiler