Commit Graph

2757 Commits

Author SHA1 Message Date
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
Josh Engebretson
5be247c906 Fix issue wih blueprint projects not having a binaries folder, causes elemental demo to fail in Gauntlet documentation example steps
#review-11576350
#JIRA UE-89278
#rb andrew.grant

[CL 11588060 by Josh Engebretson in 4.25 branch]
2020-02-24 11:14:23 -05:00
Chris Babcock
5879d4dfa4 Use libc++ stl on Lumin to match Android
#jira UE-89269
#ue4
#fyi Jack.Porter
#rb Steve.Smith

[CL 11578617 by Chris Babcock in 4.25 branch]
2020-02-21 15:44:35 -05:00
Andrew Grant
0e56a4aeae Added CPU count to benchmark results
#jira #rb na

[CL 11573243 by Andrew Grant in 4.25 branch]
2020-02-20 21:28:00 -05:00
Andrew Grant
a101c2ffcc Fixed copy & pasta with format string
#jira #rb na

[CL 11568915 by Andrew Grant in 4.25 branch]
2020-02-20 14:59:43 -05:00
Andrew Grant
4dae50603d Fixed noxge in benchmark script
#jira #rb na

[CL 11568646 by Andrew Grant in 4.25 branch]
2020-02-20 14:38:24 -05:00
Andrew Grant
d199343f3e Added nofastbuild support to benchmark script.
Improved some reporting

#jira #rb na

[CL 11567261 by Andrew Grant in 4.25 branch]
2020-02-20 13:01:08 -05:00
Andrew Grant
9e71754da0 Fixed benchmark script so singlecompile doesn't do a rebuild when -noxge is used
#jira #rb na

[CL 11560081 by Andrew Grant in 4.25 branch]
2020-02-19 21:56:40 -05:00
Chris Babcock
b0bc7837c8 Update Android toolchain to NDK 21 (20 also supported for x86_64) additional files
#jira UE-80046
#ue4
#android
#rb Bradon.Schaefer

[CL 11555526 by Chris Babcock in 4.25 branch]
2020-02-19 17:24:59 -05:00
Andrew Grant
1d4b49b80a Editgrating benchmark scripts from main.
Also includes noshaderddc option that emulates a cold DDC for shaders

#jira #rb na
#tests ran BenchmarkBuild -project=UE4 -editor -client -xge

[CL 11548100 by Andrew Grant in 4.25 branch]
2020-02-19 14:05:12 -05:00