Changeset 992 for trunk/qmake/generators/os2/gnumake.cpp
- Timestamp:
- Aug 16, 2011, 6:51:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/os2/gnumake.cpp
r977 r992 360 360 else if(project->first("TEMPLATE") == "subdirs") { 361 361 writeSubDirs(t); 362 if (project->isActiveConfig("ordered")) { 363 // Ordered builds are usually used when one sub-project links to 364 // another sub-project's library. Sometimes detecting the proper 365 // library name (e.g. the version suffix) requires at least a .prl 366 // for that library to exist. The .prl is created by qmake at Makefile 367 // generation time and these qmake calls are not actually ordered at 368 // dependency level so in case of parallel builds they may get 369 // executed simultaneously which breaks the build. It is not really 370 // possible to order them using dependencies because there are usually 371 // several target's flavors all depending on its Makefile and it's 372 // impossible to detect which flavor of the "parent" target this 373 // make file should depend on (depending on the "parent"'s Makefile 374 // is not enough because the required libraries may be generated by 375 // its own sub-projects at a later stage). One case showing this 376 // behavior is designer.exe depending on QtDesignerComponents.lib. 377 // 378 // The only solution to this is to disable parallelism for subdirs 379 // Makefiles completely. Which is not a big deal since "ordered" 380 // implies sequential building any way. 381 t << ".NOTPARALLEL:" << endl << endl; 382 } 362 383 return true; 363 384 }
Note:
See TracChangeset
for help on using the changeset viewer.