Warning, /sdk/cutehmi/dev/Tips_tricks_and_clues/Only_single_CPU_core_is_used_during_build.txt is written in an unsupported language. File is not indexed.
0001 Problem: 0002 0003 While building project only single CPU core is ever used. 0004 0005 Explanation: 0006 0007 By default GNU Make is processing targets in sequential manner. GCC is using single thread 0008 for each compilation unit, thus only one CPU core is utilized. 0009 0010 Solution: 0011 0012 To enable parallel builds use Make with "-j N" option, where N is number of tasks performed in parallel. 0013 This way N compilation units will be processed at the same time. 0014 N should correspond to number of CPU cores. In QtCreator this can be done by providing "Make arguments" in 0015 Projects > Build & Run.