Commit Graph

321 Commits

Author SHA1 Message Date
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Devin Doucette
b732c133fe DDC: Exposed the name of the build job to the build function
#rb Zousar.Shaker
#rnx

[CL 16743715 by Devin Doucette in ue5-main branch]
2021-06-22 11:26:45 -04:00
Devin Doucette
b4b1ad3457 DDC: Removed a few temporary strings from the build job logging
#rb trivial
#rnx

[CL 16743192 by Devin Doucette in ue5-main branch]
2021-06-22 10:50:08 -04:00
Devin Doucette
75fdc290a9 DDC: Added -ExportBuilds[=Type1+Type2] to export actions and inputs for builds that miss or skip the cache
#rb Zousar.Shaker
#rnx

[CL 16733522 by Devin Doucette in ue5-main branch]
2021-06-21 16:41:42 -04:00
danny couture
63738f4cb0 Fix DDC prefetch logic error causing useless data loads from disk
- 46GB to 10GB data loads from disk during map load of special project

#rnx
#rb Devin.Doucette

[CL 16704710 by danny couture in ue5-main branch]
2021-06-17 10:49:40 -04:00
Zousar Shaker
cf116088ae Integrating //UE5/Dev-Cooker @ 16678003 to //UE5/Main (Zousar.Shaker-YEG-0943-Quaternary)
Non-DevIteration_ShooterGame

[CL 16678907 by Zousar Shaker in ue5-main branch]
2021-06-15 16:36:57 -04:00
Devin Doucette
42849095b3 DDC: Revert temporary workaround for static analysis issue with Get<T> on 2-tuples
#rb trivial
#rnx

[CL 16678856 by Devin Doucette in ue5-main branch]
2021-06-15 16:34:07 -04:00
Devin Doucette
d131a233a1 DDC: Extended IBuildJob and IBuildScheduler to give the scheduler more control and more data
#rb Zousar.Shaker
#rnx

[CL 16678847 by Devin Doucette in ue5-main branch]
2021-06-15 16:33:05 -04:00
Devin Doucette
3627cfff79 DDC: Fixed the build job to create and destroy the build context only when necessary, and always reset the action and inputs
#rb Matt.Peters
#rnx

[CL 16669448 by Devin Doucette in ue5-main branch]
2021-06-15 00:20:07 -04:00
Devin Doucette
b0c757dd31 DDC: Switched to operator[] and AsView() on compact binary types
#rb Zousar.Shaker
#rnx

[CL 16553598 by Devin Doucette in ue5-main branch]
2021-06-03 17:28:08 -04:00
Devin Doucette
7e392be53b DDC: Fixed MeasureCacheRecord to only count payloads with data
#rb trivial
#rnx

[CL 16553211 by Devin Doucette in ue5-main branch]
2021-06-03 17:06:13 -04:00
Devin Doucette
8e3e3cc389 DDC: Fixed TryToPrefetch to work when there is only one backend
#rb Zousar.Shaker
#rnx

[CL 16549112 by Devin Doucette in ue5-main branch]
2021-06-03 12:57:44 -04:00
Devin Doucette
97be0c7aff DDC: Added CreateCacheBucket to FBuildConfigContext
#rb Zousar.Shaker
#rnx

[CL 16548191 by Devin Doucette in ue5-main branch]
2021-06-03 11:48:59 -04:00
Devin Doucette
eb2cda6fba Added conversions and constructors to/from 12-byte arrays for FCbObjectId and DerivedData::FPayloadId
#rb Zousar.Shaker
#rnx

[CL 16536271 by Devin Doucette in ue5-main branch]
2021-06-02 13:06:45 -04:00
Devin Doucette
e2aaddd829 CompactBinary: Made buffers and views easier to use by eliminating the complex options
- Renamed TryGetSerialized[Range]View to TryGet[Range]View.
- Changed GetBuffer to return a composite buffer with the type.
- Changed GetView to be protected instead of public.
- Removed GetRangeBuffer and GetRangeView.

#rb Zousar.Shaker
#rnx
#preflight 60b796cac744b20001542535

[CL 16535362 by Devin Doucette in ue5-main branch]
2021-06-02 11:55:09 -04:00
Devin Doucette
bad1b2bfde DDC: Extended the cache record builder to take composite buffers
#rb Zousar.Shaker
#rnx

[CL 16534280 by Devin Doucette in ue5-main branch]
2021-06-02 10:33:08 -04:00
Devin Doucette
490a4a0db2 CompactBinary: Restricted compact binary attachments to objects to simplify package management
#rb Zousar.Shaker
#rnx
#preflight 60b71447ae46a1000144f1d9

[CL 16533710 by Devin Doucette in ue5-main branch]
2021-06-02 09:33:55 -04:00
Devin Doucette
e6d74aa8aa DDC: Reorganized functions in the build job
The code is now organized based on what states do, rather than what order they typically execute in. This now matches the function order in the scheduler and the job interface. There are no changes aside from reordering of functions.

#rb trivial
#rnx

[CL 16510516 by Devin Doucette in ue5-main branch]
2021-05-31 15:19:28 -04:00
Devin Doucette
d0e04a4a76 DDC: Factored out cache bucket name validation and aligned it more closely with build function name validation
[CL 16509861 by Devin Doucette in ue5-main branch]
2021-05-31 12:43:42 -04:00
Devin Doucette
80dba78363 DDC: Factored out function name validation
[CL 16509761 by Devin Doucette in ue5-main branch]
2021-05-31 12:24:20 -04:00
Devin Doucette
73afaecfb3 DDC: Renamed GetFileData to FindFileData to clarify that it can fail
[CL 16509556 by Devin Doucette in ue5-main branch]
2021-05-31 11:52:47 -04:00
Devin Doucette
542c9e98dd DDC: Renamed GetInput+GetConstant to FindInput+FindConstant to clarify that they may return null
[CL 16509548 by Devin Doucette in ue5-main branch]
2021-05-31 11:52:00 -04:00
Devin Doucette
b9c97d3ecb DDC: Verify the hash of build inputs after decompression
[CL 16509475 by Devin Doucette in ue5-main branch]
2021-05-31 11:40:00 -04:00
Devin Doucette
f9ba239b54 DDC: Added missing file DerivedDataBuildPolicy.h
[CL 16509431 by Devin Doucette in ue5-main branch]
2021-05-31 11:32:16 -04:00
Devin Doucette
ec9c101705 DDC: Moved EBuildPolicy to its own header to remove private dependencies on the build session
[CL 16509362 by Devin Doucette in ue5-main branch]
2021-05-31 11:18:14 -04:00