From owner-freebsd-ports@freebsd.org Wed Sep 13 17:05:21 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA32DE06320 for ; Wed, 13 Sep 2017 17:05:21 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [150.101.137.136]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDC46EBA3; Wed, 13 Sep 2017 17:05:20 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from 124-169-212-207.dyn.iinet.net.au (HELO leader.local) ([124.169.212.207]) by ipmail01.adl6.internode.on.net with ESMTP; 14 Sep 2017 02:30:10 +0930 Subject: Re: Issues between openmp and llvm To: Jan Beich Cc: FreeBSD-ports References: From: Shane Ambler Message-ID: Date: Thu, 14 Sep 2017 02:30:09 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 17:05:22 -0000 On 13/09/2017 20:51, Jan Beich wrote: > Shane Ambler 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