com web/rmtools: rework the pecl.php calls: client/bin/pecl.bat
| From: | Stephen A. Zarkos | Date: | Mon, 09 Sep 2013 15:05:15 +0000 |
| Subject: | com web/rmtools: rework the pecl.php calls: client/bin/pecl.bat | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16708@lists.php.net to get a copy of this message | ||
Commit: 19671f923fa8c8f3f18ec6c1f735ef84b62f82f1
Author: Anatol Belski <ab@php.net> Mon, 9 Sep 2013 17:05:15 +0200
Parents: 3fd55f0956bf740395d780aad973ee20edac6561
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=19671f923fa8c8f3f18ec6c1f735ef84b62f82f1
Log:
rework the pecl.php calls
Changed paths:
M client/bin/pecl.bat
Diff:
diff --git a/client/bin/pecl.bat b/client/bin/pecl.bat
index fe48593..4004fd6 100644
--- a/client/bin/pecl.bat
+++ b/client/bin/pecl.bat
@@ -72,12 +72,15 @@ SET VC11_X64_LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\
SET VC11_X64_SHELL=%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\vcvarsall.bat"" amd64
REM Run pecl.php
+set PECL_PHP_CMD=c:\php-sdk\php\php.exe -d extension_dir=c:\php-sdk\php\ext -d
extension=php_openssl.dll -d extension=php_curl.dll
SET BISON_SIMPLE=c:\php-sdk\bin\bison.simple
rem XXX iterate the c:\pecl_in_pkg here and delete the packages after successful build
-c:\php-sdk\php\php.exe -d extension_dir=c:\php-sdk\php\ext -d extension=php_openssl.dll -d
extension=php_curl.dll %BAT_DIR%\..\script\pecl.php --config=pecl55_x64
--package=C:\pecl_in_pkg\amqp-1.2.0.tgz
-c:\php-sdk\php\php.exe -d extension_dir=c:\php-sdk\php\ext -d extension=php_openssl.dll -d
extension=php_curl.dll %BAT_DIR%\..\script\pecl.php --config=pecl55_x86
--package=C:\pecl_in_pkg\amqp-1.2.0.tgz
-c:\php-sdk\php\php.exe -d extension_dir=c:\php-sdk\php\ext -d extension=php_openssl.dll -d
extension=php_curl.dll %BAT_DIR%\..\script\pecl.php --config=pecl54
--package=C:\pecl_in_pkg\amqp-1.2.0.tgz
-c:\php-sdk\php\php.exe -d extension_dir=c:\php-sdk\php\ext -d extension=php_openssl.dll -d
extension=php_curl.dll %BAT_DIR%\..\script\pecl.php --config=pecl53
--package=C:\pecl_in_pkg\amqp-1.2.0.tgz
+@ECHO ON
+%PECL_PHP_CMD% %BAT_DIR%\..\script\pecl.php --config=pecl55_x64 %* >> %LOG_FILE% 2<&1
+%PECL_PHP_CMD% %BAT_DIR%\..\script\pecl.php --config=pecl55_x86 %* >> %LOG_FILE% 2<&1
+%PECL_PHP_CMD% %BAT_DIR%\...\script\pecl.php --config=pecl54 %* >> %LOG_FILE% 2<&1
+%PECL_PHP_CMD% %BAT_DIR%\..\script\pecl.php --config=pecl53 %* >> %LOG_FILE% 2<&1
+@ECHO OFF
SET PATH=%OLD_PATH%
echo Done.>> %LOG_FILE%