Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-12014

Make sconsUtils use clang when it knows it using clang

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None
    • Templates:
    • Story Points:
      0.1
    • Team:
      Architecture

      Description

      scons defaults to using gcc and this can be quite confusing on macOS where gcc is really clang and users expect to see clang being used. eupspkg gets around this by explicitly using cc=$CC when calling scons but this doesn't happen when you type scons from the command line yourself.

      Modify sconsUtils to use clang if it knows that gcc is really clang and no compiler was specified explicitly to scons.

        Attachments

          Activity

            People

            • Assignee:
              tjenness Tim Jenness
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              Paul Price
              Watchers:
              Paul Price, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel