[SERVER-9670] Use LIBDEPS to declare dependents in addition to prerequisits Created: 13/May/13  Updated: 27/Jan/15  Resolved: 27/Jan/15

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: Needs Further Definition
Fix Version/s: 2.5.1

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: build-system-cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

Much like mongo initializers, we would like the universe of targets that can be addressed by modules to not be closed to just mongos, mongod, and mongo, see MODULE_LIBDEPS_MONGOD in the main Env for an example.

This would requires style rules.



 Comments   
Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-9670 Use LIBDEPS_DEPENDENTS for adding enterprise libraries as prereqs of mongo programs.

MONGO_LIBDEPS_* are now superfluous, and may be eliminated.

Also, this change makes the SNMP library mandatory for running the enterprise build, per
SERVER-8865.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9bd38d26deeb55f653bc8fa3417307dd190f0aef

Comment by auto [ 09/Jul/13 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-9670 Use LIBDEPS to declare dependents in addition to prerequisites.

To achieve this, the "direct prerequisites" for a File node are stored in the
node's attributes object, instead of in the build environment for the node.
This allows the emitter for nodes to amend other nodes prerequisites. After that,
this change is trivial. Introduce a LIBDEPS_DEPENDENTS environment variable that sets
the named dependents of a node, while the existing LIBDEPS variable may be considered
the direct prerequisites.
Branch: master
https://github.com/mongodb/mongo/commit/7711aed31df7d761fe272249fca32559c1fd120f

Generated at Thu Feb 08 03:21:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.