File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,28 @@ if exist "%PHP_BUILD_DIR%\php.exe" (
2323
2424echo .
2525echo Copying deps DLLs like official PHP does...
26- set DEPS_DIR = C:\build-cache\deps-master-vs17-x64
26+
27+ rem Find target branch like build_task.bat does
28+ call %~dp0 find-target-branch.bat
29+ set DEPS_DIR = %PHP_BUILD_CACHE_BASE_DIR% \deps-%BRANCH% -%PHP_SDK_VS% -%PHP_SDK_ARCH%
30+
31+ echo Target branch: %BRANCH%
32+ echo PHP SDK VS: %PHP_SDK_VS%
33+ echo PHP SDK ARCH: %PHP_SDK_ARCH%
34+ echo DEPS_DIR: %DEPS_DIR%
2735
2836echo Checking if DEPS_DIR exists: %DEPS_DIR%
2937if exist " %DEPS_DIR% \bin" (
3038 echo FOUND: %DEPS_DIR% \bin
3139 dir " %DEPS_DIR% \bin\*.dll" /b
3240) else (
3341 echo ERROR: %DEPS_DIR% \bin not found!
42+ echo Available directories in build cache:
43+ if exist " %PHP_BUILD_CACHE_BASE_DIR% " (
44+ dir " %PHP_BUILD_CACHE_BASE_DIR% " /b
45+ ) else (
46+ echo Build cache directory doesn't exist: %PHP_BUILD_CACHE_BASE_DIR%
47+ )
3448 exit /b 1
3549)
3650
You can’t perform that action at this time.
0 commit comments