Autogen: Restore mocs_compilation in OBJECT libraries

Since commit f65f2093 (Autogen: Avoid processing CSharp targets,
2020-11-12, v3.20.0-rc1~301^2) we collect all sources for a target
earlier than previously.  Clear the sources cache so that it will be
re-computed later after AUTOGEN processing.

Fixes: #22085
32 jobs for !6024 with autogen-clear-early-source-cache in 77 minutes and 43 seconds (queued for 3 seconds)
latest detached
Status Name Job ID Coverage
  Build
passed build:centos6-x86_64 #5719817
cmake build docker linux manual

00:02:20

passed build:debian10-iwyu #5719814
cmake build docker linux

00:03:31

passed build:fedora33-ninja #5719818
cmake build docker linux linux-3.17 manual

00:02:10

passed build:fedora33-sphinx #5719816
cmake build docker linux linux-3.17

00:04:48

passed build:fedora33-tidy #5719815
cmake build docker linux linux-3.17

00:04:43

passed build:macos-x86_64-makefiles #5719820
cmake macos shell xcode-12.4 nonconcurrent manual

00:02:49

passed build:macos-x86_64-ninja #5719819
cmake macos shell xcode-12.4 nonconcurrent manual

00:02:39

passed build:windows-vs2019-x64-ninja #5719821
cmake windows shell vs2019 msvc-19.28-16.9 nonconcurrent manual

00:11:38

 
  Test
passed test:fedora33-ninja #5719822
cmake docker linux linux-3.17 x11

00:07:32

passed test:macos-x86_64-makefiles #5719824
cmake macos shell xcode-12.4 nonconcurrent

00:09:32

passed test:macos-x86_64-ninja #5719823
cmake macos shell xcode-12.4 nonconcurrent

00:14:37

passed test:windows-vs2019-x64-ninja #5719825
cmake windows shell vs2019 msvc-19.28-16.9 nonconcurrent

00:19:32

 
  Test Ext
passed test:cuda10.2-nvidia #5719828
cmake cuda-rt docker linux

00:00:52

passed test:debian10-ninja #5719826
cmake build docker linux linux-3.17

00:07:00

passed test:fedora33-makefiles #5719827
cmake build docker linux linux-3.17

00:02:46

passed test:fedora33-ninja-multi #5719829
cmake build docker linux linux-3.17

00:03:53

failed test:macos-x86_64-xcode #5719830
cmake macos shell xcode-12.4 concurrent

01:00:01

passed test:windows-vs2019-x64 #5719831
cmake windows shell vs2019 msvc-19.28-16.9 concurrent

00:10:44

 
  External
passed cdash

passed ghostflow-check-master

passed ghostflow-check-release

passed ghostflow-stager

passed cdash

passed cdash

passed cdash

passed cdash

passed cdash

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

 
Name Stage Failure
failed
test:macos-x86_64-xcode Test Ext The script exceeded the maximum execution time set for the job
        Start 489: Qt5Autogen.UicNoGui
484/512 Test #485: Qt5Autogen.SameName .................................. Passed 16.49 sec
Start 490: Qt5Autogen.UicOnly
485/512 Test #487: Qt5Autogen.UicInclude ................................ Passed 16.86 sec
Start 491: Qt5Autogen.UicSkipSource
486/512 Test #486: Qt5Autogen.StaticLibraryCycle ........................ Passed 17.74 sec
***** WAITING, System Load: 6, Max Allowed Load: 6, Smallest test Qt5Autogen.UnityMocSource requires 1*****
***** WAITING, System Load: 6, Max Allowed Load: 6, Smallest test Qt5Autogen.UnityMocSource requires 1*****
ERROR: Job failed: execution took longer than 1h0m0s seconds