summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-11 15:03:11 +0200
committerRemi Collet <remi@remirepo.net>2020-09-11 15:03:11 +0200
commit8d0d962447602473ab36ad8bfb5c78ad09a78de9 (patch)
tree66499bc3b7d054b39dcc7146e4a7261558d6d808 /buildfct
parent3b4d4a7407bd5cface36ae23bb9c1eaafb7bb80c (diff)
build helper for php 8
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct94
1 files changed, 53 insertions, 41 deletions
diff --git a/buildfct b/buildfct
index ccad0a5..41a6df8 100644
--- a/buildfct
+++ b/buildfct
@@ -22,6 +22,7 @@ alias mockfc31x=" mock --configdir=$mocketc -r fc31x
alias mockfc31xd=" mock --configdir=$mocketc -r fc31xd rebuild "
alias mockfc31xr=" mock --configdir=$mocketc -r fc31xr rebuild "
alias mockfc31x74=" mock --configdir=$mocketc -r fc31x74 rebuild "
+alias mockfc31x80=" mock --configdir=$mocketc -r fc31x80 rebuild "
alias mockfc31xscl56=" mock --configdir=$mocketc -r fc31xscl56 rebuild "
alias mockfc31xscl70=" mock --configdir=$mocketc -r fc31xscl70 rebuild "
alias mockfc31xscl71=" mock --configdir=$mocketc -r fc31xscl71 rebuild "
@@ -33,6 +34,7 @@ alias mockfc31xscl80=" mock --configdir=$mocketc -r fc31xscl80
alias mockfc32x=" mock --configdir=$mocketc -r fc32x rebuild "
alias mockfc32xd=" mock --configdir=$mocketc -r fc32xd rebuild "
alias mockfc32xr=" mock --configdir=$mocketc -r fc32xr rebuild "
+alias mockfc32x80=" mock --configdir=$mocketc -r fc32x80 rebuild "
alias mockfc32xscl56=" mock --configdir=$mocketc -r fc32xscl56 rebuild "
alias mockfc32xscl70=" mock --configdir=$mocketc -r fc32xscl70 rebuild "
alias mockfc32xscl71=" mock --configdir=$mocketc -r fc32xscl71 rebuild "
@@ -44,6 +46,7 @@ alias mockfc32xscl80=" mock --configdir=$mocketc -r fc32xscl80
alias mockfc33x=" mock --configdir=$mocketc -r fc33x rebuild "
alias mockfc33xd=" mock --configdir=$mocketc -r fc33xd rebuild "
alias mockfc33xr=" mock --configdir=$mocketc -r fc33xr rebuild "
+alias mockfc33x80=" mock --configdir=$mocketc -r fc33x80 rebuild "
alias mockfc33xscl56=" mock --configdir=$mocketc -r fc33xscl56 rebuild "
alias mockfc33xscl70=" mock --configdir=$mocketc -r fc33xscl70 rebuild "
alias mockfc33xscl71=" mock --configdir=$mocketc -r fc33xscl71 rebuild "
@@ -88,6 +91,7 @@ alias mockel7x71=" mock --configdir=$mocketc -r el7x71 r
alias mockel7x72=" mock --configdir=$mocketc -r el7x72 rebuild "
alias mockel7x73=" mock --configdir=$mocketc -r el7x73 rebuild "
alias mockel7x74=" mock --configdir=$mocketc -r el7x74 rebuild "
+alias mockel7x80=" mock --configdir=$mocketc -r el7x80 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 "
@@ -104,6 +108,7 @@ alias mockel8xp=" mock --configdir=$mocketc -r el8xp r
alias mockel8x72=" mock --configdir=$mocketc -r el8x72 rebuild "
alias mockel8x73=" mock --configdir=$mocketc -r el8x73 rebuild "
alias mockel8x74=" mock --configdir=$mocketc -r el8x74 rebuild "
+alias mockel8x80=" mock --configdir=$mocketc -r el8x80 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 "
@@ -128,11 +133,6 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 30
- do
- echo -n "$(date +%X) fc$i "
- setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- done
echo -n "$(date +%X) el6 "
setarch i686 mock $quiet --configdir=$mocketc -r el6i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
date +%X
@@ -151,11 +151,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 30
- do
- echo -n "$(date +%X) fc$i "
- setarch i686 mock $quiet --configdir=$mocketc -r fc${i}ir --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- done
+ echo "Nothing."
else
echo "file not found '$1'"
fi
@@ -171,11 +167,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 30
- do
- echo -n "$(date +%X) fc$i "
- setarch i686 mock $quiet --configdir=$mocketc -r fc${i}i --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- done
+ echo "Nothing."
else
echo "file not found '$1'"
fi
@@ -328,19 +320,13 @@ fi
# Build All distribution / version / 32bits for remi/remi-php74
mock74i()
{
-quiet=""
-if [ "$1" = "-q" ]; then
- quiet="--quiet"
- shift
-fi
+echo "Nothing."
+}
-if [ -f "$1" ]; then
- echo -n "$(date +%X) 74 fc30 "
- setarch i686 mock $quiet --configdir=$mocketc -r fc30i74 --arch i686 rebuild $1 && echo " Ok." || echo " Error !"
- date +%X
-else
- echo "file not found '$1'"
-fi
+# Build All distribution / version / 32bits for remi/remi-php80
+mock74i()
+{
+echo "Nothing."
}
# Build all distribution / version / 32bits for remi-test
@@ -371,7 +357,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30 33
+ for i in 31 32 33
do
echo -n "$(date +%X) fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
@@ -397,7 +383,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 30 32 33
+ for i in 31 32 33
do
echo -n "$(date +%X) fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xr rebuild $1 && echo " Ok." || echo " Error !"
@@ -423,7 +409,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 30 32
+ for i in 31 32 33
do
echo -n "$(date +%X) fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo " Ok." || echo " Error !"
@@ -487,7 +473,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 32 31 30 33
+ for i in 32 31 33
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
@@ -520,7 +506,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 32 31 30 33
+ for i in 32 31 33
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (7x) fc$i Ok." || echo "fc$1 Error !")&
@@ -553,7 +539,7 @@ fi
if [ -f "$1" ]; then
date +%X
pids=""
- for i in 31 30
+ for i in 31
do
echo -n ""
(mock $quiet --configdir=$mocketc -r fc${i}x rebuild $1 && echo "$(date +%X) (72) fc$i Ok." || echo "fc$1 Error !")&
@@ -734,7 +720,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 30
+ for i in 31
do
echo -n "$(date +%X) 74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}x74 rebuild $1 && echo " Ok." || echo " Error !"
@@ -750,6 +736,32 @@ else
fi
}
+# Build All distribution / version / 64bits for remi/remi-php74
+mock80x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ for i in 31 32 33
+ do
+ echo -n "$(date +%X) 80 fc$i "
+ mock $quiet --configdir=$mocketc -r fc${i}x80 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ for i in 8 7
+ do
+ echo -n "$(date +%X) 80 el$i "
+ mock $quiet --configdir=$mocketc -r el${i}x80 rebuild $1 && echo " Ok." || echo " Error !"
+ done
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build All distribution / version / 64bits for remi/scl-php80
mockscl80x()
{
@@ -776,7 +788,7 @@ else
fi
}
-# Build All distribution / version / 64bits for remi/scl-php74
+# Build All distribution / version / 64bits for remi/scl-php80
mockscl74x()
{
quiet=""
@@ -786,7 +798,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30 33
+ for i in 31 32 33
do
echo -n "$(date +%X) scl74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild $1 && echo " Ok." || echo " Error !"
@@ -812,7 +824,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30 33
+ for i in 31 32 33
do
echo -n "$(date +%X) scl73 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl73 rebuild $1 && echo " Ok." || echo " Error !"
@@ -838,7 +850,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 30 32 33
+ for i in 31 32 33
do
echo -n "$(date +%X) scl72 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl72 rebuild $1 && echo " Ok." || echo " Error !"
@@ -864,7 +876,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 30 32
+ for i in 31 33 32
do
echo -n "$(date +%X) scl71 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl71 rebuild $1 && echo " Ok." || echo " Error !"
@@ -890,7 +902,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 33 30
+ for i in 31 32 33
do
echo -n "$(date +%X) scl70 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl70 rebuild $1 && echo " Ok." || echo " Error !"
@@ -916,7 +928,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 31 32 30 33
+ for i in 31 32 33
do
echo -n "$(date +%X) scl56 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl56 rebuild $1 && echo " Ok." || echo " Error !"