Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-66938

Drastically simplify command to generate ninja files

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.1, 4.4.16, 5.0.11, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • v6.0, v5.0, v4.4
    • Dev Platform 2022-06-27, Dev Platform 2022-07-11

    Description

      Here is the command to generate an asan ninja file

      python ./buildscripts/scons.py --variables-files=./etc/scons/mongodbtoolchain_stable_clang.vars --allocator=system --sanitize=address --link-model=dynamic --dbg --ninja generate-ninja ICECC=icecc CCACHE=ccache NINJA_PREFIX=asan VARIANT_DIR=asan --variables-files=etc/scons/developer_versions.vars 

      Note that "--variables-files=etc/scons/developer_versions.vars" is on a trial run so we should not include it (for now)

      We should make this command a one or two liner

      Something like

      ./buildscripts/ninja-asan.py
      

      An added benefit of this is that we get a layer of abstraction so we can change small things about the command but the result will be an ASAN build which is what a developer expects.

      Attachments

        Issue Links

          Activity

            People

              tausif.rahman@mongodb.com Tausif Rahman
              alexander.neben@mongodb.com Xander Neben
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: