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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.08/00
    • None
    • Build System
    • None
    • 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

              mato Pere Mato Vila
              bbeische Bastian Beischer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Actual End: