Skip to content
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

cannot compiler it from source - llvm error #1

Open
saifthe1 opened this issue Mar 20, 2014 · 5 comments
Open

cannot compiler it from source - llvm error #1

saifthe1 opened this issue Mar 20, 2014 · 5 comments

Comments

@saifthe1
Copy link

Hi,
I was attempting to compile the code from source, however I run into cmake configuration errors as it asks to supply LLVM_config path "-DLLVM_INSTALL_DIR=/path/to/llvm-config/ in cmake command", please could you help me out it. I am trying to compile it on fedora 19 with gcc version 4.6.3
cheers!!!

@ignatenkobrain
Copy link
Owner

Hi,

Why u compiling beignet? I'm maintainer of this package in Fedora and you can install beignet using yum.

@saifthe1
Copy link
Author

Hi,
Thanks for your reply, that's great news, please could you direct me to yum directory. Moreover I was trying to build from source coz I do not wanted to disturb my existing OpenCL install files from Nvidia.

@ignatenkobrain
Copy link
Owner

Hi,
Thanks for your reply, that's great news, please could you direct me to
yum directory. Moreover I was trying to build from source coz I do not
wanted to disturb my existing OpenCL install files from Nvidia.

$ yum install fedpkg
$ fedpkg co beignet -a
$ fedpkg srpm

Compile src.rpm with mock or rpmbuild. But I'm not sure is it will work.
There uses ocl-icd, pocl and some things from opencl stack. I'm not sure is
it available for F19.

Because opencl is feature for F21 I'm not taking care for F19.

@saifthe1
Copy link
Author

Thanks for your help will try to make it work, appreciate your reply.

@fivef
Copy link

fivef commented Oct 31, 2014

To build it from source you can download llvm http://llvm.org/releases/3.5.0/clang+llvm-3.5.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz and then pass the bin folder as DLLVM_INSTALL_DIR.

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

3 participants