mirror of
https://github.com/php-win-ext/php-windows-builder.git
synced 2026-03-24 09:02:06 +01:00
24 lines
650 B
Batchfile
24 lines
650 B
Batchfile
set LDFLAGS="/d2:-AllowCompatibleILVersions" 2>&1
|
|
call phpsdk_deps.bat -s staging -u 2>&1
|
|
if errorlevel 1 exit 1
|
|
call buildconf.bat 2>&1
|
|
if errorlevel 1 exit 2
|
|
call config.nts.bat 2>&1
|
|
if errorlevel 1 exit 3
|
|
nmake 2>&1
|
|
if errorlevel 1 exit 4
|
|
call phpsdk_pgo --init 2>&1
|
|
if errorlevel 1 exit 5
|
|
call phpsdk_pgo --train --scenario default 2>&1
|
|
if errorlevel 1 exit 6
|
|
call phpsdk_pgo --train --scenario cache 2>&1
|
|
if errorlevel 1 exit 7
|
|
nmake clean-pgo 2>&1
|
|
if errorlevel 1 exit 8
|
|
sed -i "s/enable-pgi/with-pgo/" config.nts.bat 2>&1
|
|
if errorlevel 1 exit 9
|
|
call config.nts.bat 2>&1
|
|
if errorlevel 1 exit 10
|
|
nmake && nmake snap 2>&1
|
|
if errorlevel 1 exit 11
|