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

ROOT master, CMake 3.17.0 and Debug builds issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Clarified
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      OS: Cent OS7

      ARCH: x86_64

      GCC: 8.4

      CMAKE: 3.17.0

      CMSSW IBs based on root master

    • Development:

      Description

      Hi,

        While updating cmake version to 3.17.0 (from 3.14.5) , root master (commit 73ae672 ) failed to build. This happens when we use " -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TYPE=Release " [a]. If we set both types to "Debug" then it works. 

      Any idea why it start failing now with cmake 3.17.0? Could this be fixed so that we can set "CMAKE_BUILD_TYPE=Release"

       

      Thanks, --Shahzad

      [a] 

      > cmake ../root-6.21.01 -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TYPE=Release
      .....

      ......
      > ninja -v -j 16 -l 16
      ninja: error: 'cmake_object_order_depends_target_LLVMAnalysis_Debug', needed by 'cmake_object_order_depends_target_Cling_Debug', missing and no known rule to make it

      error: Bad exit status from /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/rpm-tmp.8qHY6g (%build)

       

        Attachments

          Activity

            People

            Assignee:
            oshadura Oksana Shadura
            Reporter:
            muzaffar Malik Shahzad Muzaffar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: