From 48d67994b9bd843bf7fb6b287f34e5e2618e2cf4 Mon Sep 17 00:00:00 2001 From: kleuter Date: Wed, 4 Aug 2021 16:49:16 +0200 Subject: [PATCH] makej for all .sh scripts --- 5.15.2/compile_mac.sh | 7 ++++--- 5.15.2/compile_mac_arm.sh | 7 ++++--- 5.15.2/compile_mac_arm_cross.sh | 7 ++++--- 5.15.2/compile_mac_dev.sh | 7 ++++--- 5.15.2/compile_mac_static.sh | 7 ++++--- 5.15.4/compile_mac.sh | 7 ++++--- 5.15.4/compile_mac_arm.sh | 7 ++++--- 5.15.4/compile_mac_arm_cross.sh | 6 +++--- 5.15.4/compile_mac_dev.sh | 7 ++++--- 5.15.4/compile_mac_static.sh | 7 ++++--- 10 files changed, 39 insertions(+), 30 deletions(-) diff --git a/5.15.2/compile_mac.sh b/5.15.2/compile_mac.sh index 64c0396..f0ac3fc 100644 --- a/5.15.2/compile_mac.sh +++ b/5.15.2/compile_mac.sh @@ -1,22 +1,23 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:$(pwd)/qtbase/bin cd qtbase ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd /usr/local diff --git a/5.15.2/compile_mac_arm.sh b/5.15.2/compile_mac_arm.sh index 60e1fcc..e3b6e28 100644 --- a/5.15.2/compile_mac_arm.sh +++ b/5.15.2/compile_mac_arm.sh @@ -1,22 +1,23 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:$(pwd)/qtbase/bin cd qtbase ./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -make -j 8 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 8 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 8 +makej echo maki | sudo -S sudo make install cd /usr/local diff --git a/5.15.2/compile_mac_arm_cross.sh b/5.15.2/compile_mac_arm_cross.sh index f0a3de9..b8e42f0 100644 --- a/5.15.2/compile_mac_arm_cross.sh +++ b/5.15.2/compile_mac_arm_cross.sh @@ -1,22 +1,23 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:$(pwd)/qtbase/bin 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 -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd /usr/local diff --git a/5.15.2/compile_mac_dev.sh b/5.15.2/compile_mac_dev.sh index 94303d2..14346e2 100644 --- a/5.15.2/compile_mac_dev.sh +++ b/5.15.2/compile_mac_dev.sh @@ -1,17 +1,18 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:/usr/local/Qt-5.15.2/bin cd qtbase ./configure -developer-build -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -make -j 12 +makej cd ../qttools qmake -make -j 12 +makej cd ../qtmacextras qmake -make -j 12 \ No newline at end of file +makej \ No newline at end of file diff --git a/5.15.2/compile_mac_static.sh b/5.15.2/compile_mac_static.sh index da842f2..4b17e20 100644 --- a/5.15.2/compile_mac_static.sh +++ b/5.15.2/compile_mac_static.sh @@ -1,22 +1,23 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:$(pwd)/qtbase/bin 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 -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd /usr/local diff --git a/5.15.4/compile_mac.sh b/5.15.4/compile_mac.sh index 4344127..3aa45bb 100644 --- a/5.15.4/compile_mac.sh +++ b/5.15.4/compile_mac.sh @@ -1,22 +1,23 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:$(pwd)/qtbase/bin cd qtbase ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd /usr/local diff --git a/5.15.4/compile_mac_arm.sh b/5.15.4/compile_mac_arm.sh index 508b158..9634563 100644 --- a/5.15.4/compile_mac_arm.sh +++ b/5.15.4/compile_mac_arm.sh @@ -1,22 +1,23 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:$(pwd)/qtbase/bin cd qtbase ./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -make -j 8 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 8 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 8 +makej echo maki | sudo -S sudo make install cd /usr/local diff --git a/5.15.4/compile_mac_arm_cross.sh b/5.15.4/compile_mac_arm_cross.sh index 7b11c83..5f7ac0c 100644 --- a/5.15.4/compile_mac_arm_cross.sh +++ b/5.15.4/compile_mac_arm_cross.sh @@ -6,17 +6,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.4-arm -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd /usr/local diff --git a/5.15.4/compile_mac_dev.sh b/5.15.4/compile_mac_dev.sh index 1f09953..81183e6 100644 --- a/5.15.4/compile_mac_dev.sh +++ b/5.15.4/compile_mac_dev.sh @@ -1,17 +1,18 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:/usr/local/Qt-5.15.4/bin cd qtbase ./configure -developer-build -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -make -j 12 +makej cd ../qttools qmake -make -j 12 +makej cd ../qtmacextras qmake -make -j 12 \ No newline at end of file +makej \ No newline at end of file diff --git a/5.15.4/compile_mac_static.sh b/5.15.4/compile_mac_static.sh index 683b84b..c13ca8d 100644 --- a/5.15.4/compile_mac_static.sh +++ b/5.15.4/compile_mac_static.sh @@ -1,22 +1,23 @@ #!/bin/bash +alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')" export PATH=$PATH:$(pwd)/qtbase/bin 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.4-static -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qttools qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd ../qtmacextras qmake -make -j 16 +makej echo maki | sudo -S sudo make install cd /usr/local