scx/meson-scripts
Breno Leitao 1745daea0f meson: support clang built from git
get_clang_ver fails if clang is built from scratch.

Teach get_clang_ver to recognize the clang version even for clang built
from git.

These are the tests I ran:

	# /usr/local/bin/clang --version
	clang version 18.0.0git (https://github.com/llvm/llvm-project.git c458f928fad7bbcf08ab1da9949eb2969fc9f89c)
	# meson-scripts/get_clang_ver /usr/local/bin/clang
	18.0.0

	# /usr/bin/clang --version
	clang version 17.0.6 (CentOS 17.0.6-5.el9)
	# meson-scripts/get_clang_ver /usr/bin/clang
	17.0.6

Signed-off-by: Breno Leitao <leitao@debian.org>
2024-03-14 03:39:09 -07:00
..
bpftool_build_skel scx: Initial repo setup and import of example schedulers from kernel tree 2023-11-27 14:47:04 -10:00
bpftool_dummy.c Fetch and build bpftool by default 2024-03-11 10:00:01 -07:00
build_bpftool Fetch and build bpftool by default 2024-03-11 10:00:01 -07:00
build_libbpf Remove libbpf as a submodule 2024-03-07 18:31:09 -08:00
cargo_fetch Support offline compilation 2023-12-08 08:45:44 -10:00
cc_cflags_probe.c Add libbpf as a submodule 2024-03-01 12:39:35 -08:00
fetch_bpftool Fetch and build bpftool by default 2024-03-11 10:00:01 -07:00
fetch_libbpf Remove libbpf as a submodule 2024-03-07 18:31:09 -08:00
get_clang_ver meson: support clang built from git 2024-03-14 03:39:09 -07:00
get_sys_incls scx: Initial repo setup and import of example schedulers from kernel tree 2023-11-27 14:47:04 -10:00
install_rust_user_scheds Restructure scheds folder names 2023-12-17 13:14:31 -08:00
test_sched ci: eclude scx_qmap and scx_userland from testing 2024-02-24 10:24:06 +01:00