Commit Graph

955 Commits

Author SHA1 Message Date
Joe Kirchoff
b76676d7e5 UnrealBuildTool: Clean up VCToolChain functions that add command line args to be more consistently used, allowing more paths that can be relative to reduce command line length
Verified relative pathing works fine for msvc clang builds
Use .d files for dependencies when compiling with windows clang, instead of piping through cl-filter.exe
Use relative pathing for generated unity files

#rb Jonathan.Adamczewski
#rnx
#preflight 60d4de2bcaf0590001e62de9
#preflight 60d4efbccaf0590001e9af24

[CL 16779820 by Joe Kirchoff in ue5-main branch]
2021-06-24 19:00:31 -04:00
axel riffard
5702c50c03 Refactor iOS Icons : create asset catalog according to present file
#jira UE-72584
#rb jack.porter
#preflight 60d4858157b3020001153d0c

[CL 16773695 by axel riffard in ue5-main branch]
2021-06-24 10:59:30 -04:00
Chris Babcock
112ed86408 Properly filter out all 32-bit Android include and libraries
#jira UE-118894
#android
#ue5
#review @Jack.Porter
#rb Aurel.Cordonnier

[CL 16767029 by Chris Babcock in ue5-main branch]
2021-06-23 20:34:39 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Joe Kirchoff
e7351bd35b UnrealBuildTool: /sourceDependencies isn't valid for clang
#rb trivial
#rnx

[CL 16760035 by Joe Kirchoff in ue5-main branch]
2021-06-23 14:07:11 -04:00
Joe Kirchoff
74747077a5 UnrealBuildTool: Move /sourceDependencies arg to GetCompilerArguments()
#rb trivial
#rnx

[CL 16759389 by Joe Kirchoff in ue5-main branch]
2021-06-23 13:23:54 -04:00
Joe Kirchoff
69fd3e1226 UnrealBuildTool: Use /sourceDependencies to generate dependency list instead of cl-filter if the the msvc compiler version is at least 14.27
#rb Ben.Marsh
#preflight 60d34f6ea81904000181d05a

[CL 16758831 by Joe Kirchoff in ue5-main branch]
2021-06-23 12:39:54 -04:00
David Harvey
bc3c4c7db0 Fixing up Address Sanitizer on Microsoft platforms.
<BuildConfiguration>
    <bEnableAddressSanitizer>true</bEnableAddressSanitizer>

#jira UE-112891
#rb dan.phillips
#rnx

[CL 16757980 by David Harvey in ue5-main branch]
2021-06-23 11:35:42 -04:00
nuno leiria
ea940d3794 Rename Linux folders to Unix where needed
#jira UE-99748
#preflight 60d0e0b778c3b00001e7cdd1
#rb brandon.schaefer, michael.sartain, arciel.rekman

[CL 16744169 by nuno leiria in ue5-main branch]
2021-06-22 12:04:15 -04:00
David Harvey
25c67e128d Add support for PDB page size override, introduced in VS2019 16.11 Preview 1.
This is used when dealing with PDB files that are over 4GB.

Use -PdbPageSize=<value> on the UBT command line, or add this to BuildConfiguration.xml:

  <WindowsPlatform>
    <PDBPageSize>32768</PDBPageSize>
  </WindowsPlatform>

Expected values are 4096 (default), 8192, 16384, 32768



Note to select an installed preview build of VS, you need to specify

  <WindowsPlatform>
    <CompilerVersion>Preview</CompilerVersion>
  </WindowsPlatform>


#rb ben.marsh
#jira UE-116910

[CL 16743860 by David Harvey in ue5-main branch]
2021-06-22 11:40:06 -04:00
will damon
46e6cfc425 Update valid range version maximum to allow for Xcode 13 beta.
#rb will.damon
#jira none
#rnx

[CL 16732272 by will damon in ue5-main branch]
2021-06-21 15:48:14 -04:00
Brandon Schaefer
05a2fa3749 Remove debug logging
#jira none
#rb none

[CL 16666749 by Brandon Schaefer in ue5-main branch]
2021-06-14 19:14:45 -04:00
Brandon Schaefer
da6e2eb1e2 Rename LinuxAArch64 to LinuxArm64
#jira UE-118127
#rb Michael.Sartain
#fyi Marc.Audy, Aurel.Cordonnier

[CL 16660821 by Brandon Schaefer in ue5-main branch]
2021-06-14 13:39:47 -04:00
jeanfrancois dube
50e5591882 UnrealBuildTool: added CppCompileEnvironment.AnalyzeStackSizeWarning to replace hardcoded value of 80K (now defaults to 300K).
Our stack size defaults to 4.7M on Windows, so allowing functions to use more stack space in favor of going through the heap.

#rb steve.robb


#ROBOMERGE-SOURCE: CL 16653849
#ROBOMERGE-BOT: (v834-16658389)

[CL 16659295 by jeanfrancois dube in ue5-main branch]
2021-06-14 11:58:20 -04:00
jonathan adamczewski
48dd1912e1 UnrealBuildTool
Adding "using UnrealBuildBase" to some files (submitted separately to make subsequent CLs smaller)

#jira none
#trivial

[CL 16657799 by jonathan adamczewski in ue5-main branch]
2021-06-14 09:25:26 -04:00
jonathan adamczewski
4ece24e65a AutomationTool, BuildUtilities:
UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

[CL 16648181 by jonathan adamczewski in ue5-main branch]
2021-06-11 18:20:44 -04:00
jonathan adamczewski
f9cdd2dc5d UnrealBuildTool:
Move IsEngineInstalled() into BuildUtilities

#jira none

[CL 16642197 by jonathan adamczewski in ue5-main branch]
2021-06-11 11:37:23 -04:00
Chris Babcock
666bdd0ab5 Update to AndroidX
#jira UE-117916
#android
#rb Steve.Smith

[CL 16635021 by Chris Babcock in ue5-main branch]
2021-06-10 21:44:24 -04:00
aurel cordonnier
e0ad4e25df Merge from Release-Engine-Test @ 16624776 to UE5/Main
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16625248 by aurel cordonnier in ue5-main branch]
2021-06-10 13:13:24 -04:00
jonathan adamczewski
b646b726e0 UnrealBuildTool:
Add a StringComparison argument to CreateIntermediateTextFile() and require callers to make a decision about the case-sensitivity used when considering whether to re-write a file.

(This is intentionally explicit and verbose at the call-site - we should implement a better solution. This change makes it clear that there is work to be done to be able to simplify the interface and achieve reliable behavior.)

As a first pass, C++ files (headers, cpp files, pch files) will have a case-sensitive comparison (C++ code is, mostly, case sensitive), Linux script files have a case-sensitive comparison (case-sensitive filesystem), and all other files are compared disregarding case - to match pre-existing behavior, and with the desire to not borrow more surprises than necessary.

#jira none

[CL 16616339 by jonathan adamczewski in ue5-main branch]
2021-06-09 19:45:07 -04:00
jonathan adamczewski
94b14ee042 UnrealBuildTool: move some path constants into BuildUtilities
RootDirectory, EngineDirectory, UnrealBuildToolPath are now found in BuildUtilities' UnrealBuild namesapce.

The way these are computed has changed. Previously, it was assumed that the application is UnrealBuildTool, and paths were constructed relative to that assembly.

Now, the assumption is that the process is located under a "Engine/Build/DotNET" sub-path and paths are constructed relative to that.

#jira none

[CL 16607440 by jonathan adamczewski in ue5-main branch]
2021-06-09 12:54:42 -04:00
Florin Pascu
c0bfb9b358 Build fix Ios/Tvos
#jira none
#rb none

[CL 16603677 by Florin Pascu in ue5-main branch]
2021-06-09 08:38:18 -04:00
jonathan adamczewski
44a6d5481e Move FileItem and DirectoryItem into BuildUtilities
#jira none

[CL 16596289 by jonathan adamczewski in ue5-main branch]
2021-06-08 19:05:33 -04:00
jonathan adamczewski
0af1ea99af Add a common C# method for detecting the current host platform to EpicGames.Core, and move many a test to use that code.
#jira none
#rb joe.kirchoff

[CL 16593582 by jonathan adamczewski in ue5-main branch]
2021-06-08 17:01:23 -04:00
axel riffard
8082e17223 Refactor iOS Icons
#jira UE-72584
#rb jack.porter
#preflight 60bef2cb0c76f90001d9e9a9

[CL 16583855 by axel riffard in ue5-main branch]
2021-06-08 03:06:05 -04:00