[Beignet] Newbie - Building beignet

Zou, Nanhai nanhai.zou at intel.com
Mon Dec 2 22:30:46 PST 2013


Still seems to be something wrong with your clang build.
Can you check your clang version is up to date?

Thanks
Zou Nanhai

From: Rashid Kaleem [mailto:rashid.kaleem at gmail.com]
Sent: Tuesday, December 03, 2013 11:25 AM
To: Zou, Nanhai
Cc: beignet at lists.freedesktop.org
Subject: Re: [Beignet] Newbie - Building beignet

Yes, it builds correctly. I can see the binaries under the build/bin directory. I can see a list of targets supported via llc -version but SPIR is not one of them.

-Rashid

On Mon, Dec 2, 2013 at 8:00 PM, Zou, Nanhai <nanhai.zou at intel.com<mailto:nanhai.zou at intel.com>> wrote:
Have  you included clang in your llvm build?

Thanks
Zou Nanhai

From: beignet-bounces+nanhai.zou=intel.com at lists.freedesktop.org<mailto:intel.com at lists.freedesktop.org> [mailto:beignet-bounces+nanhai.zou<mailto:beignet-bounces%2Bnanhai.zou>=intel.com at lists.freedesktop.org<mailto:intel.com at lists.freedesktop.org>] On Behalf Of Rashid Kaleem
Sent: Tuesday, December 03, 2013 8:53 AM
To: beignet at lists.freedesktop.org<mailto:beignet at lists.freedesktop.org>
Subject: [Beignet] Newbie - Building beignet

Apologies if this is a stupid question. I am trying to build beignet on a linux based system and was getting error during the make. I tried llvm-3.3 and llvm-3.2 release as well as the latest repo-version. I am getting two types of errors as i build beignet. First, using the default settings i get
      error: unknown argument: '-ffp-contract=off'
and if i manually remove the lines from the CMakeList file, i get
      error: unknown target triple 'spir', please use -triple or -arch
I checked my build settings and i am building all the targets for LLVM, am i missing anything?
Do i need to checkout a SPIR backend, or is it in the experimental targets (in CMakeList)?
Any pointers would be greatly appreciated, thanks.

-Rashid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20131203/12b7679b/attachment-0001.html>


More information about the Beignet mailing list