[Interest] speeding up "make clean" in qt src on OS X?
Patrick Stinson
patrickkidd at gmail.com
Thu Apr 20 10:34:10 CEST 2017
Hello!
Running “make clean” in the root qt src dir calls xcodebuild a whole bunch of times and takes a really, really long time. Is there any faster way to do this? I am already excluding a lot of unnecessary builds in my configure line:
./configure -static -debug-and-release -nomake examples -xplatform macx-ios-clang -sdk iphoneos -nomake tests -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtdocgallery -skip qtenginio -skip qtfeedback -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpim -skip qtqa -skip qtquick1 -skip qtquickcontrols -skip qtquickcontrols2 -skip qtrepotools -skip qtscript -skip qtscxml -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtsystems -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -developer-build -opensource -confirm-license
and it still runs a bunch of xcodebuild calls like this:
rm -f .obj/tst_qpixelformat_plugin_import.o
rm -f *~ core *.core
cd qopenglwindow/ && ( test -e Makefile || /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/bin/qmake -o Makefile /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/qopenglwindow.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile clean
xcodebuild clean -project tst_qopenglwindow.xcodeproj -scheme tst_qopenglwindow -configuration Debug -destination generic/platform=iOS -destination-timeout 1
=== CLEAN AGGREGATE TARGET Qt Preprocess OF PROJECT tst_qopenglwindow WITH CONFIGURATION Debug ===
Check dependencies
Clean.Remove clean .obj/tst_qopenglwindow.build/Debug-iphoneos/Qt\ Preprocess.build
builtin-rm -rf /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/.obj/tst_qopenglwindow.build/Debug-iphoneos/Qt\ Preprocess.build
=== CLEAN TARGET tst_qopenglwindow OF PROJECT tst_qopenglwindow WITH CONFIGURATION Debug ===
Check dependencies
Create product structure
/bin/mkdir -p /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/Debug-iphoneos/tst_qopenglwindow.app
Clean.Remove clean Debug-iphoneos/tst_qopenglwindow.app
builtin-rm -rf /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/Debug-iphoneos/tst_qopenglwindow.app
Clean.Remove clean .obj/tst_qopenglwindow.build/Debug-iphoneos/tst_qopenglwindow.build
builtin-rm -rf /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/.obj/tst_qopenglwindow.build/Debug-iphoneos/tst_qopenglwindow.build
** CLEAN SUCCEEDED **
Thanks!
-P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170420/b376110a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170420/b376110a/attachment.bin>
More information about the Interest
mailing list