Commit Graph

93 Commits

Author SHA1 Message Date
Tim Smith
1a617c5133 1) Added generic double buffer async file reader with the ability to specify buffer sizes.
2) Added the ability to directly set the IoHash in the file hasher
3) Modified the ComputeAsync hash method to provide a file size hint so it can default to a larger buffer size to improve performance.
4) Modified the ComputeAsync hash method to use the double buffer reader above.

#rb ben.marsh
#preflight 6438493a5a07ef375761ee35

[CL 25030313 by Tim Smith in ue5-main branch]
2023-04-13 15:02:03 -04:00
bryan sefcik
70f4bd7856 Moved UserDir logic to Unreal.cs and removed duplicate code.
#fyi joe.kirchoff
#preflight 642b30208f078cc7033df071

[CL 24899656 by bryan sefcik in ue5-main branch]
2023-04-03 16:21:25 -04:00
bryan sefcik
78aa2dfd58 Did a pass through the code to make it thread safe.
#fyi joe.kirchoff
#preflight 6424da90e11ce5214fcbfde7

[CL 24849236 by bryan sefcik in ue5-main branch]
2023-03-29 21:12:39 -04:00
bryan sefcik
38d227cc6d Updated some functions to take an IEnumerable instead of specific types. This is make sure containers don't get modified by the function being called.
#fyi joe.kirchoff
#preflight 6424aeb25e52099fe397a3bd

[CL 24846671 by bryan sefcik in ue5-main branch]
2023-03-29 18:01:18 -04:00
bryan sefcik
f541d9983e Updated finding rule files to be thread safe.
#fyi joe.kirchoff
#preflight 64233839b72410fc17e9aa40

[CL 24824452 by bryan sefcik in ue5-main branch]
2023-03-28 15:24:54 -04:00
Joe Kirchoff
1b044d8f36 EpicGames.Build: Don't throw an exception if a path in AdditionalSearchPath doesn't exist
#rnx
#rb trivial
#preflight 63ff8a2ff43e53f68137ead4

[CL 24465656 by Joe Kirchoff in ue5-main branch]
2023-03-01 12:46:25 -05:00
Joe Kirchoff
982e9af6a1 Fix quote escaping
#rnx
#rb trivial
#preflight 63f3da0d91018822cc5eeb56

[CL 24323590 by Joe Kirchoff in ue5-main branch]
2023-02-20 15:52:12 -05:00
Joe Kirchoff
06b21637c5 UnrealBuild: Escape quotes for multi-target builds
#rnx
#rb trivial
#jira UE-177375
#preflight 63efd9c552460c3a1f521f58

[CL 24288930 by Joe Kirchoff in ue5-main branch]
2023-02-17 15:07:46 -05:00
tim smith
a4c3bf1186 Added the "Build" directory as locations UBT will scan for UBT plugins.
#rb brandon.schaefer
#jira UE-176903
#preflight 63ea62d5de74ffbae5f3b4fa

[CL 24195515 by tim smith in ue5-main branch]
2023-02-13 19:01:07 -05:00
joe kirchoff
23ee50f97d UnrealBuildTool: Fix typo in DirectoryItem docstring
#rnx
#rb trivial
#jira UE-175817

[CL 23961121 by joe kirchoff in ue5-main branch]
2023-02-01 19:29:54 -05:00
joe kirchoff
346eeabb72 UnrealBuildTool: When checking timestamps of produced files, also consider creation time as in some cases copied outputs (such as from a cache) can have a newer creation time than last write time
#rnx
#rb Ryan.Hummer
#preflight 63d9887dd21dbe1d290047ab

[CL 23942163 by joe kirchoff in ue5-main branch]
2023-01-31 19:26:51 -05:00
henrik karlsson
36288047d1 [EpicGames.Build]
* DirectoryItem - Added CompatRead/Write to BinaryArchive

#preflight 63d82ec05c69f453c11ff1b9
#rb joe.kirchoff

[CL 23923500 by henrik karlsson in ue5-main branch]
2023-01-31 01:17:27 -05:00
joe kirchoff
2758a19a3a EpicGames.Build: Fix UserSettingDirectory not being statically initialized in the correct order, which is preventing WritableEngineDirectory from being set correctly for installed builds.
#rnx
#jira UE-173996
#rb trivial

[CL 23785360 by joe kirchoff in ue5-main branch]
2023-01-19 22:02:58 -05:00
Joe Kirchoff
8c23f8320b EpicGames.Build: Validate all existing build records, not just the records associated with found projects
#rnx
#rb Josh.Adams
#preflight 63c9d0276a00f3cc8eaf8b54

[CL 23783544 by Joe Kirchoff in ue5-main branch]
2023-01-19 18:38:52 -05:00
Joe Kirchoff
4a262359a0 UnrealBuildTool: Store Action file lists in SortedSets rather than Lists, since these collections should never have duplicate entries and sorting them helps when checking for action conflicts
Requires implementing IComparable\IEquatable in FileItem (and I also implemented them in DirectoryItem for consistency)

#rnx
#rb Tim.Smith
#preflight 63c1cce4a06ab115ea17ba4f
#preflight 63c70f4d7763631ba15486ea

[CL 23745743 by Joe Kirchoff in ue5-main branch]
2023-01-17 16:35:14 -05:00
Joe Kirchoff
ed38136400 EpicGames.Build: Fix XML comment for NativeProjectBase.FindProjectFile()
#rnx
#rb trivial
#preflight 63c0a2ab1a06fc61059913eb

[CL 23672045 by Joe Kirchoff in ue5-main branch]
2023-01-12 19:18:56 -05:00
Joe Kirchoff
7749d6f625 AutomationTool: Fix resolving relative .uproject path for -ScriptsForProject
#rnx
#rb Josh.Adams
#jira UE-126532
#preflight 63c083600b358b97d10ad218

[CL 23670442 by Joe Kirchoff in ue5-main branch]
2023-01-12 17:19:13 -05:00
Ryan Hummer
3934ea81f0 Provided better messaging when DirectoryItem.CacheDirectories runs into duplicate keys
#rnx
#jira none
#rb joe.kirchoff, brandon.schaefer
#preflight none

[CL 23667501 by Ryan Hummer in ue5-main branch]
2023-01-12 14:37:47 -05:00
Joe Kirchoff
65dd0012f7 EpicGames.Build: Base script modules directories list should not contain duplicate paths
#jira UE-172233
#rnx
#rb trivial
#preflight 63bcb9ceaf3ebedd99dcc461

[CL 23623221 by Joe Kirchoff in ue5-main branch]
2023-01-09 20:21:32 -05:00
Joe Kirchoff
d5a49b45c4 AutomationTool: Reset FileInfo cache when deleting files
#rnx
#rb none
#jira UE-168433
#preflight 63b8aac2763c6c10645f93eb

[CL 23605345 by Joe Kirchoff in ue5-main branch]
2023-01-06 18:32:51 -05:00
Tim Smith
84b619d84c Added -NoCompileUAT as an ignored parameter to allow it to be present in command lines where no commands are present.
#rb josh.adams gary.yuan
#preflight 63b71c8fe26e31879b97c354

[CL 23590911 by Tim Smith in ue5-main branch]
2023-01-05 14:04:33 -05:00
Tim Smith
d082913ff7 Removing prior change to clean up old build records. While the change fixed the issue with removed projects, it caused large number of installed build issues.
#rb self
#preflight 6390b9807e0feab0b7c4eb7f

[CL 23429361 by Tim Smith in ue5-main branch]
2022-12-07 11:19:37 -05:00
Tim Smith
b10cfbfa7b Fixed issue where removed UAT plugins would not have their compile script state file deleted and thus cause future -NoCompile runs to load old plugins.
#rb ryan.hummer
#preflight 63779554815e4b9b754b0afc

[CL 23193965 by Tim Smith in ue5-main branch]
2022-11-18 09:31:16 -05:00
Ben Marsh
3f355c04d5 UAT: Revert changes to PDB generation on ARM64 until CI errors can be fixed.
#preflight none

[CL 23179836 by Ben Marsh in ue5-main branch]
2022-11-17 13:42:19 -05:00
Ben Marsh
c5ea9d7d29 UAT: Add support for Windows on ARM64 through RunUAT.bat.
#preflight none

[CL 23179353 by Ben Marsh in ue5-main branch]
2022-11-17 13:07:35 -05:00