Skip to content
Commit aa8a66b2 authored by Chuck Atkins's avatar Chuck Atkins Committed by Kitware Robot
Browse files

Merge topic 'patch-mesa-for-swr-cxx11'



d26a2d62 mesa: Roll back swr c++14 requirement

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !339
parents 7ca4282e d26a2d62
Loading
Loading
Loading
Pipeline #61428 failed with stage
in 0 seconds
Loading
  • Joseph G. Hennessey @joseph.g.hennessey2.ctr ·

    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 2

    make[2]: *** [superbuild/mesa/stamp/mesa-build] Error 1 make[1]: *** [superbuild/CMakeFiles/mesa.dir/all] Error 2 make: *** [all] Error 2

  • Chuck Atkins @chuck.atkins ·
    Author Contributor

    I haven't seen that build error before. It looks like a problem with finding and using the correct llvm. What parameters are you using to configure the superbuild and what compiler / OS are you using so I can try to reproduce it?

  • Joseph G. Hennessey @joseph.g.hennessey2.ctr ·

    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

    excalibur_osmesa_54.sh

    excalibur_mesa_54.sh

    smime.p7s

  • Chuck Atkins @chuck.atkins ·
    Author Contributor

    @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.

  • Chuck Atkins @chuck.atkins ·
    Author Contributor

    @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.

  • Joseph G. Hennessey @joseph.g.hennessey2.ctr ·

    Chuck,

    Thanks, I noticed your changes about half and hour ago, and I have already started both builds on Excalibur.

    Thanks,

    Joe

    smime.p7s

  • Joseph G. Hennessey @joseph.g.hennessey2.ctr ·

    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

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment