behaviour-tree-test/platform
Rémi Verschelde 26db0bb15f SCons: Make lto=auto prefer ThinLTO over full LTO for LLVM targets
This speeds up build time considerably for these platforms compared to
using `lto=full`, which is sadly single-threaded with LLVM, unlike GCC.

Changes to default behavior of `lto=auto` (i.e. `production=yes`):
- Linux: Prefer ThinLTO for LLVM
- Web: Prefer ThinLTO
- Windows: Prefer ThinLTO for llvm-mingw

The following LLVM targets don't use LTO by default currently, which
needs to be assessed further (gains from LLVM LTO on performance need
to be weighed against the potential size increase from heavy inlining):
- Android
- iOS
- macOS
- Windows clang-cl
2025-01-09 13:03:58 +01:00
..
android Force build editor with regex module, remove checking code. 2025-01-07 19:43:23 +08:00
ios Merge pull request #101284 from akx/tyops 2025-01-08 15:53:33 +01:00
linuxbsd SCons: Make lto=auto prefer ThinLTO over full LTO for LLVM targets 2025-01-09 13:03:58 +01:00
macos Merge pull request #101266 from WhalesState/color-picking-fix 2025-01-09 00:42:22 +01:00
web SCons: Make lto=auto prefer ThinLTO over full LTO for LLVM targets 2025-01-09 13:03:58 +01:00
windows SCons: Make lto=auto prefer ThinLTO over full LTO for LLVM targets 2025-01-09 13:03:58 +01:00
register_platform_apis.h
SCsub Allow multiple platform API files 2024-10-31 16:07:01 +01:00