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

Allow color outputs from compilers under scons

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None
    • Templates:
    • Team:
      External

      Description

      Compilers (g++, clang++) often produce color outputs (e.g., the word error is in red, and important paths are boldfaced) when run on the command-line, but do not when run under scons. I've just discovered how to enable color output under scons, which I propose to implement. It merely involves propagating the TERM envvar through scons.

      I know that scons deliberately doesn't propagate envvars, but we propagate some (e.g., TEMP, EUPS_DIR); I propose to add TERM to this list. I don't believe it should affect the compilation of anything, but only the format of the outputs.

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                price Paul Price
                Reporter:
                price Paul Price
                Reviewers:
                Tim Jenness
                Watchers:
                Jim Bosch, Kian-Tat Lim, Paul Price, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel