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

Merge branch 'fix-make-check' into 'master'

[Make] use tidy make target instead of the meson generated clang-tidy target

See merge request i4/manycore/emper!247
parents 6ff86ca1 a1c9609d
Branches
Tags
No related merge requests found
...@@ -34,21 +34,11 @@ debug: ...@@ -34,21 +34,11 @@ debug:
rm -f build rm -f build
$(MAKE) build BUILDTYPE=$@ $(MAKE) build BUILDTYPE=$@
# Meson >= 0.52 will automatically generate a clang-tidy target if a
# .clang-tidy file is found.
# Source version check: https://stackoverflow.com/a/3732456/194894
ifeq ($(shell [ $(MESON_MINOR_VERSION) -ge 52 ] && echo true), true)
STATIC_ANALYSIS_NINJA_TARGETS += clang-tidy
else
$(warning old mesion version $(MESON_VERSION) detected, meson >= 0.52 required for clang-tidy)
endif
.PHONY: fast-static-analysis .PHONY: fast-static-analysis
fast-static-analysis: all check-format check-license doc fast-static-analysis: all check-format check-license doc
.PHONY: static-analysis .PHONY: static-analysis
static-analysis: fast-static-analysis iwyu static-analysis: fast-static-analysis iwyu tidy
$(NINJA) -C build $(STATIC_ANALYSIS_NINJA_TARGETS)
.PHONY: smoke-test-suite .PHONY: smoke-test-suite
smoke-test-suite: all smoke-test-suite: all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment