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

Remove MozJS dependency from mqlrun

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Build, Querying
    • None
    • Query Integration

    Description

      Currently building mqlrun (an enterprise module) builds MozJS by default.  mqlrun doesn't use the javascript engine, so building MozJS is unnecessary for this module.

       

      The follow scons command will end up building MozJS:

      python3 buildscripts/scons.py -Q --cache=nolinked --link-model=static --implicit-cache --opt=off --disable-warnings-as-errors install-mh

       

      While the following doesn't enforce a MozJS build, but still produces a fully functional msqlrun:

      python3 buildscripts/scons.py -Q --cache=nolinked --link-model=static --implicit-cache --opt=off --disable-warnings-as-errors --js-engine=none install-mh

       

      Faster builds are always nice. 

      Attachments

        Activity

          People

            backlog-query-integration Backlog - Query Integration
            s.dorr@mongodb.com Scott Dorr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: