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

cmake --build : limit number of threads DON'T work on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.1
    • Build System: CMake
    • None
    • Windows

    Description

      Greetings,

      I'm running into a complete PC meltdown while compiling. 64 thread running at 100% capacity results in a blue screen of death every single time. Not a problem using Visual Studio directly because I've lower priorities in the settings.

      Already tried using Visual Studio 2022 and CMD:

      Config
      set CMAKE_BUILD_PARALLEL_LEVEL=8
      or
      set CMAKE_MAKE_PROGRAM="make -j 8"

      call %SOURCE_DIR%\configure.bat -prefix %INSTALL_DIR% -debug-and-release -opensource -confirm-license -platform win32-msvc -no-webengine-jumbo-build -webengine-proprietary-codecs -qt-zlib -opengl desktop -nomake examples -nomake tests -skip qmltest

      Build process
      cmake --build . --parallel --verbose - -j8
      or
      cmake --build . --config Release – -j 8

      or
      cmake --build . --parallel --verbose – -j8 -d explain

      None of which is limiting the number of threads being used to compile.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            neosettler neosettler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes