Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8546

Building debug via CMake non standard.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.08/04
    • Fix Version/s: 6.10/00
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      All?

      Description

      It is common to configure a debug build with the syntax:
      cmake -DCMAKE_BUILD_TYPE=Debug
      In ROOT; however, that means build ROOT as Debug, but build LLVM/interpreter as Release.
      Beginning at line 84 interpreter/CMakeLists.txt it starts to blindly override CMAKE_BUILD_TYPE based on the variable LLVM_BUILD_TYPE

      Makes more sense to build everything the same via CMAKE_BUILD_TYPE, with an option to override how LLVM is built with LLVM_BUILD_TYPE.

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              b8203e1068dcca827a2f machtyrtle@gmail.com
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: