Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109793

configuration fails for oneAPI 2023.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4.1
    • Build System
    • None
    • Windows [Version 10.0.17134.2208]
    • Windows

      Intel has released oneAPI 2023.0 for Windows which now includes the icpx compiler even though it is not the recommended compiler for Windows.

      The configuration fails when trying to test icpx as the CXX compiler.

      Work around remove icpx from CMakeDetermineCXXCompiler.cmake

      finally list compilers to try
      if(NOT CMAKE_CXX_COMPILER_INIT)
      set(CMAKE_CXX_COMPILER_LIST CC ${_CMAKE_TOOLCHAIN_PREFIX}c++ ${_CMAKE_TOOLCHAIN_PREFIX}g++ aCC cl bcc xlC icpx icx clang++)
      endif()

       

      Discussion with Intel can be found here.

      https://community.intel.com/t5/Intel-oneAPI-Data-Parallel-C/Compiling-Qt-6-41-with-oneAPI-2023-0/m-p/1441404

        1. CMakeError.log
          6 kB
        2. CMakeError-1.log
          6 kB
        3. CMakeOutput.log
          2 kB
        4. Qt6.4.1_20_clang_compile.txt
          4 kB
        5. Qt6.4.1_20_oneAPI_2023_0.txt
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            rich Richard Fleck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes