Commit Graph

2766 Commits

Author SHA1 Message Date
Per Larsson
7f07f1c443 Made path to package/cooker order and output directory safe to use with command line for IoStore commandlet.
#jira UE-89293
#rb none

[CL 11894592 by Per Larsson in 4.25 branch]
2020-03-04 03:03:56 -05:00
Richard Wallis
0cafe4701d Use the exe name rather then the project name for the bundle path and the booststrap exe need the full name not just the target name. Commented out the code that was forcing the internal renaming (of exe, icon and info.plist) from target name to project name - I have no idea why that was there but left it in place for now in case there is a permutation I haven't seem - this fixes the display icon not showing correctly.
#jira UE-81222
#rb ben.marsh

[CL 11871957 by Richard Wallis in 4.25 branch]
2020-03-03 12:26:36 -05:00
Andrew Grant
f7a1951313 Add Thread_UseAllCpuGroups to UnrealBuildTool config to enable UBT to use both CPU groups on high-core systems such as 64-core ThreadRippers.
See - https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/thread-useallcpugroups-element

Also added MaxParallelActions command-line flag to UBT that can be used to restrict the number of cores used for local (e.g. nonxge).

Added -cores=X+Y=Z option to benchmark script for profiling

#rb swarm
#review-11806361 @ben.marsh
#jira nojira

[CL 11845433 by Andrew Grant in 4.25 branch]
2020-03-02 15:49:57 -05:00
carl lloyd
9e4d3bff13 Removed ATC/ETC1 and Android PVR texture formats
#review-11660965 @Chris.babcock @Jack.porter
#fyi @Rolando.Caloca @Luke.Thatcher
#rb Chris.babcock, Jack.porter, Rolando Caloca
#jira none

[CL 11825686 by carl lloyd in 4.25 branch]
2020-03-02 11:24:33 -05:00
Michael Sartain
42a7ef68ef Fix command quoting in Linux chmod command
Current code generates: 'chmod +x \"/epic/projects/foo/Intermediate/Staging/foo.sh\"'

This works with xbuild, but fails with msbuild. New code generates:

Run App:sh CommandLine-c 'chmod +x "/epic/projects/foo/Intermediate/Staging/foo.sh"'

Similar to Ben's CL 2106889 and CL 2112830 changes in Engine/Source/Programs/AutomationTool/BuildUtils.cs


#jira none
#rb Ben.Marsh
#fyi Andrew.Grant, Brandon.Schaefer

[CL 11824678 by Michael Sartain in 4.25 branch]
2020-03-02 10:52:06 -05:00
Per Larsson
3973aad93b Enable I/O dispatcher on dedicated servers. Requires
gc.UseDisregardForGCOnDedicatedServers=True.

#jira UE-89329
#rb trivial

[CL 11823478 by Per Larsson in 4.25 branch]
2020-03-02 08:30:53 -05:00
Per Larsson
919a0afddf Added UAT project parameter validation when using -iostore without -pak.
#jira UE-87771
#rb trivial

[CL 11821697 by Per Larsson in 4.25 branch]
2020-03-02 07:32:25 -05:00
Andrew Grant
4e8c8c3bb8 Added coldcook option to Benchmark script. Removes local DDC content prior to cooking
#jira #rb na

[CL 11806356 by Andrew Grant in 4.25 branch]
2020-03-01 14:49:17 -05:00
Andrew Grant
8a92022438 Fixed c# compile error seen in VS 2017 with named arguments not being at the end of the list
#jira #rb na

[CL 11806332 by Andrew Grant in 4.25 branch]
2020-03-01 14:23:34 -05:00
Andrew Grant
7bbf4f029d Fixed BuildTarget UAT script to use existing means of detecting the valid targets for a project rather than trusing the names of the .cs target files.
See https://udn.unrealengine.com/questions/555746/are-game-and-client-build-targets-the-same.html

#jira #rb na

[CL 11806317 by Andrew Grant in 4.25 branch]
2020-03-01 14:18:37 -05:00
Andrew Grant
cde91ed02c Added spew filter to P4 calls to really suppress spew when requested.
The issue here is that CommandUtils.Run only suppresses stdout when NoSpew is specified, so P4 functions like FileExistsInDepot which use p4 calls that write to stderr (e.g fstat of a path not in P4) still end up spewing.

#review-11800598 @ben.marsh
#rb swarm
#jira nojira

[CL 11803848 by Andrew Grant in 4.25 branch]
2020-02-29 23:48:48 -05:00
Chris Babcock
78513990ce Provide more control over OBB selection
#jira UE-89810
#ue4
#android
#rb Brandon.Schaefer

