mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
Fix BUILDBOT-185 by checking env['MONGO_MODULES'] and adding it to the build name
This commit is contained in:
parent
bde4065f5a
commit
563d64e6f8
13
SConstruct
13
SConstruct
@ -927,7 +927,6 @@ env.Alias( "style" , [] , [ doStyling ] )
|
||||
env.AlwaysBuild( "style" )
|
||||
|
||||
|
||||
|
||||
# ---- INSTALL -------
|
||||
|
||||
def getSystemInstallName():
|
||||
@ -936,19 +935,21 @@ def getSystemInstallName():
|
||||
n += "-static"
|
||||
if has_option("nostrip"):
|
||||
n += "-debugsymbols"
|
||||
if nix and os.uname()[2].startswith( "8." ):
|
||||
if nix and os.uname()[2].startswith("8."):
|
||||
n += "-tiger"
|
||||
|
||||
if len(env.get("MONGO_MODULES", None)):
|
||||
n += "-" + "-".join(env["MONGO_MODULES"].keys())
|
||||
|
||||
try:
|
||||
findSettingsSetup()
|
||||
import settings
|
||||
if "distmod" in dir( settings ):
|
||||
n = n + "-" + str( settings.distmod )
|
||||
if "distmod" in dir(settings):
|
||||
n = n + "-" + str(settings.distmod)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
dn = GetOption( "distmod" )
|
||||
dn = GetOption("distmod")
|
||||
if dn and len(dn) > 0:
|
||||
n = n + "-" + dn
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user