Commit Graph

3105 Commits

Author SHA1 Message Date
michael sartain
95a549c74b Remove "Unable to locate Linux SDK toolchain" Linux build warnings
Too many one-off broken cases. We'll work on a solution for 4.25.

#jira UE-82187
#rb Brandon.Schaefer
[FYI] Arciel.Rekman

#ROBOMERGE-SOURCE: CL 9882598 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v553-9872581)

[CL 9882599 by michael sartain in Main branch]
2019-10-29 13:24:22 -04:00
brandon schaefer
bc4c2ca6d6 Fix race condition when -nodebuginfo is set. Was trying to strip the debug info twice on the same so
#jira UE-82389
#rb Arciel.Rekman

#ROBOMERGE-SOURCE: CL 9871297 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v548-9842178)

[CL 9871300 by brandon schaefer in Main branch]
2019-10-28 13:56:06 -04:00
DecoyRS
f826d35393 PR #6297: Fixing Rider project files generator (Contributed by DecoyRS)
#rb none
#jira
#rnx

#ROBOMERGE-SOURCE: CL 9839424 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v546-9757112)

[CL 9839431 by ben marsh in Main branch]
2019-10-25 11:09:19 -04:00
ben marsh
9170b5f44a Enable shadow variable warnings as errors by default for projects that are using the latest UBT build settings. Allow setting the warning/error level on a per-module and per-target basis.
The engine will always be built with it as an error.

#rb none
[FYI] Marc.Audy
#jira none

#ROBOMERGE-SOURCE: CL 9839163 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v546-9757112)

[CL 9839167 by ben marsh in Main branch]
2019-10-25 10:39:37 -04:00
ben marsh
358843a73a Use standard UBT logic for finding SignTool.exe instances, so we can use AutoSDK versions distributed with AutoSDK.
[FYI] Ryan.Durand


#ROBOMERGE-SOURCE: CL 9753397 via CL 9753398 via CL 9753399
#ROBOMERGE-BOT: (v545-9751379)

[CL 9753400 by ben marsh in Main branch]
2019-10-22 18:45:43 -04:00
anthony bills
e0adab3b78 [IOS] Only set the BundleID to the provisioning profile's identifier, if it does not contain a wildcard.
#jira UE-81780
[at]jack.porter, [at]peter.sauerbrei
#rb peter.sauerbrei

#ROBOMERGE-SOURCE: CL 9746417 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v542-9736015)

[CL 9746418 by anthony bills in Main branch]
2019-10-22 12:13:34 -04:00
ben marsh
8160cd7a8f UBT: Add a command line option to enable RTTI (requires -OverrideBuildEnvironment also)
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 9736943 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v539-9700858)

[CL 9736948 by ben marsh in Main branch]
2019-10-21 16:11:26 -04:00
Michael Sartain
8d65734ccb Remove accidental cherry-pick DynamicallyLoadedModuleNames ShaderFormatVectorVM line
Came in with CL 9618959. Should get added back if CL 9457635 is pulled.

#jira none
#rb Brandon.Schaefer
#fyi Shaun.Kime, Michael.Galetzka

[CL 9625204 by Michael Sartain in 4.24 branch]
2019-10-16 18:16:11 -04:00
Michael Sartain
97f7ebe128 Fix Linux address sanitizer builds
When linking shared libs (DSOs) under Linux, we need the -shared-libsan option. This will cause us to load the libclang_rt.asan-x86_64.so, etc and not static link so we need to add the path to the executable rpath.

	https://github.com/google/sanitizers/issues/1086
	https://www.gitmemory.com/issue/google/sanitizers/1086/509784249

Add linux sanitizer information to build details if set. Should look something like this:

------- Build details --------
Using system toolchain.
Using clang (/usr/bin/clang++) version '8.0.1' (string), 8 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /usr/bin/llvm-ar
Building with: AddressSanitizer
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------

Cherry pick 9953880, 2539328

#jira none
#rb Brandon.Schaefer

[CL 9619854 by Michael Sartain in 4.24 branch]
2019-10-16 12:50:13 -04:00
Michael Sartain
9d5144c00f Remove falling back to system compiler by default on Linux
We now only check for and use the system compiler if "-ForceUseSystemCompiler" command line is passed
Also don't default to epic compiler if -ForceUseSystemCompiler specified and we can't find the system compiler

More descriptive error messages when linux sdk toolchain not found

  $ LINUX_MULTIARCH_ROOT=/tmp/foobar make BlankProgram
  bash "/epic/UE4-23.git/Engine/Build/BatchFiles/Linux/Build.sh" BlankProgram Linux Development
  Fixing inconsistent case in filenames.
  Setting up Mono
  Building BlankProgram...
  Unable to locate Linux SDK toolchain at /tmp/foobar/x86_64-unknown-linux-gnu.
  ERROR: GetBuildPlatform: No BuildPlatform found for Linux
  make: *** [Makefile:183: BlankProgram] Error 5

  $ make BlankProgram ARGS="-forceusesystemcompiler"
  bash "/epic/UE4-23.git/Engine/Build/BatchFiles/Linux/Build.sh" BlankProgram Linux Development  -forceusesystemcompiler
  Fixing inconsistent case in filenames.
  Setting up Mono
  Building BlankProgram...
  Unable to locate system compiler (-ForceUseSystemCompiler specified).
  ERROR: GetBuildPlatform: No BuildPlatform found for Linux
  make: *** [Makefile:183: BlankProgram] Error 5

  $ LINUX_MULTIARCH_ROOT= make BlankProgram
  bash "/epic/UE4-23.git/Engine/Build/BatchFiles/Linux/Build.sh" BlankProgram Linux Development
  Fixing inconsistent case in filenames.
  Setting up Mono
  Building BlankProgram...
  Unable to locate Linux SDK toolchain. Please run Setup.sh.
  ERROR: GetBuildPlatform: No BuildPlatform found for Linux
  make: *** [Makefile:183: BlankProgram] Error 5

Cherry pick 9465561, 9472982, 9602106

#jira UE-81290
#rb Brandon.Schaefer

[CL 9619823 by Michael Sartain in 4.24 branch]
2019-10-16 12:45:42 -04:00
Michael Sartain
e6e5a2506d Add LinuxAArch64Server and LinuxAArch64Client build targets
Cherry pick 9427927

#rb Brandon.Schaefer
#jira none

[CL 9618959 by Michael Sartain in 4.24 branch]
2019-10-16 11:53:16 -04:00
Ben Marsh
1b24b38d91 Add missing XML documentation to suppress warnings.
#rb none
#rnx
#jira

[CL 9564726 by Ben Marsh in 4.24 branch]
2019-10-13 20:57:42 -04:00
Mitchell Wilson
f0a83e9112 Copying //UE4/Dev-Documentation to Samples-Main (//UE4/Samples-Main)
#rb none
#rnx

[CL 9551884 by Mitchell Wilson in Main branch]
2019-10-11 16:59:16 -04:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
luke thatcher
762d8ba154 Add a flag in TargetRules to optionally disable the generation of the runtime symbol files on some platforms.
#rb Ben.Marsh, Ben.Woodhouse


#ROBOMERGE-SOURCE: CL 9546226 via CL 9546228
#ROBOMERGE-BOT: (v521-9539702)

[CL 9546230 by luke thatcher in Main branch]
2019-10-11 07:21:22 -04:00
Ben Marsh
06ba288850 UBT: Fix the bHasProjectScriptPlugin flag not being set correctly when building UHT for program targets.
#rb none
#rnx

[CL 9540863 by Ben Marsh in Main branch]
2019-10-10 15:04:48 -04:00
brandon schaefer
40aea43f64 Remove -glldb from LinuxToolchain.cs breaks gdb 8 debugging info
#jira none
#rb none
[FYI] Arciel.Rekman, Michael.Sartain
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 9473389 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v508-9471939)

[CL 9473403 by brandon schaefer in Main branch]
2019-10-08 11:20:47 -04:00
Jason Bestimt
b81001e030 Repairing HL2 library directories
#RB: ben.marsh
From CL 8645176
#JIRA: UE-81347, UE-81430

[CL 9447833 by Jason Bestimt in Main branch]
2019-10-07 11:53:07 -04:00
emil persson
0506f20647 Enable DX12 Perf markers for Test configuration
#ROBOMERGE-SOURCE: CL 9439806 via CL 9440207
#ROBOMERGE-BOT: (v490-9439918)

[CL 9440744 by emil persson in Main branch]
2019-10-07 08:54:59 -04:00
Ben Marsh
4a050ac86b UBT: Remove hard dependency on Windows SDK assembly for Hololens. Not all users have the required SDK.
#rb none

[CL 9426107 by Ben Marsh in Main branch]
2019-10-05 09:02:01 -04:00
ben marsh
69d578b959 UBT: Add unique error messages for every site that can throw an exception when creating managed processes. Also retry creating a process if it fails with ERROR_ACCESS_DENIED, which we seem to be seeing intermittently on the builders.
#ROBOMERGE-SOURCE: CL 9420558 via CL 9420568 via CL 9420572 via CL 9420589 via CL 9422358
#ROBOMERGE-BOT: (v480-9420520)

[CL 9422426 by ben marsh in Main branch]
2019-10-04 16:19:09 -04:00
Joe Conley
f338f12b47 #jira UE-81346 - //UE4/Main - Compile UE4Game HoloLens - unable to find mspdbcore.dll
Copying fix from Dev-VR

#rb Jason.Bestimt, Ben.Marsh

[CL 9420920 by Joe Conley in Main branch]
2019-10-04 13:48:20 -04:00
Ben Marsh
b6039a9873 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 9419420 by Ben Marsh in Dev-Build branch]
2019-10-04 11:20:44 -04:00
Rolando Caloca
d313da3afa Merging //UE4/Main@9413474 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 9417021 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-10-04 09:23:21 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00