[CL 11792686 by Chris Babcock in 4.25 branch]
2020-02-28 19:48:31 -05:00
Michael Sartain
3537e385cc Use msbuild in mono for Linux when using an installed copy and mono >= 5.0.
Pulled code from Andrew's CL 7828885 for the Mac.

#jira none
#rb ben.marsh
#fyi brandon.schaefer, andrew.grant

[CL 11750877 by Michael Sartain in 4.25 branch]
2020-02-28 12:43:03 -05:00
Ben Marsh
62217a69a2 Add timers for UAT startup.
#rb none
#rnx
#jira

[CL 11726183 by Ben Marsh in 4.25 branch]
2020-02-28 06:42:06 -05:00
Anthony Bills
3e1df8cd5a Add support for whitelisting additional plugins and adding additional modules to plugin extensions.
Additionally allow monolithic programs inside platform extensions to ouput to the Binaries directory in the extension.

#review-11565119 @brian.white, @josh.adams, @ben.marsh
#jira UE-81798
#rb ben.marsh

[CL 11655119 by Anthony Bills in 4.25 branch]
2020-02-27 10:46:04 -05:00
Ben Marsh
01c9c26ba0 Fix missing properties on command line to MSBuild when compiling automation projects.
#rb none
#jira

[CL 11645538 by Ben Marsh in 4.25 branch]
2020-02-26 20:43:42 -05:00
Ben Marsh
e69c7a698e Fix enumeration of UAT build products.
#rb none
#rnx
#jira

[CL 11617356 by Ben Marsh in 4.25 branch]
2020-02-25 15:56:24 -05:00
Ben Marsh
9b37eb1ee9 Use original location when determining which files to copy for UAT.
#rb none
#rnx
#jira

[CL 11616044 by Ben Marsh in 4.25 branch]
2020-02-25 15:17:51 -05:00
Ben Marsh
23f531ee40 Fix copying of automation DLLs to output directory. Now may exist within any subfolders.
#rb none
#rnx
#jira UE-89493

[CL 11611464 by Ben Marsh in 4.25 branch]
2020-02-25 14:07:54 -05:00
Andrew Grant
8618ee22b4 Fixes Gauntlet support for 32-bit Android builds.
- Now use utils to pull build information instead of a custom regex.
- 32-bit builds are considered, but discarded if 64-bit versions are also present

#review-11610011 @josh.engebretson
#jira nojira #rb na

[CL 11610010 by Andrew Grant in 4.25 branch]
2020-02-25 13:04:20 -05:00
Ben Marsh
612bd490f3 Add support for content plugins in content-only projects. These were not being staged due to a unique target receipt for the project being generated.
#rb none
#jira UE-87672

[CL 11608583 by Ben Marsh in 4.25 branch]
2020-02-25 12:09:00 -05:00
Ben Marsh
3236f0389a Add support for UAT script projects using foreign engine builds, and for game projects to output binaries under their own project directory.
* UAT will now read each *.Automation.csproj file to determine the output path, and load from there rather than just loading anything under Engine\Binaries\AutomationScripts.
* When compiling *.Automation.csproj files, UAT will set the $(EngineDir) directory to the current engine directory, allowing the project to resolve assembly references to the correct location.
* When generating project files, UBT will create an *.Automation.csproj.props file next to the project containing the path to the engine directory, allowing the assembly to be compiled correctly from Visual Studio.

#rb none
#jira UE-77934

[CL 11601626 by Ben Marsh in 4.25 branch]
2020-02-25 09:25:10 -05:00
Anthony Bills
b61f1badc0 Add BuildCMakeLib UAT automation script for building third party libraries that use CMake.
- This is based off BuildPhysx.Automation.cs and could be unified with this in the future.
- Update some CMakeLists.txt to support this.
- Convert ICU CMakeLists.txt to support cmake 3.5.2 that ships with the engine.
- Fix up some whitespace in BuildPhysX.

#review-11538204 @brian.white
#jira UE-81798
#rb david.harvey

[CL 11597283 by Anthony Bills in 4.25 branch]
2020-02-25 07:22:40 -05:00
Ben Marsh
d6b0a59a7c Remove usages of "var"
#rb none
#rnx
#jira

[CL 11595098 by Ben Marsh in 4.25 branch]
2020-02-24 22:28:27 -05:00
Ben Marsh
702e0ff765 Fix typo in default project configuration.
#rb none
#jira
#rnx

[CL 11595076 by Ben Marsh in 4.25 branch]
2020-02-24 22:23:32 -05:00