+-----------------------------------------------------------------------
| Running llvm-20 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-20
	AS=/usr/local/bin/llvm-as-20
	CC=/usr/local/bin/clang-20
	CXX=/usr/local/bin/clang++-20
	CPP=/usr/local/bin/clang-cpp-20
	LD=/usr/local/bin/ld.lld-20


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).
