From owner-freebsd-ports@freebsd.org Mon Nov 7 22:00:12 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 85CB3C3520C for ; Mon, 7 Nov 2016 22:00:12 +0000 (UTC) (envelope-from rizzo@i805.com.br) Received: from server.i805.com.br (mailhost.i805.com.br [50.7.9.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fbsd10.amd64", Issuer "fbsd10.amd64" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D92DB90 for ; Mon, 7 Nov 2016 22:00:11 +0000 (UTC) (envelope-from rizzo@i805.com.br) Received: from www.i805.com.br (localhost [127.0.0.1]) by server.i805.com.br (8.15.2/8.15.2) with ESMTP id uA7LxQoY011290; Mon, 7 Nov 2016 23:59:46 +0200 (EET) (envelope-from rizzo@i805.com.br) From: "Nilton Jose Rizzo" To: Matthieu Volat Cc: freebsd-ports@freebsd.org Subject: Re: clang support for compiler:openmp Date: Mon, 7 Nov 2016 18:59:26 -0300 Message-Id: <20161107215752.M68809@i805.com.br> In-Reply-To: <20161107221259.48b198b6@freedom.alkumuna.eu> References: <20161106073622.GA17279@athena.sysfault.org> <20161107165936.GB34216@spindle.one-eyed-alien.net> <20161107221259.48b198b6@freedom.alkumuna.eu> X-Mailer: OpenWebMail 3.00_beta4 20140806 79bb7cc X-OriginatingIP: 146.164.32.186 (rizzo) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on server.i805.com.br 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 22:00:12 -0000 Em Mon, 7 Nov 2016 22:12:59 +0100, Matthieu Volat escreveu > On Mon, 7 Nov 2016 16:59:36 +0000 > Brooks Davis wrote: > > > On Sun, Nov 06, 2016 at 08:36:22AM +0100, Marcus von Appen wrote: > > > Hi, > > > > > > is there a specific reason, why we do not (yet) have openmp support for > > > clang via compiler:openmp? With devel/openmp in the ports tree, I'd > > > expect compiler:openmp to set > > > > > > LIB_DEPENDS+= libomp.so:devel/openmp > > > > > > for compiler=clang. CFLAGS and LIBS/LDFLAGS might be tweaked on a > > > per-port level. > > > > 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. > > > > I have a major deadline at the end of the week so it definitely won't > > happen this week. > > > > 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 would be great! > > It would also be awesome if base clang would be able to find omp.h > and libomp more "out of the box" once the package is installed... > > -- Mazhe I have one question about a llvm and clang ports. it's possible port the llvm 3.9 and clang 4.0.0 with cuda support? --- /************************************************* **Nilton José Rizzo UFRRJ **http://www.rizzo.eng.br http://www.ufrrj.br **http://lattes.cnpq.br/0079460703536198 **************************************************/