Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2022 01:33:41 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Ganael Laplanche <ganael.laplanche@martymac.org>
Cc:        Colin Percival <cperciva@tarsnap.com>, Ganael LAPLANCHE <martymac@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: ce378c38ec1a - main - emulators/dolphin-emu: Update to 5.0.16795
Message-ID:  <fsj2-9ciy-wny@FreeBSD.org>
In-Reply-To: <26993dc6-f4ef-3332-9fa3-25ad108fa24d@martymac.org> (Ganael Laplanche's message of "Fri, 15 Jul 2022 19:38:35 %2B0200")
References:  <202207151008.26FA8m74011020@gitrepo.freebsd.org> <0100018202d32ffe-0ea4f802-969e-40fd-8606-9b11b1f3155a-000000@email.amazonses.com> <26993dc6-f4ef-3332-9fa3-25ad108fa24d@martymac.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ganael Laplanche <ganael.laplanche@martymac.org> writes:

> Le 15/07/2022 =C3=A0 19:06, Colin Percival a =C3=A9crit=C2=A0:
>
> Hello Colin,
>
> Thanks for your feedback.
>
>> Obviously the ideal solution is to update the portsnap builder... but th=
is
>> isn't a problem other ports have tripped over, so I'm wondering if
>> this port is creating an unnecessary dependency when it should just
>> be using the
>> compiler from the base system.
>
> AFAIK, libLLVM-xx.so is not available in the base system.

https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled

> Also, when Dolphin is linked to a port-installed LLVM, poudriere is
> complaining about a missing dependency:
>
> "Error: /usr/local/bin/dolphin-emu is linked to
> /usr/local/llvm13/lib/libLLVM-13.so from devel/llvm13 but it is not
> declared as a dependency"
>
> See full build logs here:
>
> http://box.martymac.org/FreeBSD-Packages/data/FBSD123i386-default/2022-07=
-13_07h52m45s/logs/dolphin-emu-5.0.16795.log
>
> That's why I have explicitly added the dependency here.

Why devel/llvm* is limited to base Clang? libLLVM API is not exposed in Cla=
ng.
For example, graphics/mesa-* use devel/llvm* regardless of base compiler.

>
>> Can anyone with knowledge of the compiler options in ports/Mk comment?
>
> Yes, if anyone has a workaround for that... :)

Pin or derive from LLVM_DEFAULT e.g.,

$ git grep -l libLLVM.\*:devel/llvm
audio/faust/Makefile
audio/faustlive/Makefile
devel/ispc/Makefile
graphics/mesa-devel/Makefile
graphics/seexpr/Makefile
lang/crystal/Makefile
misc/glow/Makefile



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fsj2-9ciy-wny>