scripts fix

This commit is contained in:
kleuter 2021-11-22 10:28:19 +01:00
parent 1c448fe688
commit 96a9f5509f
9 changed files with 45 additions and 27 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac.zip Qt-5.15.2/* zip -r ~/Desktop/qt5.15.2_mac.zip Qt-5.15.2/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport ./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2/* zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.2-arm ./configure -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.2-arm
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2-arm/* zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2-arm/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure -static -release -ltcg -optimize-size -no-pch -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.2-static ./configure -static -release -ltcg -optimize-size -no-pch -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.2-static
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac_static.zip Qt-5.15.2-static/* zip -r ~/Desktop/qt5.15.2_mac_static.zip Qt-5.15.2-static/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.7_mac.zip Qt-5.15.7/* zip -r ~/Desktop/qt5.15.7_mac.zip Qt-5.15.7/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport ./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7/* zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.7-arm ./configure -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.7-arm
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7-arm/* zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7-arm/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure -static -release -ltcg -optimize-size -no-pch -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.7-static ./configure -static -release -ltcg -optimize-size -no-pch -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.7-static
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.15.7_mac_static.zip Qt-5.15.7-static/* zip -r ~/Desktop/qt5.15.7_mac_static.zip Qt-5.15.7-static/*

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () { makej () {
make -j$(sysctl -n hw.ncpu) make -j$(sysctl -n hw.ncpu)
} }
@ -10,17 +12,17 @@ cd qtbase
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qttools cd ../qttools
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd ../qtmacextras cd ../qtmacextras
qmake qmake
makej makej
echo maki | sudo -S sudo make install echo $1 | sudo -S sudo make install
cd /usr/local cd /usr/local
zip -r ~/Desktop/qt5.6.3_mac.zip Qt-5.6.3/* zip -r ~/Desktop/qt5.6.3_mac.zip Qt-5.6.3/*