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

Mac: Using ccache or distributed compilation or any other different compiler got much more difficult

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.1.0 Beta 1
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      macOS 10.8
    • Platform/s:
      macOS

      Description

      Since the mac mkspecs now resolve all tools to a Xcode path via xcrun, instead of taking the tools from the PATH, it's much more difficult to use any kind of distributed compilation system or ccache for faster builds.

      What I've been doing so far for Qt 5.1 is to set the CC and CXX make variable to the actual binaries to use when running make.

      It would be good to allow overriding that behavior, or find a better way to do it (and document it)

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                vestbo Tor Arne Vestbø
                Reporter:
                con Eike Ziller
              • Votes:
                4 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes