From 070cda579b3ba88a989dd84819dcd8b0f4c4f35c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Aug 2023 13:27:41 +0200 Subject: php 8.3 as base helpers --- buildfct | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 120 insertions(+), 1 deletion(-) (limited to 'buildfct') diff --git a/buildfct b/buildfct index 0831fcf..fb99bec 100644 --- a/buildfct +++ b/buildfct @@ -64,6 +64,7 @@ alias mockfc37x74=" mock --configdir=$mocketc -r fc37x74 alias mockfc37x80=" mock --configdir=$mocketc -r fc37x80 rebuild " alias mockfc37x81=" mock --configdir=$mocketc -r fc37x81 rebuild " alias mockfc37x82=" mock --configdir=$mocketc -r fc37x82 rebuild " +alias mockfc37x83=" mock --configdir=$mocketc -r fc37x83 rebuild " alias mockfc37xscl74=" mock --configdir=$mocketc -r fc37xscl74 rebuild " alias mockfc37xscl80=" mock --configdir=$mocketc -r fc37xscl80 rebuild " alias mockfc37xscl81=" mock --configdir=$mocketc -r fc37xscl81 rebuild " @@ -83,6 +84,7 @@ alias mockfc38x74=" mock --configdir=$mocketc -r fc38x74 alias mockfc38x80=" mock --configdir=$mocketc -r fc38x80 rebuild " alias mockfc38x81=" mock --configdir=$mocketc -r fc38x81 rebuild " alias mockfc38x82=" mock --configdir=$mocketc -r fc38x82 rebuild " +alias mockfc38x83=" mock --configdir=$mocketc -r fc38x83 rebuild " alias mockfc38xscl74=" mock --configdir=$mocketc -r fc38xscl74 rebuild " alias mockfc38xscl80=" mock --configdir=$mocketc -r fc38xscl80 rebuild " alias mockfc38xscl81=" mock --configdir=$mocketc -r fc38xscl81 rebuild " @@ -99,6 +101,7 @@ alias mockfc39x74=" mock --configdir=$mocketc -r fc39x74 alias mockfc39x80=" mock --configdir=$mocketc -r fc39x80 rebuild " alias mockfc39x81=" mock --configdir=$mocketc -r fc39x81 rebuild " alias mockfc39x82=" mock --configdir=$mocketc -r fc39x82 rebuild " +alias mockfc39x83=" mock --configdir=$mocketc -r fc39x83 rebuild " alias mockfc39xscl74=" mock --configdir=$mocketc -r fc39xscl74 rebuild " alias mockfc39xscl80=" mock --configdir=$mocketc -r fc39xscl80 rebuild " alias mockfc39xscl81=" mock --configdir=$mocketc -r fc39xscl81 rebuild " @@ -149,6 +152,7 @@ alias mockel7x74=" mock --configdir=$mocketc -r el7x74 r alias mockel7x80=" mock --configdir=$mocketc -r el7x80 rebuild " alias mockel7x81=" mock --configdir=$mocketc -r el7x81 rebuild " alias mockel7x82=" mock --configdir=$mocketc -r el7x82 rebuild " +alias mockel7x83=" mock --configdir=$mocketc -r el7x83 rebuild " alias mockel7xscl54=" mock --configdir=$mocketc -r el7xscl54 rebuild " alias mockel7xscl55=" mock --configdir=$mocketc -r el7xscl55 rebuild " alias mockel7xscl56=" mock --configdir=$mocketc -r el7xscl56 rebuild " @@ -172,6 +176,7 @@ alias mockel8x80=" mock --configdir=$mocketc -r el8x80 r alias mockel8x81=" mock --configdir=$mocketc -r el8x81 rebuild " alias mockel8n81=" mock --configdir=$mocketc -r el8n81 rebuild " alias mockel8x82=" mock --configdir=$mocketc -r el8x82 rebuild " +alias mockel8x83=" mock --configdir=$mocketc -r el8x83 rebuild " alias mockel8xscl56=" mock --configdir=$mocketc -r el8xscl56 rebuild " alias mockel8xscl70=" mock --configdir=$mocketc -r el8xscl70 rebuild " alias mockel8xscl71=" mock --configdir=$mocketc -r el8xscl71 rebuild " @@ -196,6 +201,7 @@ alias mockel9x80=" mock --configdir=$mocketc -r el9x80 r alias mockel9x81=" mock --configdir=$mocketc -r el9x81 rebuild " alias mockel9n81=" mock --configdir=$mocketc -r el9n81 rebuild " alias mockel9x82=" mock --configdir=$mocketc -r el9x82 rebuild " +alias mockel9x83=" mock --configdir=$mocketc -r el9x83 rebuild " alias mockel9xscl74=" mock --configdir=$mocketc -r el9xscl74 rebuild " alias mockel9xscl80=" mock --configdir=$mocketc -r el9xscl80 rebuild " alias mockel9xscl81=" mock --configdir=$mocketc -r el9xscl81 rebuild " @@ -309,7 +315,7 @@ fi if [ -f "$1" ]; then date +%X pids="" - for i in 38 37 + for i in 39 38 37 do echo -n "" (mock $quiet --configdir=$mocketc -r fc${i}x rebuild "$@" && echo "$(date +%X) (8x) fc$i Ok." || echo "fc$1 Error !")& @@ -342,6 +348,9 @@ fi if [ -f "$1" ]; then date +%X pids="" + echo -n "" + (mock $quiet --configdir=$mocketc -r fc39x rebuild "$@" && echo "$(date +%X) (82) fc39 Ok." || echo "fc38 Error !")& + pids="$pids $!" echo -n "" (mock $quiet --configdir=$mocketc -r fc38x rebuild "$@" && echo "$(date +%X) (82) fc38 Ok." || echo "fc38 Error !")& pids="$pids $!" @@ -563,6 +572,48 @@ else fi } +# Build All distribution / version / 64bits for remi/scl-php82 +mockscl83el() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 7 8 9 + do + echo -n "$(date +%X) scl83 el$i " + mock $quiet --configdir=$mocketc -r el${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + +# Build All distribution / version / 64bits for remi/scl-php82 +mockscl83fc() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 37 38 39 + do + echo -n "$(date +%X) scl83 fc$i " + mock $quiet --configdir=$mocketc -r fc${i}xscl83 rebuild "$@" && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution / version / 64bits for remi/scl-php82 mockscl82x() { @@ -711,6 +762,74 @@ else fi } +# Build All distribution / version / 64bits for remi/remi-php83 +mock83x() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 37 38 39 + do + echo -n "$(date +%X) 83 fc$i " + mock $quiet --configdir=$mocketc -r fc${i}x83 rebuild "$@" && echo " Ok." || echo " Error !" + done + for i in 8 9 7 + do + echo -n "$(date +%X) 83 el$i " + mock $quiet --configdir=$mocketc -r el${i}x83 rebuild "$@"&& echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + +# Build All distribution / version / 64bits for remi/remi-php83 +mock83el() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 8 9 7 + do + echo -n "$(date +%X) 83 el$i " + mock $quiet --configdir=$mocketc -r el${i}x83 rebuild "$@"&& echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + +# Build All distribution / version / 64bits for remi/remi-php83 +mock83fc() +{ +quiet="" +if [ "$1" = "-q" ]; then + quiet="--quiet" + shift +fi + +if [ -f "$1" ]; then + for i in 37 38 39 + do + echo -n "$(date +%X) 83 fc$i " + mock $quiet --configdir=$mocketc -r fc${i}x83 rebuild "$@" && echo " Ok." || echo " Error !" + done + date +%X +else + echo "file not found '$1'" +fi +} + # Build All distribution / version / 64bits for remi/remi-php82 mock82x() { -- cgit