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

configuration fails for oneAPI 2023.0

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        1. Qt6.4.1_20_oneAPI_2023_0.txt
          4 kB
        2. CMakeError.log
          6 kB
        3. CMakeError-1.log
          6 kB
        4. CMakeOutput.log
          2 kB
        5. Qt6.4.1_20_clang_compile.txt
          4 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: