summaryrefslogtreecommitdiffstats
path: root/build-aux/clang-analyzer.sh
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:29:20 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:29:20 +0200
commitb54b8f5b25403cf3b9623804b2491ec78a8b913e (patch)
tree8100b69a2fd1e37d1eb400a33c92ec3c984f208b /build-aux/clang-analyzer.sh
parent0bbc18869720ad042b668742ca48e5cb8a37491a (diff)
downloadblogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.tar.gz
blogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.tar.bz2
blogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.zip
build: replace autotools with cmake
this patch removes all the autoconf/automake/libtool build infrastructure and replaces it with cmake. notable default behavior changes: - man pages are not pre-built, and are not built by default, must be enabled with `-DBUILD_MANPAGES=ON`. removed features: - srpm packaging, to be reintroduced at some point. - deb packaging, now handled externally via rafaelmartins/deb.rgm.io more stuff must be missing, please report bugs!
Diffstat (limited to 'build-aux/clang-analyzer.sh')
-rwxr-xr-xbuild-aux/clang-analyzer.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/build-aux/clang-analyzer.sh b/build-aux/clang-analyzer.sh
deleted file mode 100755
index e7820c4..0000000
--- a/build-aux/clang-analyzer.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-set -ex
-
-P="${PN}-clang-analyzer-${PV}"
-
-set +e
-scan-build \
- --use-cc="${CC:-clang}" \
- -o reports \
- make
-RV=$?
-set -e
-
-NUM_REPORTS=$(ls -1 reports | wc -l)
-[[ ${NUM_REPORTS} -eq 0 ]] && exit ${RV}
-[[ ${NUM_REPORTS} -eq 1 ]]
-
-REPORTS="reports/$(ls -1 reports)"
-if [[ -d "${REPORTS}" ]]; then
- mv "${REPORTS}" clang-analyzer
- tar \
- -cvJf "${P}.tar.xz" \
- clang-analyzer
- RV=1
-fi
-
-exit ${RV}