Skip to content
Snippets Groups Projects
Commit f8a2a1ec authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Add 'lto' Makefile target and CI job

parent da1ed1f4
No related branches found
No related tags found
1 merge request!401LTO
......@@ -103,6 +103,10 @@ clang-tidy:
EMPER_CPP_ARGS: "-stdlib=libc++"
EMPER_CPP_LINK_ARGS: "-stdlib=libc++"
.lto:
variables:
EMPER_B_LTO: "true"
.emper-ws-scheduling:
variables:
EMPER_DEFAULT_SCHEDULING_STRATEGY: "work_stealing"
......@@ -293,6 +297,11 @@ smoke-test-libc++:
- .fast-variant-check
- .libc++
test-lto:
extends:
- .test
- .lto
test-libc++:
extends:
- .test
......
......@@ -75,6 +75,14 @@ stats:
EMPER_STATS=true \
BUILDDIR="build-$@"
.PHONY: lto
lto:
rm -f build
$(MAKE) build \
BUILDTYPE=release \
EMPER_B_LTO=true \
BUILDDIR="build-$@"
.PHONY: fast-static-analysis
fast-static-analysis: all check-format check-license doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment