minetest/util/ci
David Heidelberg 35a83c3514 Enable IPO/LTO by default except for debug builds (#14198)
Test case:

```
$ cmake . -DRUN_IN_PLACE=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SERVER=TRUE -DENABLE_TOUCH=FALSE

         minetest minetestserver
W/o LTO:      13M           7.3M
W/  LTO:      11M           5.9M
difference:   15%            19%
```

Also fixes various compiler warnings resulting from compilation using LTO.

---------

Signed-off-by: David Heidelberg <david@ixit.cz>
2024-05-06 20:58:14 +02:00
..
build.sh Enable IPO/LTO by default except for debug builds (#14198) 2024-05-06 20:58:14 +02:00
build_prometheus_cpp.sh Auto-detect level of parallelism 2022-04-08 14:55:21 +01:00
clang-format-whitelist.txt Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519) 2021-08-08 18:59:45 +02:00
clang-format.sh Disable clang-format, clean up scripts 2021-03-01 12:12:52 +01:00
clang-tidy.sh Use CMake's -B, --build, and --install options 2022-04-08 14:55:21 +01:00
common.sh Speed up macOS CI 2023-10-27 20:22:40 +02:00
docker.sh Cut back on Gitlab-ci & misc pipeline updates 2022-08-15 10:47:47 +02:00
run-clang-tidy.py Replace travis with github actions (#9641) 2020-04-20 20:18:40 +02:00