История изменений
Исправление gag, (текущая версия) :
Вот сборка trojita под линуксом:
$ time make
[...cut...]
real 11m26.519s
user 10m6.788s
sys 0m44.432s
$
А вот ещё раз, ничего не меняя:
$ time make 2>&1 | tee ../build-log-2.txt
[ 1%] Automatic moc for target AppVersion
[ 1%] Built target AppVersion_automoc
[ 1%] Automatic moc for target Common
[ 1%] Built target Common_automoc
[ 2%] Generating version_fake_file, trojita-version.h, trojita-git-version.h
[ 2%] Built target version
Scanning dependencies of target Common
[ 2%] Building CXX object CMakeFiles/Common.dir/src/Common/Application.cpp.o
[ 2%] Linking CXX static library libCommon.a
[ 4%] Built target Common
Scanning dependencies of target AppVersion
[ 4%] Building CXX object CMakeFiles/AppVersion.dir/src/AppVersion/SetCoreApplication.cpp.o
[ 4%] Linking CXX static library libAppVersion.a
[ 4%] Built target AppVersion
[ 4%] Automatic moc for target Composer
[ 4%] Built target Composer_automoc
[ 4%] Automatic moc for target Imap
[ 4%] Built target Imap_automoc
[ 4%] Automatic moc for target Plugins
[ 4%] Built target Plugins_automoc
[ 5%] Built target Plugins
[ 5%] Automatic moc for target Streams
[ 5%] Built target Streams_automoc
[ 8%] Built target Streams
[ 8%] Automatic moc for target UiUtils
[ 8%] Built target UiUtils_automoc
[ 10%] Built target UiUtils
[ 32%] Built target Imap
[ 32%] Automatic moc for target qwwsmtpclient
[ 32%] Built target qwwsmtpclient_automoc
[ 33%] Built target qwwsmtpclient
[ 34%] Automatic moc for target MSA
[ 34%] Built target MSA_automoc
[ 36%] Built target MSA
[ 39%] Built target Composer
[ 40%] Automatic moc for target Cryptography
[ 40%] Built target Cryptography_automoc
[ 42%] Built target Cryptography
[ 42%] Automatic moc for target DesktopGui
[ 42%] Built target DesktopGui_automoc
[ 43%] Automatic moc for target IPC
[ 43%] Built target IPC_automoc
[ 44%] Built target IPC
[ 59%] Built target DesktopGui
[ 59%] Automatic moc for target be.contacts
[ 59%] Built target be.contacts_automoc
[ 59%] Automatic moc for target trojita_plugin_AbookAddressbookPlugin
[ 59%] Built target trojita_plugin_AbookAddressbookPlugin_automoc
[ 61%] Built target trojita_plugin_AbookAddressbookPlugin
[ 62%] Built target be.contacts
[ 62%] Automatic moc for target fake-dev-random
[ 62%] Built target fake-dev-random_automoc
[ 63%] Built target fake-dev-random
[ 63%] Automatic moc for target test_Composer_Submission
[ 63%] Built target test_Composer_Submission_automoc
[ 63%] Automatic moc for target test_LibMailboxSync
[ 63%] Built target test_LibMailboxSync_automoc
[ 64%] Built target test_LibMailboxSync
[ 64%] Linking CXX executable test_Composer_Submission
[ 65%] Built target test_Composer_Submission
[ 65%] Automatic moc for target test_Composer_responses
[ 65%] Built target test_Composer_responses_automoc
[ 65%] Linking CXX executable test_Composer_responses
[ 66%] Built target test_Composer_responses
[ 66%] Automatic moc for target test_Cryptography_MessageModel
[ 66%] Built target test_Cryptography_MessageModel_automoc
[ 66%] Linking CXX executable test_Cryptography_MessageModel
[ 67%] Built target test_Cryptography_MessageModel
[ 68%] Automatic moc for target test_Cryptography_PGP
[ 68%] Built target test_Cryptography_PGP_automoc
[ 68%] Built target crypto_test_data
[ 68%] Linking CXX executable test_Cryptography_PGP
[ 69%] Built target test_Cryptography_PGP
[... для кучи ZZZ: ...]
[ 70%] Automatic moc for target ZZZ
[ 70%] Built target ZZZ_automoc
[ 70%] Linking CXX executable ZZZ
[ 70%] Built target ZZZ
[...cut...]
[ 97%] Automatic moc for target trojita
[ 97%] Built target trojita_automoc
[ 97%] Automatic moc for target trojita_plugin_ClearTextPasswordPlugin
[ 97%] Built target trojita_plugin_ClearTextPasswordPlugin_automoc
[ 98%] Built target trojita_plugin_ClearTextPasswordPlugin
[ 98%] Linking CXX executable trojita
[ 99%] Built target trojita
[ 99%] Automatic moc for target trojita_plugin_QtKeychainPasswordPlugin
[ 99%] Built target trojita_plugin_QtKeychainPasswordPlugin_automoc
[100%] Built target trojita_plugin_QtKeychainPasswordPlugin
real 0m43.447s
user 0m36.024s
sys 0m4.700s
$
Да-с. Проекту исполнилось недавно 10 лет (судя по первому коммиту), а процесс сборки какой-то совсем сырой. Похоже, там всё перелинковывается. Но зачем?
По крайней мере, можно отключить сборку тестов: -DWITH_TESTS=OFF.
Исправление gag, :
Вот сборка trojita под линуксом:
$ time make
[...cut...]
real 11m26.519s
user 10m6.788s
sys 0m44.432s
$
А вот ещё раз, ничего не меняя:
$ time make 2>&1 | tee ../build-log-2.txt
[ 1%] Automatic moc for target AppVersion
[ 1%] Built target AppVersion_automoc
[ 1%] Automatic moc for target Common
[ 1%] Built target Common_automoc
[ 2%] Generating version_fake_file, trojita-version.h, trojita-git-version.h
[ 2%] Built target version
Scanning dependencies of target Common
[ 2%] Building CXX object CMakeFiles/Common.dir/src/Common/Application.cpp.o
[ 2%] Linking CXX static library libCommon.a
[ 4%] Built target Common
Scanning dependencies of target AppVersion
[ 4%] Building CXX object CMakeFiles/AppVersion.dir/src/AppVersion/SetCoreApplication.cpp.o
[ 4%] Linking CXX static library libAppVersion.a
[ 4%] Built target AppVersion
[ 4%] Automatic moc for target Composer
[ 4%] Built target Composer_automoc
[ 4%] Automatic moc for target Imap
[ 4%] Built target Imap_automoc
[ 4%] Automatic moc for target Plugins
[ 4%] Built target Plugins_automoc
[ 5%] Built target Plugins
[ 5%] Automatic moc for target Streams
[ 5%] Built target Streams_automoc
[ 8%] Built target Streams
[ 8%] Automatic moc for target UiUtils
[ 8%] Built target UiUtils_automoc
[ 10%] Built target UiUtils
[ 32%] Built target Imap
[ 32%] Automatic moc for target qwwsmtpclient
[ 32%] Built target qwwsmtpclient_automoc
[ 33%] Built target qwwsmtpclient
[ 34%] Automatic moc for target MSA
[ 34%] Built target MSA_automoc
[ 36%] Built target MSA
[ 39%] Built target Composer
[ 40%] Automatic moc for target Cryptography
[ 40%] Built target Cryptography_automoc
[ 42%] Built target Cryptography
[ 42%] Automatic moc for target DesktopGui
[ 42%] Built target DesktopGui_automoc
[ 43%] Automatic moc for target IPC
[ 43%] Built target IPC_automoc
[ 44%] Built target IPC
[ 59%] Built target DesktopGui
[ 59%] Automatic moc for target be.contacts
[ 59%] Built target be.contacts_automoc
[ 59%] Automatic moc for target trojita_plugin_AbookAddressbookPlugin
[ 59%] Built target trojita_plugin_AbookAddressbookPlugin_automoc
[ 61%] Built target trojita_plugin_AbookAddressbookPlugin
[ 62%] Built target be.contacts
[ 62%] Automatic moc for target fake-dev-random
[ 62%] Built target fake-dev-random_automoc
[ 63%] Built target fake-dev-random
[ 63%] Automatic moc for target test_Composer_Submission
[ 63%] Built target test_Composer_Submission_automoc
[ 63%] Automatic moc for target test_LibMailboxSync
[ 63%] Built target test_LibMailboxSync_automoc
[ 64%] Built target test_LibMailboxSync
[ 64%] Linking CXX executable test_Composer_Submission
[ 65%] Built target test_Composer_Submission
[ 65%] Automatic moc for target test_Composer_responses
[ 65%] Built target test_Composer_responses_automoc
[ 65%] Linking CXX executable test_Composer_responses
[ 66%] Built target test_Composer_responses
[ 66%] Automatic moc for target test_Cryptography_MessageModel
[ 66%] Built target test_Cryptography_MessageModel_automoc
[ 66%] Linking CXX executable test_Cryptography_MessageModel
[ 67%] Built target test_Cryptography_MessageModel
[ 68%] Automatic moc for target test_Cryptography_PGP
[ 68%] Built target test_Cryptography_PGP_automoc
[ 68%] Built target crypto_test_data
[ 68%] Linking CXX executable test_Cryptography_PGP
[ 69%] Built target test_Cryptography_PGP
[... для кучи ZZZ: ...]
[ 70%] Automatic moc for target ZZZ
[ 70%] Built target ZZZ_automoc
[ 70%] Linking CXX executable ZZZ
[ 70%] Built target ZZZ
[...cut...]
[ 97%] Automatic moc for target trojita
[ 97%] Built target trojita_automoc
[ 97%] Automatic moc for target trojita_plugin_ClearTextPasswordPlugin
[ 97%] Built target trojita_plugin_ClearTextPasswordPlugin_automoc
[ 98%] Built target trojita_plugin_ClearTextPasswordPlugin
[ 98%] Linking CXX executable trojita
[ 99%] Built target trojita
[ 99%] Automatic moc for target trojita_plugin_QtKeychainPasswordPlugin
[ 99%] Built target trojita_plugin_QtKeychainPasswordPlugin_automoc
[100%] Built target trojita_plugin_QtKeychainPasswordPlugin
real 0m43.447s
user 0m36.024s
sys 0m4.700s
$
Да-с. Проекту исполнилось недавно 10 лет (судя по первому коммиту), а процесс сборки какой-то совсем сырой. Похоже, там всё перелинковывается. Но зачем?
По крайней мере, можно отключить сборку тестов: -DWITH_TESTS=OFF.
Исходная версия gag, :
Вот сборка trojita под линуксом:
$ time make
[...cut...]
real 11m26.519s
user 10m6.788s
sys 0m44.432s
$
А вот ещё раз, ничего не меняя:
$ time make 2>&1 | tee ../build-log-2.txt
[ 1%] Automatic moc for target AppVersion
[ 1%] Built target AppVersion_automoc
[ 1%] Automatic moc for target Common
[ 1%] Built target Common_automoc
[ 2%] Generating version_fake_file, trojita-version.h, trojita-git-version.h
[ 2%] Built target version
Scanning dependencies of target Common
[ 2%] Building CXX object CMakeFiles/Common.dir/src/Common/Application.cpp.o
[ 2%] Linking CXX static library libCommon.a
[ 4%] Built target Common
Scanning dependencies of target AppVersion
[ 4%] Building CXX object CMakeFiles/AppVersion.dir/src/AppVersion/SetCoreApplication.cpp.o
[ 4%] Linking CXX static library libAppVersion.a
[ 4%] Built target AppVersion
[ 4%] Automatic moc for target Composer
[ 4%] Built target Composer_automoc
[ 4%] Automatic moc for target Imap
[ 4%] Built target Imap_automoc
[ 4%] Automatic moc for target Plugins
[ 4%] Built target Plugins_automoc
[ 5%] Built target Plugins
[ 5%] Automatic moc for target Streams
[ 5%] Built target Streams_automoc
[ 8%] Built target Streams
[ 8%] Automatic moc for target UiUtils
[ 8%] Built target UiUtils_automoc
[ 10%] Built target UiUtils
[ 32%] Built target Imap
[ 32%] Automatic moc for target qwwsmtpclient
[ 32%] Built target qwwsmtpclient_automoc
[ 33%] Built target qwwsmtpclient
[ 34%] Automatic moc for target MSA
[ 34%] Built target MSA_automoc
[ 36%] Built target MSA
[ 39%] Built target Composer
[ 40%] Automatic moc for target Cryptography
[ 40%] Built target Cryptography_automoc
[ 42%] Built target Cryptography
[ 42%] Automatic moc for target DesktopGui
[ 42%] Built target DesktopGui_automoc
[ 43%] Automatic moc for target IPC
[ 43%] Built target IPC_automoc
[ 44%] Built target IPC
[ 59%] Built target DesktopGui
[ 59%] Automatic moc for target be.contacts
[ 59%] Built target be.contacts_automoc
[ 59%] Automatic moc for target trojita_plugin_AbookAddressbookPlugin
[ 59%] Built target trojita_plugin_AbookAddressbookPlugin_automoc
[ 61%] Built target trojita_plugin_AbookAddressbookPlugin
[ 62%] Built target be.contacts
[ 62%] Automatic moc for target fake-dev-random
[ 62%] Built target fake-dev-random_automoc
[ 63%] Built target fake-dev-random
[ 63%] Automatic moc for target test_Composer_Submission
[ 63%] Built target test_Composer_Submission_automoc
[ 63%] Automatic moc for target test_LibMailboxSync
[ 63%] Built target test_LibMailboxSync_automoc
[ 64%] Built target test_LibMailboxSync
[ 64%] Linking CXX executable test_Composer_Submission
[ 65%] Built target test_Composer_Submission
[ 65%] Automatic moc for target test_Composer_responses
[ 65%] Built target test_Composer_responses_automoc
[ 65%] Linking CXX executable test_Composer_responses
[ 66%] Built target test_Composer_responses
[ 66%] Automatic moc for target test_Cryptography_MessageModel
[ 66%] Built target test_Cryptography_MessageModel_automoc
[ 66%] Linking CXX executable test_Cryptography_MessageModel
[ 67%] Built target test_Cryptography_MessageModel
[ 68%] Automatic moc for target test_Cryptography_PGP
[ 68%] Built target test_Cryptography_PGP_automoc
[ 68%] Built target crypto_test_data
[ 68%] Linking CXX executable test_Cryptography_PGP
[ 69%] Built target test_Cryptography_PGP
[... для кучи ZZZ: ...]
[ 70%] Automatic moc for target ZZZ
[ 70%] Built target ZZZ_automoc
[ 70%] Linking CXX executable ZZZ
[ 70%] Built target ZZZ
[...cut...]
[ 97%] Automatic moc for target trojita
[ 97%] Built target trojita_automoc
[ 97%] Automatic moc for target trojita_plugin_ClearTextPasswordPlugin
[ 97%] Built target trojita_plugin_ClearTextPasswordPlugin_automoc
[ 98%] Built target trojita_plugin_ClearTextPasswordPlugin
[ 98%] Linking CXX executable trojita
[ 99%] Built target trojita
[ 99%] Automatic moc for target trojita_plugin_QtKeychainPasswordPlugin
[ 99%] Built target trojita_plugin_QtKeychainPasswordPlugin_automoc
[100%] Built target trojita_plugin_QtKeychainPasswordPlugin
real 0m43.447s
user 0m36.024s
sys 0m4.700s
$
Да-с. Проекту исполнилось недавно 10 лет (судя по первому коммиту), а процесс сборки какой-то совсем сырой. Похоже, там всё перелинковывается. Но зачем?
По крайней мере, можно отключить сборку тестов: -DWITH_TESTS=OFF.