[Bug 283013] [exp-run] update LLVM_DEFAULT to 18

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Jan 2025 17:52:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283013

--- Comment #12 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #11)
Note, for math/heyoka I had to apply a fix for llvm18 and higher, which use 1
for their minor version numbers, while llvm17 and earlier use 0.

CMake's find_package() needs the minor version number set correctly, otherwise
it will not be able to find the LLVM package. This could possibly also apply to
other ports that use LLVM via other mechanisms.

Maybe at some point there should be a structural solution, i.e. in
Mk/Uses/cmake.mk and Mk/Uses/llvm.mk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.