[Bf-blender-cvs] [fa115a317e1] tmp-vfx-platform-2023: build_deps.cmd: fix windows runtime paths

Ray Molenkamp noreply at git.blender.org
Wed Oct 12 15:49:25 CEST 2022


Commit: fa115a317e1442b3d24252142aa44a064dcc19f9
Author: Ray Molenkamp
Date:   Wed Oct 12 06:48:17 2022 -0700
Branches: tmp-vfx-platform-2023
https://developer.blender.org/rBfa115a317e1442b3d24252142aa44a064dcc19f9

build_deps.cmd: fix windows runtime paths

shared libs for oiio/openexr/imath were not
found breaking the osl build

===================================================================

M	build_files/build_environment/windows/build_deps.cmd

===================================================================

diff --git a/build_files/build_environment/windows/build_deps.cmd b/build_files/build_environment/windows/build_deps.cmd
index 6fe9521b5b9..5f6cf4fc3ee 100644
--- a/build_files/build_environment/windows/build_deps.cmd
+++ b/build_files/build_environment/windows/build_deps.cmd
@@ -103,7 +103,12 @@ if %ERRORLEVEL% NEQ 0 (
 )
 
 set StatusFile=%BUILD_DIR%\%1_%2.log
-set path=%BUILD_DIR%\downloads\mingw\mingw64\msys\1.0\bin\;%BUILD_DIR%\downloads\nasm-2.12.01\;%path%;%Staging%\%BuildDir%%ARCH%R\Release\boost\lib;%Staging%\%BuildDir%%ARCH%D\Debug\boost\lib;
+set original_path=%path%
+set oiio_paths=%Staging%\%BuildDir%%ARCH%R\Release\openimageio\bin;%Staging%\%BuildDir%%ARCH%D\Debug\openimageio\bin
+set boost_paths=%Staging%\%BuildDir%%ARCH%R\Release\boost\lib;%Staging%\%BuildDir%%ARCH%D\Debug\boost\lib
+set openexr_paths=%Staging%\%BuildDir%%ARCH%R\Release\openexr\bin;%Staging%\%BuildDir%%ARCH%D\Debug\openexr\bin
+set imath_paths=%Staging%\%BuildDir%%ARCH%R\Release\imath\bin;%Staging%\%BuildDir%%ARCH%D\Debug\imath\bin
+set path=%BUILD_DIR%\downloads\mingw\mingw64\msys\1.0\bin\;%BUILD_DIR%\downloads\nasm-2.12.01\;%path%;%boost_paths%;%oiio_paths%;%openexr_paths%;%imath_paths%
 mkdir %STAGING%\%BuildDir%%ARCH%R
 cd %Staging%\%BuildDir%%ARCH%R
 echo %DATE% %TIME% : Start > %StatusFile%
@@ -130,4 +135,5 @@ echo %DATE% %TIME% : Debug Harvest done >> %StatusFile%
 cd %BUILD_DIR%
 
 :exit
+set path=%original_path%
 Echo .



More information about the Bf-blender-cvs mailing list