Uploaded image for project: 'Request For Comments'
  1. Request For Comments
  2. RFC-92

support SCONSUTILS_FLAGS to augment SCONSFLAGS

    Details

    • Type: RFC
    • Status: Adopted
    • Resolution: Done
    • Component/s: DM
    • Labels:
      None
    • Location:
      this issue page

      Description

      Many users current set the environment variable SCONSFLAGS to automatically include certain command-line arguments when running SCons. This environment variable affects all SCons scripts, however, not just those written with our sconsUtils package, and most users who set SCONSFLAGS typically include sconsUtils-specific options. This causes problems when building packages that use SCons without sconsUtils (such as GalSim, or, at least until DM-3749, psfex).

      Instead, sconsUtils read a new environment variable for sconsUtils-specific options; I'm proposing we call that SCONSUTILSFLAGS (though the lack of word separators is annoying, that seems most analogous with SCONSFLAGS). When this is available, users should use this new environment variable for sconsUtils-specific options like "opt=3", while continuing to use SCONSFLAGS for generic options like "-j4".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                frossie Frossie Economou
                Reporter:
                jbosch Jim Bosch
                Watchers:
                Frossie Economou, Jim Bosch, John Swinbank, Kian-Tat Lim, Mario Juric, Paul Price, Robert Lupton, Russell Owen, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Planned End:

                  Summary Panel