Commit Graph

64 Commits

Author SHA1 Message Date
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
ben marsh
570a4ad05a Add support for building Linux servers with ThinLTO enabled (via the -ThinLTO command line argument).
#jira


#ROBOMERGE-SOURCE: CL 5055200 via CL 5055212 via CL 5057271

[CL 5057295 by ben marsh in Main branch]
2019-02-18 19:44:39 -05:00
Brandon Schaefer
e330479d73 Symbols are now hidden by default for Linux/Mac
Add support for MODULE_VTABLE for exposing the VTable (Also optionally if enabled RTTI) info for a given type for clang (Linux/Mac)

Rename command line arg bHideSymbolsByDefault to bPublicSymbolsByDefault, as well as now add support for setting this change the BuildConfiguration.xml file

Started from Github PR #3351 though a different way to go about it

#jira UE-42635
#rb Arciel.Rekman, Steve.Robb, Ben.Marsh, Michael.Trepka
#fyi Chris.Bunner, Chris.Gagnon

[CL 4923631 by Brandon Schaefer in Dev-Editor branch]
2019-02-06 14:44:31 -05:00
Chris Gagnon
a48e767b94 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4835066 by Chris Gagnon in Dev-Editor branch]
2019-01-29 16:15:19 -05:00
Joe Barnes
55cc21d08f Copying //UE4/Dev-Console to Main (//UE4/Main) Source CL: 4825024
#lockdown: Nick.Penwarden
#rb integration

[CL 4825156 by Joe Barnes in Main branch]
2019-01-28 17:35:18 -05:00
Chris Gagnon
1dd3e0189f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4730305 by Chris Gagnon in Dev-Editor branch]
2019-01-15 18:47:22 -05:00
Chris Gagnon
1a3bf5caf1 Merging The Engine directory from //UE4/Dev-Main to //UE4/Dev-Editor upto CL 4698813
#rb none

[CL 4720826 by Chris Gagnon in Dev-Editor branch]
2019-01-14 16:55:55 -05:00
Ben Marsh
a22b952aa9 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 4718806 by Ben Marsh in Main branch]
2019-01-14 12:11:24 -05:00
Ben Marsh
23a9f020fe Fix compile errors in UBT after merge
#rb none
#rnx

[CL 4716251 by Ben Marsh in Dev-Build branch]
2019-01-12 13:10:27 -05:00
Ben Marsh
e26dfd2100 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4716250 by Ben Marsh in Dev-Build branch]
2019-01-12 13:09:07 -05:00
Thomas Sarkanen
b709a10f4c Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4708558
#rb none
#jira none
#lockdown Laurent.Delayen

[CL 4708630 by Thomas Sarkanen in Dev-Anim branch]
2019-01-11 07:37:39 -05:00
Thomas Sarkanen
e0f6136524 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4704791
#rb none
#jiira none

[CL 4708070 by Thomas Sarkanen in Dev-Anim branch]
2019-01-11 04:11:30 -05:00