Re: git: 75ac7903573c - main - graphics/darktable: Use GCC as the compiler instead of LLVM

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 03 Feb 2023 22:48:30 UTC
Jan Beich <jbeich@FreeBSD.org> writes:

> Jean-Sébastien Pédron <dumbbell@FreeBSD.org> writes:
>
>> On 28/01/2023 18:10, Dima Panov wrote:
>>
>>> BTW, USES+= llvm:14,build can be enchanted by USES+=
>>> llvm:min=14,build to allow llvm15 too for opencl part.
>>
>> I tried that, but there was another error. I'm wondering if something
>> is missing from our LLVM 15. For instance, I see that
>> intel-compute-runtime ports (the underlying OpenCL implementation for
>> Intel GPUs) is available for LLVM up-to 14, not 15.
>
> intel-compute-runtime for LLVM15 requires updating intel-graphics-compiler
> but doing so breaks intel-compute-runtime at runtime likely because the
> version is too old. However, updating intel-compute-runtime was postponed
> because it requires patching out more features not supported on FreeBSD.

See also https://cgit.freebsd.org/ports/commit/?id=d8990eff958b
As libclc is unflavored it only supports llvm15.