Created attachment 119930 [details] CMakeCache.txt Having temporally fixed https://bugs.freedesktop.org/show_bug.cgi?id=92882 with this script grep -R "\-I/usr/lib/llvm-3.7/include" ./ |awk -F \: '{print $1}'|xargs sed -i -e 's:-I/usr/lib/llvm-3.7/include:-I/usr/lib/llvm-3.7/include -I/usr/include/llvm-3.7 -I/usr/include/llvm-c-3.7:g' Or, the little different grep -R "\-I/usr/lib/llvm-3.7/include" ./ |awk -F \: '{print $1}'|xargs sed -i -e 's:-I/usr/lib/llvm-3.7/include:-I/usr/include/llvm-3.7 -I/usr/include/llvm-c-3.7 -I/usr/lib/llvm-3.7/include:g' Got this error $ nice make [ 8%] Built target beignet_bitcode [ 8%] Building CXX object backend/src/CMakeFiles/gbe.dir/llvm/llvm_profiling.cpp.o /home/inferno/.dev/OpenCL/beignet/backend/src/llvm/llvm_profiling.cpp: In member function 'virtual bool gbe::ProfilingInserter::runOnFunction(llvm::Function&)': /home/inferno/.dev/OpenCL/beignet/backend/src/llvm/llvm_profiling.cpp:180:16: error: 'class llvm::IRBuilder<>' has no member named 'CreateCall2' builder->CreateCall2(cast<llvm::Function>(module->getOrInsertFunction( ^ /home/inferno/.dev/OpenCL/beignet/backend/src/llvm/llvm_profiling.cpp:193:14: error: 'class llvm::IRBuilder<>' has no member named 'CreateCall2' builder->CreateCall2(cast<llvm::Function>(module->getOrInsertFunction( ^ backend/src/CMakeFiles/gbe.dir/build.make:836: recipe for target 'backend/src/CMakeFiles/gbe.dir/llvm/llvm_profiling.cpp.o' failed make[2]: *** [backend/src/CMakeFiles/gbe.dir/llvm/llvm_profiling.cpp.o] Error 1 CMakeFiles/Makefile2:111: recipe for target 'backend/src/CMakeFiles/gbe.dir/all' failed make[1]: *** [backend/src/CMakeFiles/gbe.dir/all] Error 2 Makefile:136: recipe for target 'all' failed make: *** [all] Error 2
Seems fixed with e5aceb38782e076d61cd4fed4f363aace614dc47
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.