> My rule of thumb: 2 GB of RAM per logical processor to do a compilation. So > 16 > GB of RAM is sufficient for a 4-core system (8 CPUs), but not for 6-core (12 > > CPUs). > But this doesn't apply to qtwebengine. That thing has a few VERY big files > > that are concatenation of a lot of small ones and take multiple GB of RAM to > > compile. If you don't need qtwebengine, don't download it and don't build > it.> sdfs Thanks for this info.
I have another question, I sucessfully build the dev branch, then I tried to build the branch 6.2.0 in another directory, using the same build parameters, but it failled with the following messages. Any ideias why this error happened ?Thanks [ 20%] Running AUTOMOC file extraction for target Scxml Consolidate compiler generated dependencies of target repc [ 20%] Running AUTOMOC file extraction for target Sensors [ 20%] Built target SerialPort_automoc_json_extraction Updating '/home/joao/qt6.2.0/qt5/qt6.2.0-build/qtbase/./translations/linguist_en.qm'... Updating '/home/joao/qt6.2.0/qt5/qt6.2.0-build/qtbase/./translations/qtwebsockets_en.qm'... lrelease error: cannot create '/home/joao/qt6.2.0/qt5/qt6.2.0-build/qtbase/./translations/linguist_en.qm': No such file or directory lrelease error: cannot create '/home/joao/qt6.2.0/qt5/qt6.2.0-build/qtbase/./translations/qtwebsockets_en.qm': No such file or directory make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-linguist_en.ts.dir/build.make:70: qttranslations/translations/CMakeFiles/updateqm-linguist_en.ts] Erro 1 make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/build.make:70: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts] Erro 1 make[1]: *** [CMakeFiles/Makefile2:259792: qttranslations/translations/CMakeFiles/updateqm-linguist_en.ts.dir/all] Erro 2 make[1]: *** A aguardar por trabalhos não terminados.... make[1]: *** [CMakeFiles/Makefile2:244804: qttranslations/translations/CMakeFiles/updateqm-qtwebsockets_en.ts.dir/all] Erro 2 [ 20%] Built target repc Updating '/home/joao/qt6.2.0/qt5/qt6.2.0-build/qtbase/./translations/qtwebengine_en.qm'... lrelease error: cannot create '/home/joao/qt6.2.0/qt5/qt6.2.0-build/qtbase/./translations/qtwebengine_en.qm': No such file or directory make[2]: *** [qttranslations/translations/CMakeFiles/updateqm-qtwebengine_en.ts.dir/build.make:70: qttranslations/translations/CMakeFiles/updateqm-qtwebengine_en.ts] Erro 1 make[1]: *** [CMakeFiles/Makefile2:244830: qttranslations/translations/CMakeFiles/updateqm-qtwebengine_en.ts.dir/all] Erro 2 [ 20%] Built target Scxml_automoc_json_extraction [ 20%] Built target Positioning_automoc_json_extraction [ 20%] Built target Sensors_automoc_json_extraction [ 20%] Built target DesignerComponentsPrivate_automoc_json_extraction make: *** [Makefile:146: all] Erro 2 joao@joao-Lenovo-Legion-Y530-15ICH:~/qt6.2.0/qt5/qt6.2.0-build$ git branch * 6.2.0 dev joao@joao-Lenovo-Legion-Y530-15ICH:~/qt6.2.0/qt5/qt6.2.0-build$ Em sábado, 2 de outubro de 2021 02:11:38 GMT+1, Thiago Macieira <thiago.macie...@intel.com> escreveu: On Friday, 1 October 2021 08:52:09 PDT joao morgado via Interest wrote: > cmake --build . -j 6 > and it works very well, much less memory used and the pc was usable during > compile time My rule of thumb: 2 GB of RAM per logical processor to do a compilation. So 16 GB of RAM is sufficient for a 4-core system (8 CPUs), but not for 6-core (12 CPUs). But this doesn't apply to qtwebengine. That thing has a few VERY big files that are concatenation of a lot of small ones and take multiple GB of RAM to compile. If you don't need qtwebengine, don't download it and don't build it. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest