Commit Graph

24487 Commits

Author SHA1 Message Date
henrik karlsson
73ccca914b [UBA]
* Fixed so normalized file has a header that can be used to validate if it was normalized or not

[CL 33855587 by henrik karlsson in ue5-main branch]
2024-05-23 02:46:41 -04:00
marc audy
6a7551bf61 Fix spelling error
#rnx

[CL 33855268 by marc audy in ue5-main branch]
2024-05-23 01:58:39 -04:00
henrik karlsson
09ddadcee3 [UBA]
* Fixed bug in cache client where it could create a caskey for a file that should always go through ShouldNormalize that matches caskey of non-normalized file
* Added timers around traverse directory calls to be able to see how much time that is spent in traversing directories

[CL 33855227 by henrik karlsson in ue5-main branch]
2024-05-23 01:51:09 -04:00
robert millar
10a3ff1d76 Replace -Filter command line argument that did nothing with -Include and -Exclude arguments so that users can pass -Exclude only to include everything except certain files.
Add -OutputFilename and -OutputDir arguments.

[CL 33851433 by robert millar in ue5-main branch]
2024-05-22 20:22:59 -04:00
henrik karlsson
0d697beda3 [UBA]
* Bumped memoryblock size from 1mb to 4mb for cached files that contains paths that needs to be normalized. Previous size was 1mb but that seems to be too small for the farm (longer paths)

[CL 33851173 by henrik karlsson in ue5-main branch]
2024-05-22 20:19:57 -04:00
joe kirchoff
615c9ed5eb UnrealBuildTool: Add package reference to System.CodeDom needed to compile with .NET 8
#rnx

[CL 33850746 by joe kirchoff in ue5-main branch]
2024-05-22 20:00:42 -04:00
henrik karlsson
9a860e79c7 [UBT]
* Added artifact mode and rootpaths to CompileByteCode action. also enabled it to run remotely in uba

[CL 33849783 by henrik karlsson in ue5-main branch]
2024-05-22 19:25:15 -04:00
henrik karlsson
b2a27c9cbc [UBT]
* Minor cosmetic fix to uba trace file

[CL 33849619 by henrik karlsson in ue5-main branch]
2024-05-22 19:20:46 -04:00
zach brockway
36fd80901e UnrealBuildTool: Add a bGenerateProgramProject flag to TargetRules to force a target to be treated as a program during project file generation.
#jira UE-214748
#rb Joe.Kirchoff

[CL 33849589 by zach brockway in ue5-main branch]
2024-05-22 19:19:22 -04:00
ben marsh
ccf5a4f8e6 BuildGraph: Static analysis fix.
#rnx

[CL 33845901 by ben marsh in ue5-main branch]
2024-05-22 17:44:48 -04:00
laura hermanns
141e60536e [UBA] Also assign left mouse button for drag-to-scroll mechanism in UbaVisualizer.
Allow both left and middle mouse buttons to be used for dragging/scrolling the view in UbaVisualizer.
This requires the internal state to be changed from a boolean to a reference-counter so that the set of input events don't cancel each other out.

#rnx
#rb Henrik.Karlsson

[CL 33845451 by laura hermanns in ue5-main branch]
2024-05-22 17:27:49 -04:00
ben marsh
29c6898305 BuildGraph: Improve error handling for parsing environment variable strings.
#rnx

[CL 33845430 by ben marsh in ue5-main branch]
2024-05-22 17:26:50 -04:00
henrik karlsson
d2caf167a8 [UBT]
* Fixed so executable also run strip action to make sure exports that must exist will exist
* Fixed so clang-based platforms also work with merged modules.
* Removed pch stripping action now when we don't create stripped obj files anymore

[CL 33845112 by henrik karlsson in ue5-main branch]
2024-05-22 17:16:45 -04:00
henrik karlsson
26a27653c1 Changed so rsp files for clang targets on windows hosts uses backslash instead of forward slash. This makes it possible to use uba cache on these targets
[CL 33845086 by henrik karlsson in ue5-main branch]
2024-05-22 17:16:35 -04:00
laura hermanns
8e27c30419 [UBA] Fix scrolling UbaVisualizer with larger scroll ranges by using 32-bit information instead of 16-bit.
Use GetScrollInfo() instead of HIWORD(wParam) when tracking scroll bars in UbaVisualizer as recommended by the WinAPI documentation due to its bit size.

#rb Henrik.Karlsson
#rnx

[CL 33844897 by laura hermanns in ue5-main branch]
2024-05-22 17:12:32 -04:00
joe kirchoff
55524d38e1 EpicGames.UBA: Maintain reference to wrapped native handles in CacheClientImpl.cs
#rnx

[CL 33844033 by joe kirchoff in ue5-main branch]
2024-05-22 16:53:44 -04:00
ben marsh
bc5172ea0b BuildGraph: Fix static analysis warnings. Also add support for writing a file containing secrets using inline variable declarations.
#rnx

[CL 33843438 by ben marsh in ue5-main branch]
2024-05-22 16:39:16 -04:00
brendan lienau
4a6d575091 [Gauntlet] Cleanup/Re-order of TargetDeviceiOS properties/functions
#jira UE-201389

[CL 33843129 by brendan lienau in ue5-main branch]
2024-05-22 16:33:07 -04:00
michael nicolella
20ab79a704 autortfm: optimization/cleanup pass
- Several function definitions have been moved to the AutoRTFM.h header file so they can be more heavily optimized, especially in uninstrumented code. For example, autortfm_abort_if_closed is always a no-op in open code, so the definition is now inlined. That, coupled with our existing optimization of constant folding calls to autortfm_is_closed() means that this function completely goes away in uninstrumented code.

- Some functions, like OnAbort, had a public API that took a TFunction<> as a parameter. These functions are no-ops in uninstrumented code, but we were paying the cost of constructing a TFunction<> and doing the function call. Now the definition is inlined and the construction of the TFunction<> is wrapped behind a call to autortfm_is_closed(), so it completely folds away in uninstrumented code.

- Functions like Transact, TransactThenOpen, Commit, ... were modified to have an inlined call to autortfm_lookup_function that does the function pointer translation at the callsite rather than inside the runtime. This plays along with recent changes to the compiler that evaluates calls to autortfm_lookup_function at compile time and eliminates the runtime lookup.

- autortfm_abort_if_transactional / abort_if_closed were moved to the header file so is_transactional/is_closed can be evaluated at compile time and dead stripped as appropriate
#rb neil.henning

[CL 33840547 by michael nicolella in ue5-main branch]
2024-05-22 15:29:58 -04:00
henrik karlsson
a698ad4a9c [UBA]
* Added exclusions for exports in UbObjTool and added D3D12SDKVersion and friends to exclusion list
* Fixed so UbaObjTool works for linux (or builds at least)
* Added version to importexport files

[CL 33840177 by henrik karlsson in ue5-main branch]
2024-05-22 15:22:17 -04:00
ben marsh
8d4c00f22f Horde: Improve error message when user does not have permissions to view a secret.
#rnx

[CL 33839235 by ben marsh in ue5-main branch]
2024-05-22 14:59:56 -04:00
michael nicolella
85a5f1eaff autortfm tests: fix ARM compile error
[CL 33838846 by michael nicolella in ue5-main branch]
2024-05-22 14:52:23 -04:00
josh engebretson
1a1b52d449 Horde: Fix issue with change option not resetting
#rnx
#skipci

[CL 33837622 by josh engebretson in ue5-main branch]
2024-05-22 14:12:52 -04:00
ben marsh
25d6b067cd BuildGraph: Add a Multiline attribute to property attributes, allowing the inner text to be captured as a single multi-line string.
#rnx

[CL 33837526 by ben marsh in ue5-main branch]
2024-05-22 14:11:28 -04:00
josh engebretson
347d617a32 Horde: Update render key only when resetting optons
#rnx
#submitool bypass
#skipci

[CL 33836761 by josh engebretson in ue5-main branch]
2024-05-22 13:45:47 -04:00