From owner-freebsd-ports@freebsd.org Tue Jul 21 01:07:34 2015 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 6AC5F9A6D12 for ; Tue, 21 Jul 2015 01:07:34 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 53B7C19CF for ; Tue, 21 Jul 2015 01:07:34 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by mailman.ysv.freebsd.org (Postfix) id 50A6F9A6D11; Tue, 21 Jul 2015 01:07:34 +0000 (UTC) Delivered-To: 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 4F4539A6D0F for ; Tue, 21 Jul 2015 01:07:34 +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 2596619CE for ; Tue, 21 Jul 2015 01:07:33 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 383D75A9F27; Tue, 21 Jul 2015 01:07:27 +0000 (UTC) Date: Tue, 21 Jul 2015 01:07:27 +0000 From: Brooks Davis To: Dennis Glatting Cc: ports@freebsd.org Subject: Re: Does OpenMP (iomp5) work for clang-devel? Message-ID: <20150721010727.GA64147@spindle.one-eyed-alien.net> References: <1437439738.57135.5.camel@pki2.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <1437439738.57135.5.camel@pki2.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 01:07:34 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 20, 2015 at 05:48:58PM -0700, Dennis Glatting wrote: > I can't seem to get this working and it appears not to emit code. I have > libiomp5 installed and I compile specifying: >=20 > clang++-devel -fopenmp=3Dlibiomp5 ... >=20 > And the compiler says: >=20 > clang: warning: argument unused during compilation: '-fopenmp=3Dlibiomp5' The most recent clang-devel port doesn't include the bits to make iomp support automatic (it came not long after the update). I'm working on a update, but the ability to build clang and llvm separately appears to have been broken quite badly so it's taking a while and the only port to install will be devel/llvm-devel. Simple programs to work if you link with -liomp5 manually. > Is there a compile-time test involved somewhere, perhaps in llvm build? Assuming I manage to include the openmp runtime in the next update, I think it will work and I plan to configure the=20 > Should /usr/local/llvm-devel/lib/ be in /etc/ld.so.conf? (That doesn't > seem to help). ldconfig should be handled correctly by the ports infrastructure. -- Brooks --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVrZtOAAoJEKzQXbSebgfAUZYH/0k5iJEdFtDDjjWibSrlJML2 6uRRJUepkzsD+EFHgKPopnaqV6DZBfDFluSGy/eJRs5KBrMuijR0DnKxkxOTbdXh cnyzIlvFVNmt8RL4MqrvK4wxnLo1F5Z9PHVpU7tAA6wQ1t/XN/+7WYvECCrVBHdt moq1bfpYM169HhI/Xu0vtY11IW8fU8YYo/4gu62IQ/LpSw0RbZcAHykZ9KARUVRE D10FmM9wCRgx95I3HYOTJuiVQZAlkoSdRtIy5Pu+ag9rhrdM7NAR+rDHb81sIZ3p 9zdP6iPiSOr9OgOx84hUjjS1cvAMABoSqvNP9IwLf0AL4PPcVnw5sD3zKJ0GLdI= =7Sh1 -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--