Commit Graph

271 Commits

Author SHA1 Message Date
Devin Doucette
43f5b67672 DDC: Moved FBuildActionKey to DerivedDataBuildKey.h
#rb Zousar.Shaker
#rnx

[CL 16448073 by Devin Doucette in ue5-main branch]
2021-05-25 10:22:26 -04:00
Devin Doucette
c055e2e238 DDC: Renamed FBuildInput to FBuildInputs
#rb trivial
#rnx

[CL 16428408 by Devin Doucette in ue5-main branch]
2021-05-22 01:29:20 -04:00
Devin Doucette
b3e051dd2a DDC: Added FBuildActionKey::Empty
#rb trivial
#rnx

[CL 16428407 by Devin Doucette in ue5-main branch]
2021-05-22 01:29:11 -04:00
Devin Doucette
e6d6d110aa DDC: Moved the module and IBuild implementation to their own files
#rb Zousar.Shaker
#rnx

[CL 16420332 by Devin Doucette in ue5-main branch]
2021-05-21 12:24:43 -04:00
Devin Doucette
c434ed7dc5 DDC: Excluded payloads from build outputs with errors
The payloads are not used for failed builds and will cause unnecessary overhead to copy over the network for remote builds.

#rb Zousar.Shaker
#rnx

[CL 16420326 by Devin Doucette in ue5-main branch]
2021-05-21 12:24:29 -04:00
Devin Doucette
c20b3b16cf DDC: Made name and function asserts consistent and reordered members for debuggability
#rb Zousar.Shaker
#rnx
#preflight 60a6d5afb7ccb00001d42b6e

[CL 16414174 by Devin Doucette in ue5-main branch]
2021-05-20 21:54:47 -04:00
Devin Doucette
e3600df4ee DDC: Added UE::DerivedData::FBuildInput
FBuildInput and the associated builder type collect the inputs for a build.

#rb Zousar.Shaker
#rnx

[CL 16406497 by Devin Doucette in ue5-main branch]
2021-05-20 13:53:48 -04:00
Devin Doucette
5e17eb1966 DDC: Moved IBuildFunction configuration into a new Configure() function instead of several virtual functions
Also added CancelAsyncBuild and clarified the comments on how async builds work.

#rb Zousar.Shaker
#rnx

[CL 16406496 by Devin Doucette in ue5-main branch]
2021-05-20 13:53:45 -04:00
Devin Doucette
134df5e821 DDC: Reordered EPriority to make operations like Min and Max make sense with it
#rb Tim.Smith
#rnx

[CL 16405468 by Devin Doucette in ue5-main branch]
2021-05-20 12:37:08 -04:00
Devin Doucette
8efdaccd3f DDC: Added HasConstants() and HasInputs() to FBuildAction to mirror FBuildDefinition
#rb Tim.Smith
#rnx

[CL 16405466 by Devin Doucette in ue5-main branch]
2021-05-20 12:37:01 -04:00
geoff evans
b1c54a1182 Add Trace Cpu Events and Counters to FileSystem DDC backend.
#jira none
#rb devin.doucette
#preflight 60a4337db7ccb000013e0fd6

[CL 16378052 by geoff evans in ue5-main branch]
2021-05-18 18:50:43 -04:00
David Harvey
31caaa7217 compile fix for Windows-based platform extensions.
#jira none
#rb nuno.leiria
#rnx

[CL 16346948 by David Harvey in ue5-main branch]
2021-05-17 06:33:02 -04:00
Devin Doucette
2a6278e430 DDC: Fixed a build error caught by Clang
#rb trivial
#rnx

[CL 16333256 by Devin Doucette in ue5-main branch]
2021-05-14 15:08:12 -04:00
Devin Doucette
8ce8977949 DDC: Added optional versions of BuildAction, BuildDefinition, BuildOutput, CacheRecord
- Optional versions are now returned from operations that may fail.
- Fixed a bug in the cache where a null record could be dereferenced.
- Improved validation when loading build types.

#rb Zousar.Shaker
#rnx

[CL 16332909 by Devin Doucette in ue5-main branch]
2021-05-14 14:47:11 -04:00
Devin Doucette
6094cdaca4 DDC: Temporary workaround for static analysis issue with Get<T> on 2-tuples
#rb trivial
#rnx

[CL 16326041 by Devin Doucette in ue5-main branch]
2021-05-13 23:24:10 -04:00
Devin Doucette
09748c85e3 DDC: Added a missing #include
#rb trivial
#rnx

[CL 16326010 by Devin Doucette in ue5-main branch]
2021-05-13 23:22:40 -04:00
Devin Doucette
8310ac341e DDC: Changed the builder types to delete themselves on Build()
#rb Zousar.Shaker
#rnx

[CL 16317751 by Devin Doucette in ue5-main branch]
2021-05-13 16:09:45 -04:00
Devin Doucette
31e8388cb0 DDC: Added UE::DerivedData::FBuildAction
FBuildAction and the associated builder type define the exact action to be executed, including the function and its version, and the inputs referenced by hash.

#rb Zousar.Shaker
#rnx
#preflight 609cbaed7ebade00018f29c9

[CL 16317116 by Devin Doucette in ue5-main branch]
2021-05-13 15:36:50 -04:00
Devin Doucette
56502c549e DDC: Organized functions for consistency and fixed includes of Templates/Function.h
#rb trivial
#rnx
#preflight 609c4284dc97da000146a5e1

[CL 16306812 by Devin Doucette in ue5-main branch]
2021-05-12 17:57:54 -04:00
Devin Doucette
1e8cdcdb46 DDC: Forward constructor arguments through TBuildFunctionFactory
#rb Zousar.Shaker
#rnx

[CL 16304994 by Devin Doucette in ue5-main branch]
2021-05-12 16:01:41 -04:00
Devin Doucette
cf09b53604 DDC: Added UE::DerivedData::FBuildOutput
FBuildOutput and the associated builder type define the output of a derived data build as a collection of payloads and diagnostic messages.

#rb Zousar.Shaker
#rnx
#preflight 609c0fc05b35c60001cbc2e3

[CL 16304655 by Devin Doucette in ue5-main branch]
2021-05-12 15:46:19 -04:00
Devin Doucette
dd9e1ec58b DDC: Added support for cache records with null data
#rb Zousar.Shaker
#rnx
#preflight 609b6698b16d45000155cb04

[CL 16298475 by Devin Doucette in ue5-main branch]
2021-05-12 09:28:05 -04:00
Devin Doucette
93b6c72b40 DDC: Added UE::DerivedData::IBuildFunction and related types
IBuildFunction and the associated build context types define the interface for new derived data build functions. The inputs to a build function are referenced by FBuildDefinition. This only includes the functionality required to implement and register a build function, and does not include the functionality required to execute a build starting from a build definition.

#rb Zousar.Shaker
#rnx

[CL 16278733 by Devin Doucette in ue5-main branch]
2021-05-11 16:23:40 -04:00
Devin Doucette
3b56f37300 DDC: Minor updates to formatting of code and asserts
#rb trivial
#rnx

[CL 16278716 by Devin Doucette in ue5-main branch]
2021-05-11 16:19:37 -04:00
Devin Doucette
536b5fa4dc DDC: Updated documentation and removed unnecessary explicit hash construction
#rb trivial
#rnx

[CL 16207037 by Devin Doucette in ue5-main branch]
2021-05-05 10:15:34 -04:00