Commit Graph

545 Commits

Author SHA1 Message Date
carl bystrom
b199c5f944 AutomationTool: Flag RunWineUAT.sh as executable
#preflight none

[CL 24913378 by carl bystrom in ue5-main branch]
2023-04-04 13:09:09 -04:00
carl bystrom
c933b3483c AutomationTool: Avoid xvfb printing error message when running as non-root under Wine
Skips listening to TCP and Unix sockets.

#preflight none

[CL 24910629 by carl bystrom in ue5-main branch]
2023-04-04 10:43:42 -04:00
carl bystrom
8f777157c8 AutomationTool: Add experimental support for running UAT under Wine
Based on work by Brandon Schaefer.

#rb Brandon.Schaefer
#preflight 641466a8691c5ebc1591faa8

[CL 24687773 by carl bystrom in ue5-main branch]
2023-03-17 09:32:07 -04:00
MalikuMane
112084df2d PR #10139: Use git to find the GIT_DIR (Contributed by MalikuMane)
#review-24639689
#rb Brandon.Schaefer
#jira UE-177821
#preflight 6410a50dd778f889759a2c51

[CL 24653977 by MalikuMane in ue5-main branch]
2023-03-15 10:12:23 -04:00
carl bystrom
2662a16e0f BatchFiles: Make syntax compatible with Wine
Wine is sensitive to whitespace before the caret character.

#rb Ryan.Hummer
#preflight 6410712a290c6e5d77e59419

[CL 24634261 by carl bystrom in ue5-main branch]
2023-03-14 09:25:53 -04:00
Joe Kirchoff
90958c6b3f BatchFiles: Fix dotnet not being added to path in Build.bat if running an installed build. Reported via UDN.
#rnx
#rb trivial
#preflight 63d0892d976daa618ce7e127

[CL 23843024 by Joe Kirchoff in ue5-main branch]
2023-01-24 20:57:06 -05:00
Brandon Schaefer
895c73720f Move to new 15.0.1 LLVM Linux Toolchain
#jira UE-174139
#rb none
#fyi Ryan.Hummer, Zack.Neyland, Robert.Seiver, James.Singer
#preflight 63cedc59b91ac945f53281b9

[CL 23821785 by Brandon Schaefer in ue5-main branch]
2023-01-23 16:32:46 -05:00
Brandon Schaefer
f6278f65ac Update scripts for 15.0.1 LLVM
#jira UE-174139
#preflight none
#fyi James.Singer, Robert.Seiver, Zack.Neyland

[CL 23795845 by Brandon Schaefer in ue5-main branch]
2023-01-20 15:20:30 -05:00
Joe Kirchoff
610a734e5b BatchFiles: Remove dotnet build -o argument
#rnx
#rb trivial

[CL 23594718 by Joe Kirchoff in ue5-main branch]
2023-01-05 19:01:41 -05:00
Joe Kirchoff
086969637c BatchFiles: Clean up so non-ide UBT builds all call the same script and fix up some dependency scanning
#rnx
#rb Brandon.Schaefer
#preflight 63b752af221aab21e0313ac2

[CL 23593968 by Joe Kirchoff in ue5-main branch]
2023-01-05 17:50:34 -05:00
Josh Adams
36fd58a499 - Made two modes for modern Xcode projects: OneWorkspacePerPlatform and OneRunTargetPerPlatform. The first makes completely separate .xcworkspaces, projects, and targets for each platform (Mac, IOS, TVOS). The second makes one workspace, and one project for each platform, but the platform will have three run targets (but one build and one index target) - useful for single game workspaces. There are a couple nasty things, like the Project has the Editor configs, but the IOS target doesn't want them, but they show up anyway in dropdowns because of the Project config.
- If there are no modern projects, then the mode is ignored, and it's the same old mode. With a mix of modern and legacy, each platform workspace will point to the same legacy projects (not worth retooling Legacy since it's becoming deprecated)
- Added Launch Storyboard support (it will look for uncompiled, compiled, project, and engine fallback locations). Compiled is useful or old storyboards, and for Windows-based (assuming that will work with Modern)
- Other minor things like metadata discovery, etc
#preflight 639a321843330e63e50a21e9

[CL 23517631 by Josh Adams in ue5-main branch]
2022-12-14 15:44:34 -05:00
Alexis Matte
8b8765cb61 Make sure InterchangeWorker is build by UGS and when we release it.
#jira UE-108125
#rb
#rnx
#preflight 638a0c194b2f03a7d7a812fd

[CL 23372363 by Alexis Matte in ue5-main branch]
2022-12-02 09:45:14 -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
joe kirchoff
27ee520c1b [Backout] - CL23055743
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
BatchFiles: Add output directory when caling dotnet build as running the scripts via a visual studio environment requires this, and for consistency. Via UDN

#rnx
#rb Josh.Adams
#preflight 636ae35c7c2b505190d92839

[CL 23069893 by joe kirchoff in ue5-main branch]
2022-11-09 21:04:55 -05:00
joe kirchoff
73b3529e56 BatchFiles: Add output directory when caling dotnet build as running the scripts via a visual studio environment requires this, and for consistency. Via UDN
#rnx
#rb Josh.Adams
#preflight 636ae35c7c2b505190d92839

[CL 23069570 by joe kirchoff in ue5-main branch]
2022-11-09 20:58:05 -05:00
joe kirchoff
b311a39f7b Build.bat: Partially restore old logic where UBT was not compiled and only compile if it is missing, to prevent building mulitple times in parallel from visual studioand while UBT is running.
UBT should already be compiled via UGS (GenerateProjectFiles) or from VisualStudio, and while this could cause an out of date UBT to run this is a better stopgap fix then never building at all

#rnx
#rb trivial

[CL 22793046 by joe kirchoff in ue5-main branch]
2022-10-26 17:31:21 -04:00
joe kirchoff
cc127cea07 Correctly return errorlevel from Build.bat
#rnx
#rb Tim.Smith
#jira UE-167352
#preflight 634d9514181aa2a00d8d8846

[CL 22594247 by joe kirchoff in ue5-main branch]
2022-10-18 01:22:18 -04:00
Ryan Hummer
0ea41c9941 Removing mono referenced from GitDependencies scripts
mono not used by this tool

#rnx
#jira none
#rb none
#preflight none

[CL 22490973 by Ryan Hummer in ue5-main branch]
2022-10-12 21:25:25 -04:00
joe kirchoff
f1edb85ce3 Fix up code compile batch scripts to better support visual studio
* If invoked from VS2022, use visual studio to build UnrealBuildTool to prevent unnecessary rebuilds
* If invoked from VS2019 or on the command line without visual studio, use bundled dotnet to build
* Deduplicate all logic into Build.bat, and have Clean.bat and Rebuild.bat call Build.bat with either -Clean or -Rebuild
* Print entire dotnet version
* Replace various calls to dotnet msbuild with dotnet build
* Update old UE4 comments

#jira UE-165754
#rb ?

[CL 22387871 by joe kirchoff in ue5-main branch]
2022-10-06 19:45:24 -04:00
calvin zheng
b3be31546a Fix ShaderCompileWorker arm64 support in Xcode
#jira UE-166157
#preflight 633ddbcdb6053e828796119b
#rb rolando.caloca
#lockdown rolando.caloca

[CL 22387843 by calvin zheng in ue5-main branch]
2022-10-06 19:44:31 -04:00
josh adams
b4b723bfa6 - More modernization of Xcode, focusing on Mac, IOS plist still needs a lot of work
- Premade "template" plist files for Mac, MacEditor, IOS, and added a PlistMode to choose between updating a template plist (from engine) or using a "baked" out plist that Xcode won't really mess with (this is still a work in progress, as it still needs thought on how to handle IOS premade vs Mac template, etc)
- Updating icons to using xcassets instead of .icns file
- Added post build step for UBT to write out build versions (increments each build) to a .xcconfig for Xcode to put into the .plist, but it reads previous value. Not terrible, but it still  needs work

#rb adam.king
#preflight 632c7e8ee23e50651b43139b

[CL 22137251 by josh adams in ue5-main branch]
2022-09-22 11:42:27 -04:00
joe kirchoff
1c78b292a7 Disable .NET Server GC for Mac as it is currently causing errors
#jira UE-161338
#rnx
#rb trivial
#preflight 631f8d5e065c4ac9ce62f550

[CL 21984671 by joe kirchoff in ue5-main branch]
2022-09-13 12:10:46 -04:00
robert seiver
23fae11e9e Disabled an optimization which crashes dotnet during GenerateProjectFiles on Ubuntu 20.04.
#rb Brandon.Schaefer
#fyi Henrik.Karlsson, Joe.Kirchoff, Francisco.Vicente
#preflight none

[CL 21553834 by robert seiver in ue5-main branch]
2022-08-24 18:08:06 -04:00
Josh Adams
2060045e96 - More work on "modern xcode" mode (automatic signing works well, xcode can generate plists/entitlements, shared settings between Mac/IOS/TVOS). Needs the bUseModernXcode ini setting (see BaseEngine.ini) to activate
- Indexing improvements
- No longer asks to auto-create schemes, since we create all schemes needed
- Sped up the run-only project generation to skip a lot of cruft

#preflight 63041e960061f895d0fe3ccf
#rb ian.fox,roman.dzieciol (i am submitting without their final sign-off)
#preflight 63051c23516bef57ffb5b1c2

[CL 21517539 by Josh Adams in ue5-main branch]
2022-08-23 15:40:10 -04:00
David Harvey
b1769c8472 Preserve the ERRORLEVEL from AutomationTool if we apply Turnkey variables.
#rnx
#jira none
#rb Martin.Sevigny
#preflight 62f50052185b21882a31c2bc

[CL 21335116 by David Harvey in ue5-main branch]
2022-08-11 09:31:16 -04:00