Skip to content

Intel Graphics Compiler Failed Build #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gija92 opened this issue Jul 26, 2018 · 10 comments
Closed

Intel Graphics Compiler Failed Build #19

gija92 opened this issue Jul 26, 2018 · 10 comments

Comments

@gija92
Copy link

gija92 commented Jul 26, 2018

Hello,

I want to use the Intel Compute Runtime for OpenCL and now installing the dependencies gmmlib and the igc. GmmLib was successful but igc return errors while make [-j'nproc'], that llvm::SmallSet and llvm::AttributeSet are not declared but acutally can be found in the "workspace"-directory.

image

I'm following the constructions but don't know how to solve the problem.

For more Details:
I am using an Minnowboard Max with Intel Atom E3825 CPU and already installed LLVM/Clang 4.0. before I build the IGC

Hope some of you guys can help me

@astojano
Copy link
Contributor

Hi,

Can you give more details of your system (OS, gcc version etc.)?

@gija92
Copy link
Author

gija92 commented Jul 31, 2018

@astojano sure ^^
OS: Linux Ubuntu 16.04 (created with yocto project)
GCC: version 6.4.0
LLVM/Clang: 4.0
CPU: Intel Atom E3825

Background: I want to set OpenCL driver for the Intel CPU and GPU for application which is based on OpenCL. Therfore the aim is to type command clinfo and see the CPU and GPU as OpenCL devices

Thanks

@astojano
Copy link
Contributor

We'll try to reproduce and fix the problem, but for now we don't have your hardware so we focus on desktop PC.

Could you try to use previous version of GCC? We currently use GCC 5.4.0 on Ubuntu 16.04 in our CI system.

@gija92
Copy link
Author

gija92 commented Jul 31, 2018

@astojano
alright I will give it a try.
Thanks :)

@iwwu
Copy link
Contributor

iwwu commented Aug 2, 2018

Does older version of GCC work for you?

I downloaded latest code, but couldn't reproduce the issue on my system with Ubuntu 18.04 LTS, gcc 7.3.0. Do you see SmallSet code in llvm_source?

@gija92
Copy link
Author

gija92 commented Aug 4, 2018

@iwwu
I'm trying to re-install GCC 6.4..0 but failed so I now build a new Image with yocto and try it again.
I'm using a Yocto-Image for the Minnowboard with GCC 6.4.0.

Just to avoid misunderstandings. Am I right that I have to follow the steps directly on the minnowboard?
Or can I build the "workspace" in Ubuntu 16.04 (virtualbox). and create a binary which I can afterwards run on the board?

@astojano
Copy link
Contributor

astojano commented Aug 6, 2018

Give a try to older version of GCC like 5.4.0.

If you build a binary in appropriate architecture on virtual machine the binary should works fine on board.

@gija92
Copy link
Author

gija92 commented Aug 6, 2018

@astojano
Thanks I will try it. :)

@paigeale
Copy link
Contributor

@gija92 Did this suggestion work. Can this issue be closed?

@gija92
Copy link
Author

gija92 commented Aug 15, 2018

No unfortunately not. I installed a new ubuntu version instead of using a yocto image.

@gija92 gija92 closed this as completed Aug 15, 2018
VPG-SWE-Github pushed a commit that referenced this issue Nov 2, 2020
VPG-SWE-Github pushed a commit that referenced this issue Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants