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

Not all expected aliases are present in the ninja generator output

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • Hide

      I generated the ninja file as follows:

      python3 buildscripts/scons.py --implicit-cache --build-fast-and-loose=on --dbg=on --opt=on --variables-files="/home/andrew/.scons/site_scons/mongo_custom_variables.py etc/scons/mongodbtoolchain_stable_clang.vars" --install-mode=hygienic --link-model=object VERBOSE=1 CCACHE=ccache --ninja new.build.ninja

      But looking for the included aliases, it seems only a small set were included:

      grep 'build install-' new.build.ninja
      build install-all-meta: phony | build/install/lib/libmurmurhash3.a build/install/lib/libbase_s2.a $
      build install-common-meta: phony | build/install/README build/install/THIRD-PARTY-NOTICES $
      build install-all-dev: phony | build/install/lib/libmurmurhash3.a build/install/lib/libbase_s2.a $
      build install-all: phony | build/install/bin/wt build/install/bin/base_test $
      build install-all-base: phony | build/install/share/doc/mongo_embedded/LICENSE-Community.txt $
      build install-common-base: phony | generated-sources build/install/README $
      build install-common: phony | install-common-base $
      build install-common-dev: phony | install-common install-common-base $
      

      I don't see install-servers there, for instance.

      Show
      I generated the ninja file as follows: python3 buildscripts/scons.py --implicit-cache --build-fast-and-loose=on --dbg=on --opt=on --variables-files="/home/andrew/.scons/site_scons/mongo_custom_variables.py etc/scons/mongodbtoolchain_stable_clang.vars" --install-mode=hygienic --link-model=object VERBOSE=1 CCACHE=ccache --ninja new.build.ninja But looking for the included aliases, it seems only a small set were included: grep 'build install-' new.build.ninja build install-all-meta: phony | build/install/lib/libmurmurhash3.a build/install/lib/libbase_s2.a $ build install-common-meta: phony | build/install/README build/install/THIRD-PARTY-NOTICES $ build install-all-dev: phony | build/install/lib/libmurmurhash3.a build/install/lib/libbase_s2.a $ build install-all: phony | build/install/bin/wt build/install/bin/base_test $ build install-all-base: phony | build/install/share/doc/mongo_embedded/LICENSE-Community.txt $ build install-common-base: phony | generated-sources build/install/README $ build install-common: phony | install-common-base $ build install-common-dev: phony | install-common install-common-base $ I don't see install-servers there, for instance.
    • Dev Platform 2020-01-13, Dev Platform 2020-01-27, Dev Platform 2020-02-10, Dev Platform 2020-02-24

      Some scons level aliases that I would expect to see included in the ninja file when using hygeinic builds, like install-servers, don't seem to be included.

            Assignee:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: