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

Remove MozJS dependency from mqlrun

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Build, Querying
    • None
    • Query Integration

      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. 

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

              Created:
              Updated:
              Resolved: