From owner-freebsd-ports@freebsd.org Mon Nov 7 23:44:40 2016 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 6F9E4C35C11 for ; Mon, 7 Nov 2016 23:44:40 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFE6365 for ; Mon, 7 Nov 2016 23:44:39 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id A8A635A9F14; Mon, 7 Nov 2016 23:44:38 +0000 (UTC) Date: Mon, 7 Nov 2016 23:44:38 +0000 From: Brooks Davis To: Matthieu Volat Cc: freebsd-ports@freebsd.org Subject: Re: clang support for compiler:openmp Message-ID: <20161107234438.GC34216@spindle.one-eyed-alien.net> References: <20161106073622.GA17279@athena.sysfault.org> <20161107165936.GB34216@spindle.one-eyed-alien.net> <20161107221259.48b198b6@freedom.alkumuna.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z4+8/lEcDcG5Ke9S" Content-Disposition: inline In-Reply-To: <20161107221259.48b198b6@freedom.alkumuna.eu> User-Agent: Mutt/1.7.0 (2016-08-17) 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: Mon, 07 Nov 2016 23:44:40 -0000 --z4+8/lEcDcG5Ke9S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 07, 2016 at 10:12:59PM +0100, Matthieu Volat wrote: > On Mon, 7 Nov 2016 16:59:36 +0000 > Brooks Davis wrote: >=20 > > On Sun, Nov 06, 2016 at 08:36:22AM +0100, Marcus von Appen wrote: > > > Hi, > > >=20 > > > is there a specific reason, why we do not (yet) have openmp support f= or > > > clang via compiler:openmp? With devel/openmp in the ports tree, I'd > > > expect compiler:openmp to set > > >=20 > > > LIB_DEPENDS+=3D libomp.so:devel/openmp > > >=20 > > > for compiler=3Dclang. CFLAGS and LIBS/LDFLAGS might be tweaked on a > > > per-port level. > >=20 > > I talked with Baptiste about this in Belgrade. I think the best way > > forward would be to remove the OPENMP option from the llvm ports and > > alter the clang-patch-fopenmp.diff patch to use the .so from > > devel/openmp. > >=20 > > I have a major deadline at the end of the week so it definitely won't > > happen this week. > >=20 >=20 > Would not that make that every clang use the llvm 3.8 libomp snapshot? It= might be useful to use later versions in some cases, but anyway, that woul= d be great! It would mean sticking to a single version, but I'd be pretty surprised if mixing them ended well so that's probably for the best. > It would also be awesome if base clang would be able to find omp.h and li= bomp more "out of the box" once the package is installed... libomp is pretty easy once I realized I needed to hardcode the path to the .so, I'll have to see what's involved for omp.h. -- Brooks --z4+8/lEcDcG5Ke9S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJYIRHmAAoJEKzQXbSebgfAcEQH/3UA2GIrzBTxI8HElFeLGTKL xqQtWwp5uWFCv2GqAuohaxQkxkbJyz08Nqpv/+xmm02guSaZCKzD/rLhvuwKPisB CJIWYj6f12m5ycpir672aQb0YiV+a7RFlBOJKWXS1TEUsMjs0OAU0zul3QdqLi+M zx8YVfA0BLUCVyv5qpomCHJV4zGhhhmlMZOPiOffltolaDbrAPqUPC9/wM91xNUy c5l/PsPwD8qtl8Q6n+6qvnq4NOHTQTo+GMVv2+TficF1ffy7BubtqIs7chCv93qG E4FTQ2xdeO5BX8IjqU0T4l5262Skt91gdQHvYBuAM7woDBNcPIIlnDf+1qcVcoo= =Bap/ -----END PGP SIGNATURE----- --z4+8/lEcDcG5Ke9S--