summaryrefslogtreecommitdiffstats
path: root/buildfct
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-03-23 09:22:34 +0100
committerRemi Collet <remi@php.net>2023-03-23 09:22:34 +0100
commita9bce0428b5c33a9975e975596c89bf69fe110f0 (patch)
tree9c7813687e7ba1bbf6f24e9abbed93a6a2393800 /buildfct
parentb58f7c1e3c239b7304dd759c6ecde5732feb025f (diff)
redis 7.2 helpers
Diffstat (limited to 'buildfct')
-rw-r--r--buildfct67
1 files changed, 62 insertions, 5 deletions
diff --git a/buildfct b/buildfct
index b46381d..ecaba2a 100644
--- a/buildfct
+++ b/buildfct
@@ -53,6 +53,7 @@ alias mockfc36xscl82=" mock --configdir=$mocketc -r fc36xscl82
alias mockfc36xr60=" mock --configdir=$mocketc -r fc36xr60 rebuild "
alias mockfc36xr62=" mock --configdir=$mocketc -r fc36xr62 rebuild "
alias mockfc36xr70=" mock --configdir=$mocketc -r fc36xr70 rebuild "
+alias mockfc36xr72=" mock --configdir=$mocketc -r fc36xr72 rebuild "
alias mockfc36xm=" mock --configdir=$mocketc -r fc36xm rebuild "
alias mockfc37i=" setarch i686 mock --configdir=$mocketc -r fc37i --arch i686 rebuild "
@@ -70,6 +71,7 @@ alias mockfc37xscl82=" mock --configdir=$mocketc -r fc37xscl82
alias mockfc37xr60=" mock --configdir=$mocketc -r fc37xr60 rebuild "
alias mockfc37xr62=" mock --configdir=$mocketc -r fc37xr62 rebuild "
alias mockfc37xr70=" mock --configdir=$mocketc -r fc37xr70 rebuild "
+alias mockfc37xr72=" mock --configdir=$mocketc -r fc37xr72 rebuild "
alias mockfc37xm=" mock --configdir=$mocketc -r fc37xm rebuild "
alias mockfc38i=" setarch i686 mock --configdir=$mocketc -r fc38i --arch i686 rebuild "
@@ -87,6 +89,7 @@ alias mockfc38xscl82=" mock --configdir=$mocketc -r fc38xscl82
alias mockfc38xr60=" mock --configdir=$mocketc -r fc38xr60 rebuild "
alias mockfc38xr62=" mock --configdir=$mocketc -r fc38xr62 rebuild "
alias mockfc38xr70=" mock --configdir=$mocketc -r fc38xr70 rebuild "
+alias mockfc38xr72=" mock --configdir=$mocketc -r fc38xr72 rebuild "
alias mockfc38xm=" mock --configdir=$mocketc -r fc38xm rebuild "
alias mockel6i=" setarch i686 mock --configdir=$mocketc -r el6i --arch i686 rebuild "
@@ -162,7 +165,8 @@ alias mockel8xscl82=" mock --configdir=$mocketc -r el8xscl82 r
alias mockel8xr60=" mock --configdir=$mocketc -r el8xr60 rebuild "
alias mockel8xr62=" mock --configdir=$mocketc -r el8xr62 rebuild "
alias mockel8xr70=" mock --configdir=$mocketc -r el8xr70 rebuild "
-alias mockel8xm=" mock --configdir=$mocketc -r el8xm rebuild "
+alias mockel8xr72=" mock --configdir=$mocketc -r el8xr72 rebuild "
+## alias mockel8xm=" mock --configdir=$mocketc -r el8xm rebuild "
alias mockel9x=" mock --configdir=$mocketc -r el9x rebuild "
alias mockel9xr=" mock --configdir=$mocketc -r el9xr rebuild "
@@ -179,6 +183,7 @@ alias mockel9xscl82=" mock --configdir=$mocketc -r el9xscl82 r
alias mockel9xr60=" mock --configdir=$mocketc -r el9xr60 rebuild "
alias mockel9xr62=" mock --configdir=$mocketc -r el9xr62 rebuild "
alias mockel9xr70=" mock --configdir=$mocketc -r el9xr70 rebuild "
+alias mockel9xr72=" mock --configdir=$mocketc -r el9xr72 rebuild "
alias mockel9xm=" mock --configdir=$mocketc -r el9xm rebuild "
alias mockepel872=" mock --configdir=$mocketc -r epel872 rebuild "
@@ -524,7 +529,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36
+ for i in 37 36 38
do
echo -n "$(date +%X) scl82 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl82 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -550,7 +555,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36
+ for i in 37 38 36
do
echo -n "$(date +%X) scl81 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl81 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -566,6 +571,32 @@ else
fi
}
+# Build All distribution / version / 64bits for redis:remi-6.0
+mockr60x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ echo -n "$(date +%X) r60 f37 "
+ mock $quiet --configdir=$mocketc -r fc37xr60 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r60 f36 "
+ mock $quiet --configdir=$mocketc -r fc36xr60 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r60 el9 "
+ mock $quiet --configdir=$mocketc -r el9xr60 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r60 el8 "
+ mock $quiet --configdir=$mocketc -r el8xr60 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r60 el7 "
+ mock $quiet --configdir=$mocketc -r el7x rebuild "$@" && echo " Ok." || echo " Error !"
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
# Build All distribution / version / 64bits for redis:remi-6.2
mockr62x()
{
@@ -593,6 +624,32 @@ fi
}
# Build All distribution / version / 64bits for redis:remi-7.0
+mockr72x()
+{
+quiet=""
+if [ "$1" = "-q" ]; then
+ quiet="--quiet"
+ shift
+fi
+
+if [ -f "$1" ]; then
+ echo -n "$(date +%X) r72 f37 "
+ mock $quiet --configdir=$mocketc -r fc37xr72 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r72 f36 "
+ mock $quiet --configdir=$mocketc -r fc36xr72 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r72 el9 "
+ mock $quiet --configdir=$mocketc -r el9xr72 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r72 el8 "
+ mock $quiet --configdir=$mocketc -r el8xr72 rebuild "$@" && echo " Ok." || echo " Error !"
+ echo -n "$(date +%X) r72 el7 "
+ mock $quiet --configdir=$mocketc -r el7x rebuild "$@" && echo " Ok." || echo " Error !"
+ date +%X
+else
+ echo "file not found '$1'"
+fi
+}
+
+# Build All distribution / version / 64bits for redis:remi-7.0
mockr70x()
{
quiet=""
@@ -706,7 +763,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36
+ for i in 37 36 38
do
echo -n "$(date +%X) scl80 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl80 rebuild "$@" && echo " Ok." || echo " Error !"
@@ -732,7 +789,7 @@ if [ "$1" = "-q" ]; then
fi
if [ -f "$1" ]; then
- for i in 37 36
+ for i in 37 38 36
do
echo -n "$(date +%X) scl74 fc$i "
mock $quiet --configdir=$mocketc -r fc${i}xscl74 rebuild "$@" && echo " Ok." || echo " Error !"