Commit Graph

476 Commits

Author SHA1 Message Date
joe kirchoff
761ea07fa2 UnrealBuildTool: Use warning level for undefined identifier property
#rnx
#jira UE-200408

[CL 34534901 by joe kirchoff in ue5-main branch]
2024-06-20 13:13:35 -04:00
joe kirchoff
4838ff85be [Backout] - CL34354297
[FYI] Joe.Kirchoff

Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Remove usage of obsolate BinarySerializer and replace with Json

#rnx

[CL 34437061 by joe kirchoff in ue5-main branch]
2024-06-17 15:15:28 -04:00
joe kirchoff
b703e32d61 UnrealBuildTool: Move additional target compile args to after the file type specific args, so any previous arguments will be overwritten if desired, or if they need to be added after other args, such as args that depend on the cppstd version
#jira UE-213214

[CL 34385997 by joe kirchoff in ue5-main branch]
2024-06-14 17:50:33 -04:00
henrik karlsson
eb25573bfc [UBT]
* Fixed pgo directory path not using double backslash

[CL 34384515 by henrik karlsson in ue5-main branch]
2024-06-14 17:06:39 -04:00
joe kirchoff
a5b67572d6 UnrealBuildTool: Remove usage of obsolate BinarySerializer and replace with Json
#rnx

[CL 34354327 by joe kirchoff in ue5-main branch]
2024-06-13 17:00:32 -04:00
josh adams
9f6c96356e - Disabled UBA for PCH for Mac/IOS builds
#rb zack.neyland

[CL 34044035 by josh adams in ue5-main branch]
2024-05-31 16:37:00 -04:00
brandon schaefer
6d609fcb13 Support moving to disabling AutoRTFM support only vs explicitly enabling
#rb Neil.Henning

[CL 34014580 by brandon schaefer in ue5-main branch]
2024-05-30 17:47:55 -04:00
joe kirchoff
1dd9587895 UnrealBuildTool: Don't allow caching clang -SingleFile actions
#rnx

[CL 33979938 by joe kirchoff in ue5-main branch]
2024-05-29 13:44:46 -04:00
henrik karlsson
b9308f685b [UBT]
* Changed so root paths are included in bucket id when pch is enabled

[FYI] Joe.Kirchoff

[CL 33957782 by henrik karlsson in ue5-main branch]
2024-05-28 18:56:53 -04:00
joe kirchoff
08a0f08544 UnrealBuildTool: Suppress ISPC loging when parsing version string
#rnx

[CL 33911540 by joe kirchoff in ue5-main branch]
2024-05-24 19:38:37 -04:00
joe kirchoff
b9e3a4b200 UnrealBuildTool: Ensure invalidation for ispc and clang objects when uba compression is toggled
#rnx
#jira UE-214684

[CL 33875248 by joe kirchoff in ue5-main branch]
2024-05-23 17:13:00 -04:00
henrik karlsson
9a860e79c7 [UBT]
* Added artifact mode and rootpaths to CompileByteCode action. also enabled it to run remotely in uba

[CL 33849783 by henrik karlsson in ue5-main branch]
2024-05-22 19:25:15 -04:00
henrik karlsson
d2caf167a8 [UBT]
* Fixed so executable also run strip action to make sure exports that must exist will exist
* Fixed so clang-based platforms also work with merged modules.
* Removed pch stripping action now when we don't create stripped obj files anymore

[CL 33845112 by henrik karlsson in ue5-main branch]
2024-05-22 17:16:45 -04:00
henrik karlsson
26a27653c1 Changed so rsp files for clang targets on windows hosts uses backslash instead of forward slash. This makes it possible to use uba cache on these targets
[CL 33845086 by henrik karlsson in ue5-main branch]
2024-05-22 17:16:35 -04:00
henrik karlsson
f1fc1218d5 [UBT]
* Changed so it is possible to have extra command line parameters in combination with rsp file on vc targets
* Changed so we don't create .strip.obj file anymore but instead use UbaObjTool to create an additional obj file that carry exports etc

[FYI] Joe.Kirchoff

[CL 33830727 by henrik karlsson in ue5-main branch]
2024-05-22 11:15:45 -04:00
marc audy
5a0718a314 direct header compiling tools
#rb christopher.waters

[CL 33798962 by marc audy in ue5-main branch]
2024-05-21 12:23:35 -04:00
marc audy
6a76a0e4b9 Add UE_DIRECT_HEADER_COMPILE to allow avoiding warnings/errors in single-header compilation.
Replace setting SUPPRESS_MONOLITHIC_HEADER_WARNINGS with UE_DIRECT_HEADER_COMPILE for header compilation situations
#rnx
#rb Christopher.Waters, Joe.Kirchoff

[CL 33672325 by marc audy in ue5-main branch]
2024-05-15 17:47:03 -04:00
marc audy
2c05105f32 Minor clean up of SUPPRESS_MONOLITHIC_HEADER_WARNINGS
* Remove pointless define/undef of it
* Set it to 1 consistently in all cases (even though we only check if it is defined)

[CL 33667364 by marc audy in ue5-main branch]
2024-05-15 15:49:27 -04:00
marc audy
ecd20a51b6 Allow ShowIncludes to work for clang as well as windows
#rb christopher.waters, Joe.Kirchoff

[CL 33665843 by marc audy in ue5-main branch]
2024-05-15 14:51:47 -04:00
joe kirchoff
15dd07ca7e UnrealBuildTool: Always write a .cpp file when compiling stand-alone headers
#rnx

[CL 33638117 by joe kirchoff in ue5-main branch]
2024-05-14 18:12:01 -04:00
joe kirchoff
aae11b81ee UnrealBuildTool: -IncludeHeader fixes
* Headers can have duplicate filenames which results in intermediate file conflicts, generate an intermediate subdirectory using the header relative path from the module root
* Don't use PCH for headers (also fix the original unmodified module compile environment being overwitten due to not making a copy !!!)
* Set SUPPRESS_MONOLITHIC_HEADER_WARNINGS=0 for header compiles
* Remove the need to generate a separate file to include the header with -SingleFile
* Fix /TC not being passed to clang-cl
* Disable a few clang #pragma related warnings

#rnx
#jira UE-214521
#rb christopher.waters

[CL 33608666 by joe kirchoff in ue5-main branch]
2024-05-13 16:24:15 -04:00
christopher waters
d443efc91c Fixing header compiles in clang by disabling the "pragma once in source file" warning for .h files.
#rb Marc.Audy

[CL 33547461 by christopher waters in ue5-main branch]
2024-05-09 11:38:08 -04:00
joe kirchoff
979ad6df70 sh -> /bin/sh
#rnx

[CL 33440590 by joe kirchoff in ue5-main branch]
2024-05-03 18:39:54 -04:00
rdunnington
057319ff09 PR #11788: fix: clang coroutine support when building with C++17
#jira UE-213184

[CL 33429362 by rdunnington in ue5-main branch]
2024-05-03 13:10:26 -04:00
henrik karlsson
7fc8ad83e8 [UBA]
* Integrated uba cache client in to UBT. This is the first iteration and is only really tested on UnrealEditor win64 development -nopch.

Test by starting a UbaCacheService.exe somewhere and then compile using -UbaCache=<thatmachine> -UbaWriteCache

#rb joe.kirchoff

[CL 33214931 by henrik karlsson in ue5-main branch]
2024-04-24 17:58:07 -04:00