build order (random) problem with QtGenerated* files
Bug #406343 reported by
Janek Kozicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Fix Released
|
High
|
Unassigned |
Bug Description
Make a fresh checkout, then built with lots of jobs (for example jobs=8).
And there's a 50% chance that you will get this build error:
yade/
When you invoke scons second time - it will just work.
This problem occurs because sometimes SimulationContr
included & compiled *before* the file QtGeneratedSimu
had a chance to be generated. Of course on second build it is already
generated, so the second time it works.
To post a comment you must log in.
maybe the simplest approach would be to compile in two-passes. First (only if QT is enabled) generate all QtGenerated* files - this will be really fast, then do the usual compilation.