Commit Graph

93 Commits

Author SHA1 Message Date
Ben Marsh
511af0caa7 Only add shader format and target platform modules as dependencies of the TargetPlatform module. Adding them for every single module in a target has a huge effect on the number of modules we need to resolve (UEBuildTarget.FindOrCreateModuleByName() was being called 200,000 times when generating project files, thanks to SCW and UFE triggering these code paths).
#codereview Peter.Sauerbrei

[CL 2684709 by Ben Marsh in Main branch]
2015-09-09 11:03:25 -04:00
Ben Marsh
9610023ca5 Use FileReference and DirectoryReference classes instead of strings for paths. Massively reduces the amount of paranoid calls to GetFullPath(), CleanDirectorySeparators() et al., and improves performance for really common UBT operations like making relative paths or checking if files are under a directory. Strong typing ensures that intention of parameters is explicit.
[CL 2678429 by Ben Marsh in Main branch]
2015-09-03 08:47:24 -04:00
Ben Marsh
42c53cf179 Change IUEBuildPlatform.ModifyNewlyLoadedModule to IUEBuildPlatform.ModifyModuleRules(). Only modifying the rules object rather than the implementation itself makes it easier to optimize caching module references.
[CL 2672146 by Ben Marsh in Main branch]
2015-08-28 07:27:26 -04:00
Dmitry Rekman
3874b31cff Linux: do not compile ICU for server targets.
- Saves memory/code size, and servers shouldn't need that (by default at least).

(Merging CL 2665433 to main)

[CL 2669117 by Dmitry Rekman in Main branch]
2015-08-26 08:49:08 -04:00
Dmitry Rekman
3d4c157110 Revert the previous change and disable XGE again.
- Modular builds (editor, UT server) seem to be broken by this since FixDeps step probably is not listing its prerequisites correctly.

#codereview Ben.Marsh

[CL 2644331 by Dmitry Rekman in Main branch]
2015-08-04 19:39:07 -04:00
Dmitry Rekman
85c1194619 Enabling XGE for Linux in hopes that the crashes are gone.
#codereview Ben.Marsh

[CL 2643908 by Dmitry Rekman in Main branch]
2015-08-04 15:22:37 -04:00
Dmitry Rekman
cc2bb0b833 UBT: switch to a clang 3.6.0 Linux cross-toolchain (again).
[CL 2592250 by Dmitry Rekman in Main branch]
2015-06-18 13:43:54 -04:00
Josh Adams
01c4d45e38 - Renamed Desktop target platform to AllDesktop to reduce conflicts with Desktop directories [UEPLAT-894]
#codereview peter.sauerbrei,ben.marsh

[CL 2588676 by Josh Adams in Main branch]
2015-06-16 11:09:27 -04:00
Peter Sauerbrei
882f79f039 Changes to reduce log spew in stdout for UAT and GUBP
UEB-156
#uat
#codereview ben.marsh, robert.manuszewski

[CL 2588630 by Peter Sauerbrei in Main branch]
2015-06-16 10:42:46 -04:00
Ben Marsh
e0a010415b Treat shadow variable warnings as errors in non-unity builds.
[CL 2582001 by Ben Marsh in Main branch]
2015-06-09 18:14:52 -04:00
nakosung
6366f1bdef PR #1135: Support enabling exceptions in a Linux build.
- Contributed by nakosung.

[CL 2563680 by Dmitry Rekman in Main branch]
2015-05-22 19:57:14 -04:00
Ben Marsh
16473b93ed Turn shadow variable warnings back into warnings; they are breaking too many builds.
#codereview Marc.Audy

[CL 2561102 by Ben Marsh in Main branch]
2015-05-21 13:59:00 -04:00
Dmitry Rekman
c22c949712 Linux: fix line numbers and source file info missing in callstacks.
- Forcing DWARF3 since libdwarf (from MIT-licensed elftoolchain) doesn't support DWARF4 (which clang 3.5+ defaults to). Can cause binary size regression.
- Extended TestPAL to test crashes/fatal logs.
- Rearranged switches so deoptimizing switches are only applied to debug builds (development still have meaningful info in debugger).

#coderview Bob.Tellez, Josh.Markiewicz

[CL 2559036 by Dmitry Rekman in Main branch]
2015-05-20 13:02:57 -04:00
Bob Tellez
1804e139d2 [AUTOMERGE]
#UE4 Re-enabling debugging symbols for development linux builds. These are needed to debug crashes in development executables.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2556071 by Bob.Tellez on 2015/05/18 18:43:00.

[CL 2558927 by Bob Tellez in Main branch]
2015-05-20 11:53:37 -04:00
Ben Marsh
6b1d263572 Make bEnableShadowVariableWarnings a per-module setting, so we don't break reuse of shared build intermediates.
#codereview Marc.Audy, Wes.Hunt

[CL 2547047 by Ben Marsh in Main branch]
2015-05-12 08:03:21 -04:00
Dmitry Rekman
b23f952872 Linux: only strip debug info and not symbols (UE-15001).
- The same change as in CL 2539603.

#codereview Chris.Babcock, Josh.Adams

[CL 2539623 by Dmitry Rekman in Main branch]
2015-05-06 14:31:44 -04:00
Ben Marsh
f1d8b60d57 Add symbol stripping at the IUEToolChain level. Implemented for Windows, Linux, Android arm7.
#codereview Dmitry.Rekman, Chris.Babcock

[CL 2527125 by Ben Marsh in Main branch]
2015-04-27 12:53:24 -04:00
Dmitry Rekman
cf13523ccd Linux: suppress '-W-inconsistent-missing-override' warning for 4.8
[CL 2521581 by Dmitry Rekman in Main branch]
2015-04-22 15:40:07 -04:00
Marc Audy
5eba946116 Allow -Wshadow to be enabled via build configuration
[CL 2520977 by Marc Audy in Main branch]
2015-04-22 09:58:49 -04:00
Dmitry Rekman
93e0abe8d4 Move LinuxNativeDialogs to a more appropriate location.
- Build script corrected.
- Unfortunately, yet another hardcoded rpath.

#codereview Ben.Marsh

[CL 2519366 by Dmitry Rekman in Main branch]
2015-04-21 11:51:45 -04:00
Dmitry Rekman
7191e4f9bd Linux: gcc-like compiler output when not cross-compiling.
- Cross-compiling is unaffected (warnings/etc are clickable in MSVC), but this makes errors/warnings clickable in IDEs that expect gcc-like format.

[CL 2505572 by Dmitry Rekman in Main branch]
2015-04-08 14:51:57 -04:00
Dmitry Rekman
40699687fa Rolled back Linux toolchain to clang 3.5.0 until Shooter compilation is fixed.
#codereview Steve.Robb
#lockdown Zachary.EdgertonJones

[CL 2490604 by Dmitry Rekman in Main branch]
2015-03-25 11:29:28 -04:00
Dmitry Rekman
9408a83973 Linux: exempt some warnings from -Werror.
- After discussion with Core/Platform teams, it was determined that these warnings [would] affect build failure rate too much.
- We do not want to suppress them altogether though and they are going to be fixed as time and resources permit.

#codereview Josh.Adams, Michael.Trepka, Chris.Babcock, Marcus.Wassmer, Ankit.Khare

[CL 2488268 by Dmitry Rekman in Main branch]
2015-03-23 16:01:17 -04:00
Dmitry Rekman
0767242767 Switch UBT to use clang 3.6.0 Linux cross-toolchain.
-  -Wno-inconsistent-missing-override suppressed, pending discussion with the Core team.

#codereview Steve.Robb, Robert.Manuszewski, Josh.Adams

[CL 2487976 by Dmitry Rekman in Main branch]
2015-03-23 13:07:46 -04:00
Ben Marsh
9c39abe349 Remove symbol stripping for Rocket from UBT. Will strip inside build process instead.
[CL 2486710 by Ben Marsh in Main branch]
2015-03-20 16:23:30 -04:00