From ed2dbe0fa39c1889f9749c4a404e4c3e1c2870d3 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 9 Sep 2024 14:51:48 +0200 Subject: [PATCH] ensure LIBRARY_{BIN,LIB} exist before copying stuff there --- recipe/build_global.bat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipe/build_global.bat b/recipe/build_global.bat index 930d9d5..e7aaf79 100644 --- a/recipe/build_global.bat +++ b/recipe/build_global.bat @@ -34,6 +34,11 @@ if NOT "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( if errorlevel 1 exit 1 ) +:: ensure folders exist before copying there (don't check +:: for failure in case folder exists already; we don't care) +mkdir %LIBRARY_BIN% +mkdir %LIBRARY_LIB% + :: Copy built zlibwapi.dll with the same name provided by http://www.winimage.com/zLibDll/ :: This is needed for example for cuDNN :: https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#install-zlib-windows