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

Building debug via CMake non standard.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.08/04
    • 6.10/00
    • Build System
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: