Commit Graph

543 Commits

Author SHA1 Message Date
Ryan Hummer
3ebc0e1bcf Removing mono/xbuild part 1
* Updating references to use dotnet
* Add new RunDotnet scripts
* Removing Mono sh scripts and references to them

#rnx
#jira UE-153293
#rb josh.adams, zack.neyland, brandon.schaefer

[CL 26737744 by Ryan Hummer in ue5-main branch]
2023-08-01 10:02:58 -04:00
Josh Adams
61ef979e51 - Made IOS and Mac BuildPlatforms classes come from AppleBuildPlatform so we can make UBT regen makefiles when xcode-select location changes
- Fixed XcodeBuild.sh to set iossimulator architecture the expected way
#rb adam.kinge

[CL 26623422 by Josh Adams in ue5-main branch]
2023-07-26 17:45:21 -04:00
ryan hummer
54151149b2 Removing uneeded call to SetupDotnet.sh on mac
#rnx
#rb none

[CL 26611303 by ryan hummer in ue5-main branch]
2023-07-26 12:43:29 -04:00
adam kinge
e56126723a Additional UBT changes to support iOS Simulator:
- update Xcode build script to set correct arch when compiling within Xcode
 - set correct SDKRoot depending on sim vs device

#jira UE-168571

[CL 26597711 by adam kinge in ue5-main branch]
2023-07-26 01:01:43 -04:00
arciel rekman
83614c5cfa Download v22 native Linux toolchain when setting up Linux.
#rb Brandon.Schaefer
[REVIEW] [at]Brandon.Schaefer

[CL 26587302 by arciel rekman in ue5-main branch]
2023-07-25 16:25:26 -04:00
josh adams
88c3aaa797 - Added a mkdir to create the directory before writing a file
#rb trivial
#jira UE-189573

[CL 26551057 by josh adams in ue5-main branch]
2023-07-24 14:37:29 -04:00
samhocevar
1c6612f292 PR #10620: Make sure BuildU[A|B]T.bat explicitly call the Windows find.exe utility
#jira UE-190124

[CL 26410592 by samhocevar in ue5-main branch]
2023-07-17 13:08:22 -04:00
arciel rekman
7fd6f41aa3 Script fixes for v22 toolchain
- Windows binaries use rpmalloc for a tremendous LTO speed improvements
- also a patch from clang 17.x to add a flag to disable auto-upgrading debug info
- new patch for our old sysroot missing modern stuff (HWCAP_CRC32)
- switched Linux script away from clang/lld standalone builds because they are no longer supported and don't work reliably
- fixed Windows build to allow compressing debug info with zlib
- cleaned up Windows batch files so it uses native commands (except for git/patch) and can run without Cygwin/etc installed

#rb Brandon.Schaefer
[REVIEW] Brandon.Schaefer

[CL 26285697 by arciel rekman in ue5-main branch]
2023-06-28 11:07:52 -04:00
josh adams
82ea6a767a [Backout] - CL26223564
[FYI] keaton.stewart
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26226852 by josh adams in ue5-main branch]
2023-06-24 17:52:48 -04:00
keaton stewart
1fd1a77412 [Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
#fyi Josh.Adams
#jira FORT-626566 (edited)
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26223564 by keaton stewart in ue5-main branch]
2023-06-23 20:29:27 -04:00
Josh Adams
e25e1b3daf - Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26221679 by Josh Adams in ue5-main branch]
2023-06-23 19:12:47 -04:00
Ryan Hummer
4459065999 GitDependencies: Recompiled binaries
* Apple Silicon native binaries
  * Updated scripts to allow picking the right arch path
* nullable enabled support

#rnx
#jira none
#rb none

[CL 26088807 by Ryan Hummer in ue5-main branch]
2023-06-19 09:34:35 -04:00
joe kirchoff
7efcc35d1f Update UAT & UBT shell script dependency check
#rnx
#rb trivial

[CL 25687406 by joe kirchoff in ue5-main branch]
2023-05-30 16:35:32 -04:00
martin ridgers
b98ccb03ee Suppress BuildU[A|B]T.bat "File Not Found" output when they search for dependencies
#rb joek
#rnx
#jira
#preflight 646de8e51417daba1ed0d1c3

