[SERVER-54326] Remove MozJS dependency from mqlrun Created: 04/Feb/21  Updated: 23/Mar/23  Resolved: 23/Mar/23

Status: Closed
Project: Core Server
Component/s: Build, Querying
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Scott Dorr (Inactive) Assignee: Backlog - Query Integration
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Integration
Participants:

 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. 


Generated at Thu Feb 08 05:33:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.