freakazoid332 has quit [Remote host closed the connection]
frkazoid333 has joined #haiku-3rdparty
yann64[m] has joined #haiku-3rdparty
<yann64[m]>
Hi, how can I require having llvm version >= 17 in a recipe?
<yann64[m]>
I have : llvm$SecondaryArchSuffix >= 17 in my REQUIRES section
<yann64[m]>
Yet when testing the package, it does not recognise that llvm20 is already installed
<Hanicef[m]>
is it for libllvm or clang?
<Begasus[m]>
devel:libllvm_17 ?
<Begasus[m]>
if you want llvm20 maybe cmd:clang(d) >= 20
<Hanicef[m]>
i think find_package(LLVM 17...99 CONFIG) will do it
<Begasus[m]>
depends if you want to use it in a recipe, then no find_package should be needed, note ... some of the LLVM packages (mainly clang) conflict, so you can only have one installed
<Begasus[m]>
been switching locale recipes to use LLVM for a bit over a week here
<Begasus[m]>
llvm20* :)
<yann64[m]>
I am making a recipe for the Odin language, it needs llvm both for compiling the Odin binary, and once installed as a backend (as Odin is like a transpiler)
<yann64[m]>
<Begasus[m]> "k, recipe with some changes is..." <- indeed, I am doing this in steps, will investigate the remaining libs tonight and later this week