Commit Graph

289 Commits

Author SHA1 Message Date
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
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
Devin Doucette
044fb52302 DDC: Attempt to resolve inputs from the action if the definition is not available
[CL 16509325 by Devin Doucette in ue5-main branch]
2021-05-31 11:09:49 -04:00
Devin Doucette
d6080f3b06 DDC: Reworked IBuildInputResolver to clarify function names and callback parameters
[CL 16509245 by Devin Doucette in ue5-main branch]
2021-05-31 10:48:07 -04:00
Devin Doucette
f934d5abfd DDC: Renamed the input resolver states in the build job for clarity
[CL 16509104 by Devin Doucette in ue5-main branch]
2021-05-31 10:18:16 -04:00
Devin Doucette
162551d6bc DDC: Accept an input resolver for every variation of creating a build job
[CL 16509072 by Devin Doucette in ue5-main branch]
2021-05-31 10:09:01 -04:00
Devin Doucette
914d527945 DDC: Added remote execution to the build job
#rb Zousar.Shaker
#rnx

[CL 16492345 by Devin Doucette in ue5-main branch]
2021-05-27 17:28:24 -04:00
Devin Doucette
2c7c09cd30 DDC: Added UE::DerivedData::FBuildWorkerRegistry
#rb Zousar.Shaker
#rnx

[CL 16492343 by Devin Doucette in ue5-main branch]
2021-05-27 17:28:16 -04:00
Devin Doucette
3cf410461a DDC: Added FBuildInputs::IterateInputs
#rb Zousar.Shaker
#rnx

[CL 16492324 by Devin Doucette in ue5-main branch]
2021-05-27 17:27:26 -04:00
Devin Doucette
536fcf5fb5 DDC: Minor fixes and tweaks discovered while integrating remote execution
#rb Zousar.Shaker
#rnx

[CL 16492321 by Devin Doucette in ue5-main branch]
2021-05-27 17:27:15 -04:00
Devin Doucette
11970dd120 DDC: Reordered RawHash and RawSize fields in FBuildOutput for consistency
#rb trivial
#rnx

[CL 16489629 by Devin Doucette in ue5-main branch]
2021-05-27 15:03:26 -04:00
Devin Doucette
beddadb525 DDC: Made the builder worker interface public and modified it to optimize job scheduling
#rb none
#rnx

[CL 16488145 by Devin Doucette in ue5-main branch]
2021-05-27 13:42:09 -04:00