Issues between openmp and llvm

Shane Ambler FreeBSD at ShaneWare.Biz
Wed Sep 13 17:05:22 UTC 2017


On 13/09/2017 20:51, Jan Beich wrote:
> Shane Ambler <FreeBSD at ShaneWare.Biz> writes:
> 
>>> ... libomp.so - found (/usr/local/llvm-devel/lib/libomp.so)
>>
>> The issue is that the build then fails because cc/ld is looking for
>> openmp files in /usr/local where they should be installed.
> 
> Try using SOVERSION to ignore devel/llvm* copy e.g.,
> 
>    LIB_DEPENDS += libomp.so.0:devel/openmp
> 

Yes that works, now. As other libs from llvm are versioned what are the
chances that it will always to work?

-- 
FreeBSD - the place to B...Software Developing

Shane Ambler



More information about the freebsd-ports mailing list