Commit Graph

7 Commits

Author SHA1 Message Date
David Heidelberg
eb52a149a0
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-02-09 00:01:12 +01:00
paradust7
87472150bc
Add benchmarks for json string serialize/deserialize (#12258)
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-06 21:17:16 +01:00
ShadowNinja
24a0f55c9c Use CMake's -B, --build, and --install options 2022-04-08 14:55:21 +01:00
ShadowNinja
35bfffb556 Auto-detect level of parallelism 2022-04-08 14:55:21 +01:00
ShadowNinja
ea2fba877a Use build directory for builds 2022-04-08 14:55:21 +01:00
sfan5
61d93988d8
ci: Update Github Actions workflows (#9774) 2020-05-02 12:52:51 +02:00
Loïc Blot
27a485a472
Replace travis with github actions (#9641)
* Move outside of travis to Github actions

This will permit to have better integrated CI workflow than the previous
travis one.
2020-04-20 20:18:40 +02:00