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

View File

@ -1,5 +1,7 @@
#!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () {
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
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qttools
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qtmacextras
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2/*

View File

@ -1,5 +1,7 @@
#!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () {
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
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qttools
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qtmacextras
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2-arm/*

View File

@ -1,5 +1,7 @@
#!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () {
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
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qttools
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qtmacextras
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac_static.zip Qt-5.15.2-static/*

View File

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

View File

@ -1,5 +1,7 @@
#!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () {
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
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qttools
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qtmacextras
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd /usr/local
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7/*

View File

@ -1,5 +1,7 @@
#!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () {
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
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qttools
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qtmacextras
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd /usr/local
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7-arm/*

View File

@ -1,5 +1,7 @@
#!/bin/bash
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
makej () {
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
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qttools
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd ../qtmacextras
qmake
makej
echo maki | sudo -S sudo make install
echo $1 | sudo -S sudo make install
cd /usr/local
zip -r ~/Desktop/qt5.15.7_mac_static.zip Qt-5.15.7-static/*

View File

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