From owner-freebsd-ports@freebsd.org Tue Jul 21 00:49:10 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 D9BDB9A6A03 for ; Tue, 21 Jul 2015 00:49:10 +0000 (UTC) (envelope-from freebsd@pki2.com) 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 BB24F1140 for ; Tue, 21 Jul 2015 00:49:10 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: by mailman.ysv.freebsd.org (Postfix) id B83009A6A02; Tue, 21 Jul 2015 00:49:10 +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 B6CBA9A6A01 for ; Tue, 21 Jul 2015 00:49:10 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) (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 794A4113F for ; Tue, 21 Jul 2015 00:49:10 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from localhost (localhost [IPv6:::1]) by btw.pki2.com (8.14.9/8.14.9) with ESMTP id t6L0mwPx043742 for ; Mon, 20 Jul 2015 17:48:58 -0700 (PDT) (envelope-from freebsd@pki2.com) DMARC-Filter: OpenDMARC Filter v1.3.1 btw.pki2.com t6L0mwPx043742 Authentication-Results: btw.pki2.com; dmarc=none header.from=pki2.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pki2.com; s=pki2; t=1437439738; bh=WF6UNcm52v8M1a11bbG0NZLRjliCScXpGEUMPPdVU9Y=; h=Subject:From:To:Date; z=Subject:=20Does=20OpenMP=20(iomp5)=20work=20for=20clang-devel?|Fr om:=20Dennis=20Glatting=20|To:=20ports@freebsd.o rg|Date:=20Mon,=2020=20Jul=202015=2017:48:58=20-0700; b=g66bp0/OddOilFlDtVSFlc/ELywAkUNBpPcmr9OEYdrnLuMiH+nTy7Ht/FQIhRzNr EbGGFKYKBUYMONsp3jaaRM63GvaiYUpOMsEFHQDY7HoPOcrFUWrJlktFIEWb7zuwBp 6eA960GqTHL94Zxx6M5EtsgEfAb8KPgFEj5/6bQLiOhXeEn/q/oBLXPkOqFQTdqHua vBAC7IkDom80Fz+n/pcfD0tDv2t+Th4KVsI7NLKYuAK/bTMRxL1NyHVrtkDwCPgmvP Hp/sCA5VDMCwQckIvHZ8aMmgasMkOxZt69NXdFvObiyMES475DwK/uOwLjXM8cQRPc gnbXr82HgCaeg== Message-ID: <1437439738.57135.5.camel@pki2.com> Subject: Does OpenMP (iomp5) work for clang-devel? From: Dennis Glatting To: ports@freebsd.org Date: Mon, 20 Jul 2015 17:48:58 -0700 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SoftwareMunitions-MailScanner-Information: Dennis Glatting X-SoftwareMunitions-MailScanner-ID: t6L0mwPx043742 X-SoftwareMunitions-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.com 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 00:49:10 -0000 I can't seem to get this working and it appears not to emit code. I have libiomp5 installed and I compile specifying: clang++-devel -fopenmp=libiomp5 ... And the compiler says: clang: warning: argument unused during compilation: '-fopenmp=libiomp5' Is there a compile-time test involved somewhere, perhaps in llvm build? Should /usr/local/llvm-devel/lib/ be in /etc/ld.so.conf? (That doesn't seem to help).