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

Intel Compiler: makepchinput.py should skip '-xFOO and -axFOO' compiler flags

    XMLWordPrintable

    Details

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

      Intel Compiler 16.0.3
      Arch Linux x86_64

      Description

      The Intel Compiler has these two command line flags to target specific instruction sets:

      -xFOO (for example: -xSSE3, -xCORE-AVX2 or -xHost)
      -axFOO (for example: -axSSE3,CORE-AVX2 - multiple comma separated arguments are valid)

      When setting these compiler flags in CMAKE_CXX_FLAGS the ROOT build process chokes when making the PCH. This appears to be caused by forwarding these flags to "rootcling".

      A patch which skips these command line flags for the PCH generation is attached.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mato Pere Mato Vila
              Reporter:
              bbeische Bastian Beischer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Actual End: