@@ -27,7 +27,7 @@ switch($argv[1]) {
27
27
case '55 ' : $ build [55 ]=true ; break ;
28
28
case '54 ' : $ build [54 ]=true ; break ;
29
29
case '5 ' : $ build = [56 =>true ,55 =>true ,54 =>true ]; break ;
30
- case 'all ' : $ build = [7 =>true , 56 =>true ,55 =>true ,54 =>true ]; break ;
30
+ case 'all ' : $ build = [71 => true , 7 =>true , 56 =>true ,55 =>true ,54 =>true ]; break ;
31
31
case 'world ' : $ build = [71 =>true , 7 =>true , 56 =>true ,55 =>true ,54 =>true ]; $ world =true ; break ;
32
32
}
33
33
@@ -309,7 +309,7 @@ function build_it($branch, $conf_flags) {
309
309
"git reset --hard origin/ $ branch 2>&1 1> /dev/null " ,
310
310
"git pull -r " ,
311
311
"./vcsclean 2>&1 1> /dev/null " ,
312
- "./buildconf -f " ,
312
+ "./buildconf --force " ,
313
313
"=configuring... " ,
314
314
"./configure $ conf_flags 2>&1 1>> /tmp/build.log " ,
315
315
"= \ncompiling... " ,
@@ -331,24 +331,44 @@ echo "Build log in /tmp/build.log\n";
331
331
332
332
foreach ($ build as $ v =>$ b ) {
333
333
switch ($ v ) {
334
+ case 72 :
335
+ if (!$ zts || $ world ) {
336
+ echo "Building PHP 7.2 \n" ;
337
+ $ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --prefix=/usr/local/php72 ' ;
338
+ build_it ('master ' , $ conf_flags );
339
+ echo "Building PHP 7.2-debug \n" ;
340
+ $ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --prefix=/usr/local/php72-debug ' ;
341
+ build_it ('master ' , $ conf_flags );
342
+ }
343
+ if ($ zts || $ world ) {
344
+ echo "Building PHP 7.2-zts \n" ;
345
+ $ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --enable-maintainer-zts --prefix=/usr/local/php72-zts ' ;
346
+ build_it ('master ' , $ conf_flags );
347
+ echo "Building PHP 7.2-debug-zts \n" ;
348
+ $ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --enable-maintainer-zts --prefix=/usr/local/php72-debug-zts ' ;
349
+ build_it ('master ' , $ conf_flags );
350
+ }
351
+ break ;
352
+
334
353
case 71 :
335
354
if (!$ zts || $ world ) {
336
355
echo "Building PHP 7.1 \n" ;
337
356
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --prefix=/usr/local/php71 ' ;
338
- build_it ('master ' , $ conf_flags );
357
+ build_it ('PHP-7.1 ' , $ conf_flags );
339
358
echo "Building PHP 7.1-debug \n" ;
340
359
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --prefix=/usr/local/php71-debug ' ;
341
- build_it ('master ' , $ conf_flags );
360
+ build_it ('PHP-7.1 ' , $ conf_flags );
342
361
}
343
362
if ($ zts || $ world ) {
344
363
echo "Building PHP 7.1-zts \n" ;
345
364
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --enable-maintainer-zts --prefix=/usr/local/php71-zts ' ;
346
- build_it ('master ' , $ conf_flags );
365
+ build_it ('PHP-7.1 ' , $ conf_flags );
347
366
echo "Building PHP 7.1-debug-zts \n" ;
348
367
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --enable-maintainer-zts --prefix=/usr/local/php71-debug-zts ' ;
349
- build_it ('master ' , $ conf_flags );
368
+ build_it ('PHP-7.1 ' , $ conf_flags );
350
369
}
351
370
break ;
371
+
352
372
case 7 :
353
373
if (!$ zts || $ world ) {
354
374
echo "Building PHP 7.0 \n" ;
@@ -357,7 +377,7 @@ foreach($build as $v=>$b) {
357
377
echo "Building PHP 7.0-debug \n" ;
358
378
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --prefix=/usr/local/php70-debug ' ;
359
379
build_it ('PHP-7.0 ' , $ conf_flags );
360
- }
380
+ }
361
381
if ($ zts || $ world ) {
362
382
echo "Building PHP 7.0-zts \n" ;
363
383
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --enable-maintainer-zts --prefix=/usr/local/php70-zts ' ;
@@ -376,7 +396,7 @@ foreach($build as $v=>$b) {
376
396
echo "Building PHP 5.6-debug \n" ;
377
397
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --prefix=/usr/local/php56-debug ' ;
378
398
build_it ('PHP-5.6 ' , $ conf_flags );
379
- }
399
+ }
380
400
if ($ zts || $ world ) {
381
401
echo "Building PHP 5.6-zts \n" ;
382
402
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --enable-maintainer-zts --prefix=/usr/local/php56-zts ' ;
@@ -395,7 +415,7 @@ foreach($build as $v=>$b) {
395
415
echo "Building PHP 5.5-debug \n" ;
396
416
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --prefix=/usr/local/php55-debug ' ;
397
417
build_it ('PHP-5.5 ' , $ conf_flags );
398
- }
418
+ }
399
419
if ($ zts || $ world ) {
400
420
echo "Building PHP 5.5-zts \n" ;
401
421
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --enable-maintainer-zts --prefix=/usr/local/php55-zts ' ;
@@ -414,7 +434,7 @@ foreach($build as $v=>$b) {
414
434
echo "Building PHP 5.4-debug \n" ;
415
435
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --enable-debug --prefix=/usr/local/php54-debug --with-config-file-path=/etc/php54-debug --with-config-file-scan-dir=/etc/php54-debug/conf.d ' ;
416
436
build_it ('PHP-5.4 ' , $ conf_flags );
417
- }
437
+ }
418
438
if ($ zts || $ world ) {
419
439
echo "Building PHP 5.4-zts \n" ;
420
440
$ conf_flags = implode (' ' , $ conf [$ v ]) . ' --disable-debug --enable-maintainer-zts --prefix=/usr/local/php54-zts --with-config-file-path=/etc/php54-zts --with-config-file-scan-dir=/etc/php54-zts/conf.d ' ;
0 commit comments