[CL 25634556 by martin ridgers in ue5-main branch]
2023-05-25 19:20:34 -04:00
Josh Adams
a2263b2ce0 - Xcode support for Content Only projects
- Added a top-level .xcconfig file to Xcode workspace for use with UnrealGame/etc so it knows where to find staged data, and set the commandline automatically
  - Stage the UECommandLine.txt file for modern builds because we no longer make the Bootstrap .app
  - Added XcodeBuildMode enum/string so scripts can tell when the project is being built (so build time could act differently than stage time, etc)
  - Making use of the enum and other env vars to skip steps when not needed

- Other fixes for project generation
  - Added -modernxcode and -legacyxcode comandline options which will override the .ini setting (refactored all UseModern checks into one function)
  - Support for programs that have a .uproject, and GPF with -game -project=<program.uproject>
  - Added success return value to FinalizeAppWithModernXcode
  - Added quotes to fix paths with spaces in GenerateProjectFiles.command
  - Enabled parallel AddAdditionalNativeTargetInformation for gathering Frameworks from targts, now that parallel project generation has been enabled and most parallel issues are fixed

#preflight 646ce67c2e78be98411323d9
#rb zack.neyland
#preflight 646f8f2850786bb5ba8a98f0

[CL 25623979 by Josh Adams in ue5-main branch]
2023-05-25 13:04:27 -04:00
Martin Sevigny
4f0f2a6f1c Suppress all messages from FC (file compare) as we only care for the exit code of the command.
Some messages where confusing the customers.

[CL 25447299 by Martin Sevigny in ue5-main branch]
2023-05-12 09:21:34 -04:00
joe kirchoff
2a77ade97e Add new references to batch file UAT UBT dependencies
#rnx
#rb trivial

[CL 25398012 by joe kirchoff in ue5-main branch]
2023-05-09 19:50:15 -04:00
Josh Adams
8b1d9615f8 - Packaging and archiving for modern IOS/Mac:
- When doing standard BuildCookRun, package will simply finalize the (likely already finalize) .app in Binaries/<platform>
  - When using Distribution mode, packge will create a .xcarchive in the Xcode Library (as seen in Organizer) to be able to distribute in various modes
  - Archiving will copy either the .app or .xcarchive made above to the archive directory (it will always copy the most recent .xcarchive, since we don't create the directory name, we can't know which archive to copy, so the most recent one wins - not an issue when using -package, because it always makes a new .xcarchive)
- A few code cleanup/refactors in related
#preflight 644ab91fb208f61af82d8f76

[CL 25220287 by Josh Adams in ue5-main branch]
2023-04-27 14:22:37 -04:00
Josh Adams
4323a4108a - QAGame Mac passes validation for App Store (and can upload)
- Thin the dylibs in a .app when archiving, and warn that the dylibs have all needed architectures
- Added some default entitilements files for Mac, for Sandbox, and set Sandbox entiitlements as Shipping default
- Added some Modern ini options (ModernBundleIdentifie, AppCategory
- Updated CEF3 to have a single universal framework, which gets Thinned down if making a single architecture app
#rb calvin.zheng,roman.dzieciol
#preflight 64405af7a9720904a6c3eb4f

[CL 25117174 by Josh Adams in ue5-main branch]
2023-04-19 17:42:52 -04:00
josh adams
83117ddf55 - Removed a comment which was leaving temp files around instead of deleting them
#rb trivial
#preflight skip

[CL 25032566 by josh adams in ue5-main branch]
2023-04-13 17:01:43 -04:00
josh adams
6bd4b5cc10 - Replacement script for dsymutil that can take a universal binary and generate a dsym, when normally dsymutil would error out with > 4gb offsets
#rb calvin.zheng
#jira UE-183136
#preflight 64381918ae4448e6f9113b3b

[CL 25032553 by josh adams in ue5-main branch]
2023-04-13 17:01:24 -04:00
Josh Adams
5176c49a4b - Updating InstallP4VUtils.bat to match the changes in mac/linux script
#rb trivial
#preflight slip

[CL 24977171 by Josh Adams in ue5-main branch]
2023-04-10 10:19:13 -04:00
josh adams
384ec009e9 - Fixed up latest p4vutils for Mac/Linux, updated project to handle all platforms
- Added UserInterface static class for pulling DialogBox and Clipboard stuff, which needs per-platform implementations
- Changed Windows to install P4VUtils.exe <command>, instead of dotnet P4Utils.dll <command>
- Added scripts to build all platforms, from all platforms (using the IsWindows, IsLinux, IsOSX, WithRestricted properties in the project)
- Updated Binaries as well
#rb ryan.hummer
#preflight skip

[CL 24964516 by josh adams in ue5-main branch]
2023-04-07 10:43:57 -04:00
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