Merge topic 'patch-mesa-for-swr-cxx11'
d26a2d62 mesa: Roll back swr c++14 requirement Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !339
-
Hello,
There are still problems when I try to compile I get this error.
Thanks,
Joe Hennessey
===== Start of Error ======
In file included from ./gallivm/lp_bld_const.h:41:0, from draw/draw_llvm_sample.c:35: ./gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory #include <llvm-c/Core.h>
^ compilation terminated. gmake[7]: *** [draw/draw_llvm_sample.lo] Error 1 gmake[7]: *** Waiting for unfinished jobs.... In file included from ./gallivm/lp_bld_sample.h:41:0, from draw/draw_llvm.h:36, from draw/draw_llvm.c:28: ./gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory #include <llvm-c/Core.h>
^ compilation terminated. gmake[7]: *** [draw/draw_llvm.lo] Error 1 In file included from ./gallivm/lp_bld_sample.h:41:0, from draw/draw_llvm.h:36, from draw/draw_vs_llvm.c:36: ./gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory #include <llvm-c/Core.h>
^ compilation terminated. In file included from ./gallivm/lp_bld_sample.h:41:0, from ./draw/draw_llvm.h:36, from draw/draw_pt_fetch_shade_pipeline_llvm.c:38: ./gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory #include <llvm-c/Core.h>
^ compilation terminated. gmake[7]: *** [draw/draw_vs_llvm.lo] Error 1 gmake[7]: *** [draw/draw_pt_fetch_shade_pipeline_llvm.lo] Error 1 gmake[6]: *** [all-recursive] Error 1 gmake[5]: *** [all-recursive] Error 1 gmake[4]: *** [all] Error 2 gmake[3]: *** [all-recursive] Error 1 CMake Error at /p/home/joeh/PV/Build_5.4.0_mesa/superbuild/sb-mesa-build.cmake:43 (message): Failed with exit code 2make[2]: *** [superbuild/mesa/stamp/mesa-build] Error 1 make[1]: *** [superbuild/CMakeFiles/mesa.dir/all] Error 2 make: *** [all] Error 2
-
Chuck,
Here are my build scripts for Excalibur and ParaView 5.4.0 (attached) both mesa and osmesa version, bth of which are now failing with the same errors. I have reported
I am using gcc 4.9.3 to compile them
And I have manually applied Utkarsh's Offline build fixes merge request #333 as I need it for machines that are not connected to the internet.
Thanks,
Joe
-
@joseph.g.hennessey2.ctr Ok, I was able to reproduce the issue on excalibur. It seems there was a change to the configure script that uses adds a "-E" flag to a sed command. The "-E" flag is undocumented and only present in more recent versions of sed, but not in the version on excalibur. So when ./configure runs for mesa, some configuration information ends up incomplete, one of which is the llvm build info. I can push in a quick fix now and try to get a longer term fix upstream.
-
@joseph.g.hennessey2.ctr I just merged a handful of Mesa fixes to master and verified that with the attached script540-osmesa-excalibur.sh, I can at least make it to the ParaView part of the build on Excalibur. I didn't wait for it to churn all the way through ParaView but I can assert that at least the Mesa issues are resolved.
-
Chuck,
Thanks, I noticed your changes about half and hour ago, and I have already started both builds on Excalibur.
Thanks,
Joe
-
Chuck,
My osmesa build completed on Excalibur, but I got this error on my mesa build
checking for XCB_DRI2... no configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met:
Requested 'xcb-dri2 >= 1.8' but version of XCB DRI2 is 1.1
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables XCB_DRI2_CFLAGS and XCB_DRI2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. CMake Error at /p/home/joeh/PV/Build_5.4.0_mesa/superbuild/sb-mesa-configure.cmake:43 (message): Failed with exit code 1
make[2]: *** [superbuild/mesa/stamp/mesa-configure] Error 1 make[1]: *** [superbuild/CMakeFiles/mesa.dir/all] Error 2 make: *** [all] Error 2
I have not seen this error before with the super build on Excalibur.
Did you get the same error with my mesa build script?
Thanks,
Joe