-
Notifications
You must be signed in to change notification settings - Fork 251
unable to build for centos7 #212
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
Comments
Usually by default package config does not look into /usr/local. Have you tried to specify: |
Bingo! thank you - I was attempting to solve it with CMAKE_PREFIX_PATH but that didn't work. Might I suggest adding this to the build instructions? |
Now there's a problem during the make:
note that it's overriding the |
after hacking all the makefiles to fix the LD_LIBRARY_PATH issue, a number of tests fail:
|
hacked the failing tests so that the build process at least runs to completion, and tried to install the rpms to see what happened.
got around these issues with But finally, after installation
don't know where to go from here. Any suggestions are appreciated. |
Can you provide file log.txt created by below command:
What package complains about conflicts with /usr/local directory?
|
I am using centos 7.6.1810. from uname -a : 3.10.0-957.10.1.el7.x86_64 the problematic rpms with /usr/local are: see attached for the strace logs. |
Here is issue:
You need to add your user to video group as described here For gmmlib issue I've created pull request. |
Thanks for noticing that! I added myself to the video group, logged in again, and now no longer see the "permission denied" in strace of clinfo, however I still don't see the intel OpenCL device, only the nvidia one. See attached for the log files again: |
It looks like i915 driver was not loaded/initialized correctly.
|
The machine is headless, so X wasn't started. I loaded the i915 modules by hand with "modprobe i915". however clinfo still shows no intel devices. cat /proc/cmdline:
dmesg | grep -E 'i195|drm'
lsmod:
|
sorry - tried to include the lspci output as an uploaded file, but i get the error "something went really wrong and we can't process that file", so including it inline.
|
Looks like there is no Intel CPU's "VGA" device from What CPU do you have? (not all Xeon CPUs have processor graphics) If CPU should have it, then please check BIOS settings that "Integrated GPU" is not disabled (and GPU is not "Matrox"). BTW, you can put large snippets into
|
argh - I was operating under the assumption that all recent Intel chips had embedded GPUs in them. It's a dual Xeon E5-2630 v4. The data sheet at Intel suggests there is no GPU (they don't say there isn't, but they don't say there is). here are the details from
sorry to have wasted your time.... |
Closing this as seems like it is well understood. |
On centos7 for git tag 19.35.13977, I get an error during the cmake step:
I am using cmake 3.11.0
I have successfully built and installed igc, llvm_patches, llvm_project and gmmlib (git tag intel-gmmlib-19.2.3)
For gmmlib, I built the rpms, and installed them (the .so ends up in /usr/local/lib64/, includes in /usr/local/include/igdgmm, and I see a package file at /usr/local/lib64/pkgconfig/igdgmm.pc).
my work directory looks like:
am I missing something?
attached is the CMakeCache.txt
CMakeCache.txt
thanks, Charles.
The text was updated successfully, but these errors were encountered: