Commit Graph

75 Commits

Author SHA1 Message Date
Ben Marsh
d6d7c939e5 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 12726184 by Ben Marsh in Main branch]
2020-04-10 11:30:32 -04:00
brandon schaefer
f36cfa8632 Only append sanatizer args for monolithic builds
#jira UE-91519
#rb Michael.Sartain

#ROBOMERGE-SOURCE: CL 12579869 in //UE4/Release-4.25/... via CL 12579901 via CL 12579935
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12579940 by brandon schaefer in Main branch]
2020-04-02 18:01:47 -04:00
michael sartain
d4ed4a224d Linux AArch64 libs for FreeType2 v2.10.0, ICU 64.1, and HarfBuzz 2.4.0
Includes BuildForLinuxAArch64.sh cross compilation scripts

Adds LinuxAArch64 back to installed engine builds (CL 11419001)

#jira UE-88745
#rb Brandon.Schaefer

#ROBOMERGE-SOURCE: CL 11452535 in //UE4/Release-4.25/...
#ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218)

[CL 11452536 by michael sartain in 4.25-Plus branch]
2020-02-14 19:11:39 -05:00
brandon schaefer
3b45b4cc1b Move to new llvm clang 9.0.1 v16 toolchain
#jira UE-85219
#rb none
[FYI] Michael.Sartain

#ROBOMERGE-SOURCE: CL 11448348 in //UE4/Release-4.25/...
#ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218)

[CL 11448367 by brandon schaefer in 4.25-Plus branch]
2020-02-14 16:01:59 -05:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
brandon schaefer
77081a0b31 Append a suffix to the binary name before the extension when using llvm sanitizers to avoid overwriting binary/*.so names
#jira UE-88101
#rb none
[FYI] Michael.Sartain, Michael.Trepka


#ROBOMERGE-SOURCE: CL 11246101 via CL 11246102 via CL 11246103
#ROBOMERGE-BOT: (v647-11244347)

[CL 11254337 by brandon schaefer in Main branch]
2020-02-05 12:40:10 -05:00
brandon schaefer
24d21eb337 Fix XML in UEBuildLinux.cs
#rb none


#ROBOMERGE-SOURCE: CL 11122035 via CL 11122042 via CL 11122053
#ROBOMERGE-BOT: (v640-11091645)

[CL 11122062 by brandon schaefer in Main branch]
2020-01-27 16:57:24 -05:00
brandon schaefer
97e29642f5 When building monolithic statically link LLVM sanitizers
Enables support for LLVMs Memory Sanitizer (-EnableMSan)

#jira UE-87546
#rb none
[FYI] Michael.Sartain, Bob.Tellez


#ROBOMERGE-SOURCE: CL 11121567 via CL 11121591 via CL 11121594
#ROBOMERGE-BOT: (v640-11091645)

[CL 11121609 by brandon schaefer in Main branch]
2020-01-27 16:38:57 -05:00
Rolando Caloca
bbb9564388 Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00
Ryan Durand
9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00
michael lentine
f302c5d5fc Add cross platform ISPC support from Dev-Anim to accelerate Chaos computations.
#rb Ben.Marsh


#ROBOMERGE-OWNER: michael.lentine
#ROBOMERGE-AUTHOR: michael.lentine
#ROBOMERGE-SOURCE: CL 10727300 via CL 10727303 via CL 10727314 via CL 10727316
#ROBOMERGE-BOT: (v610-10636431)

[CL 10727317 by michael lentine in Main branch]
2019-12-13 23:35:01 -05:00
marc audy
cfce5dd9ac Submit of Josh Adams' restructuring of platform handling in UBT
[FYI] Josh.Adams


#ROBOMERGE-SOURCE: CL 10590881
#ROBOMERGE-BOT: (v607-10590470)

[CL 10590882 by marc audy in Main branch]
2019-12-06 09:16:21 -05:00
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
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
brandon schaefer
d1923b0346 Bump to v15 8.0.1 toolchain
#jira none
#rb none
[FYI] Michael.Sartain
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 9380792 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v456-9359915)

[CL 9380796 by brandon schaefer in Main branch]
2019-10-02 15:29:30 -04:00
Marcus Wassmer
6517c68ef5 Copying //UE4/Dev-RenderPlat-Staging@8684824 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 8684840 by Marcus Wassmer in Main branch]
2019-09-14 09:45:25 -04:00
brandon schaefer
5e6b22cf98 Bump to v14 clang 8.0.1 toolchain for Linux
#jira none
#rb none
[FYI] Arciel.Rekman, Michael.Sartain

#ROBOMERGE-SOURCE: CL 8039909 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v399-8035122)

[CL 8039915 by brandon schaefer in Main branch]
2019-08-14 13:26:41 -04:00
arciel rekman
78132be65d UBT: Fixed UBT not cleanign up some Linux build products (UE-76563).
#rb Ben.Marsh (suggested)
#jira UE-76563
[FYI] Brandon.Schaefer

#ROBOMERGE-SOURCE: CL 7461395 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7461396 by arciel rekman in Main branch]
2019-07-19 14:27:23 -04:00
brandon schaefer
33e6966e9a Re-enable XGE for cross building for Linux on Windows
#jira UE-64476
#rb none

#ROBOMERGE-SOURCE: CL 7441989 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7441991 by brandon schaefer in Main branch]
2019-07-18 15:53:24 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00
Chris Gagnon
80918bea22 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5110714 by Chris Gagnon in Dev-Editor branch]
2019-02-21 13:05:30 -05:00