+-----------------------------------------------------------------------
| Running llvm-21 on OpenBSD
+-----------------------------------------------------------------------

To use different compiler versions for, e.g. release(8), point mk.conf(5)
at this port:

	AR=/usr/local/bin/llvm-ar-21
	AS=/usr/local/bin/llvm-as-21
	CC=/usr/local/bin/clang-21
	CXX=/usr/local/bin/clang++-21
	CPP=/usr/local/bin/clang-cpp-21
	LD=/usr/local/bin/ld.lld-21


For more information about using scan-build(1) for the static analyser,
look at:
	http://clang-analyzer.llvm.org/scan-build.html

For instance, the scanner on the kernel build can be launched with:

	cd /usr/src/sys/arch/`uname -m`/conf && config GENERIC.MP
	cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
	make clean && scan-build make

This will generate HTML reports in /tmp/scan-build-(date).
