Commit Graph

209 Commits

Author SHA1 Message Date
james singer
10680d051b Make Turnkey persist UE_SDKS_ROOT on Mac and Linux
#jira UE-223174
[REVIEW] [at]josh.adams, [at]zack.neyland
#rb zack.neyland

[CL 36762504 by james singer in 5.5 branch]
2024-10-01 20:18:14 -04:00
james singer
541e7b2aba Changed linux toolchain URL from http:// to https://
- Fixed SetupToolchain.sh to error out if tar extraction fails
- Test leftover toolchain archive for validity and remove if corrupted so that we don't continue to fail

#jira UE-221566
[FYI] Brandon.Schaefer
[REVIEW] https://p4-swarm.epicgames.net/reviews/35450729
#rb zack.neyland
[RN] Made SetupToolchain.sh a little more robust against download errors

[CL 35460618 by james singer in ue5-main branch]
2024-08-12 14:30:16 -04:00
james singer
6e6ad69505 Fix new linux toolchain config to not compress debug sections since they don't work on windows
#jira UE-217651
#fyi brandon.schaefer

[CL 35453202 by james singer in ue5-main branch]
2024-08-12 11:05:29 -04:00
james singer
396580b11e Toolchain upgrade to llvm 18.1.0
fix scripts
    - support Rocky Linux 8 as minimum supported OS
    - deprecate CentOS 7 support
    - update to using a vanilla released version of crosstool
        - configs should now be able to be upgraded when we go to a new version instead of having to be rebuilt
    - changes to script flow to make it easier to iterate on the build process when things break
        - stages of the build are checkpointed so that they don't have to be redone each run

#fyi Arciel.Rekman
#jira UE-217651
#rb Brandon.Schaefer

[CL 35243087 by james singer in ue5-main branch]
2024-08-01 09:53:09 -04:00
joe kirchoff
cb41b4cfeb Upgrade bundled dotnet to 8.0.300
* Rename dotnet directories for windows and linux to include architecture

[CL 33980908 by joe kirchoff in ue5-main branch]
2024-05-29 14:12:18 -04:00
james singer
31762ac027 Remove references to mono from some Linux platform files (misleading comments)
#jira UE-206564
#rb ryan.hummer, josh.adams, brandon.schaefer

[CL 31525055 by james singer in ue5-main branch]
2024-02-15 12:56:16 -05:00
UnrealBot
9cb2a7c534 Branch snapshot for CL 31090618
[CL 31090618 in ue5-main branch]
2024-02-01 17:51:56 +00:00
robert seiver
216a99b719 Replace hard-coded toolchain version from SetupToolchain.sh by fetching it from Linux_SDK.json (which should be the source of truth on toolchain versions)
#rb James.Singer
#jira UE-191400

[CL 27241343 by robert seiver in ue5-main branch]
2023-08-21 11:59:03 -04:00
arciel rekman
c1606c596e Fix Linux toolchain building scripts.
- Native Linux toolchain is produced in already a runnable state with the proper name for distribution.
- Both cross and native toolchains have their repo path changed to the github repo they are cloned from.
- Not building bolt as this for some reason cases llvm-profdata and symbolizer not to be added to the install folder.

#rb none
[FYI] Brandon.Schaefer

[CL 26797743 by arciel rekman in ue5-main branch]
2023-08-02 23:23:03 -04:00
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
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
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
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
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
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
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
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
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
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
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
Joe Kirchoff
3f1de0e66c Update bundled dotnet to 6.0.302
#rb Ryan.Hummer
#rnx
#jira UE-159980
#preflight 62f152ba0264595302c59855

[CL 21273202 by Joe Kirchoff in ue5-main branch]
2022-08-08 15:06:11 -04:00
josh adams
f133254485 - Fixed up 3 Linux ContentWorker issues that came from the dotnet 6 upgrade (or other recent UE5 changes):
* Staged the wrong Dotnet directory when making CW from Windows (it would stage Dotnet/6.20.00/windows)
* The ScriptModule code that used the Automation.json files to discover the precompiled UAT script dlls didn't handle \'s on Linux in the paths, and since Windows wrote out the files, there are \'s aplenty. I fixed up the known issue, but possibly all paths loaded from the json files should be fixed up, but it's not easy to do automatically
* We moved to using RunUAT.sh instead of calling dotnet directly, however because we make the CW on Windows, dotnet was not executable, and the code in RunUAT.sh to find the dotnet executable and make it executable (chmod `which dotnet`) only works if dotnet is already executable! So, I moved the +x code into SetupDotnet.sh, on Linux and Mac
#rb eric.knapik
#preflight 62ccd2009922f7e512b6e51a

#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 21055451 via CL 21055464 via CL 21055478
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21076349 by josh adams in ue5-main branch]
2022-07-13 14:17:50 -04:00