LSSTApplications
16.0-11-g09ed895+2,16.0-11-g12e47bd,16.0-11-g9bb73b2+6,16.0-12-g5c924a4+6,16.0-14-g9a974b3+1,16.0-15-g1417920+1,16.0-15-gdd5ca33+1,16.0-16-gf0259e2,16.0-17-g31abd91+7,16.0-17-g7d7456e+7,16.0-17-ga3d2e9f+13,16.0-18-ga4d4bcb+1,16.0-18-gd06566c+1,16.0-2-g0febb12+21,16.0-2-g9d5294e+69,16.0-2-ga8830df+6,16.0-20-g21842373+7,16.0-24-g3eae5ec,16.0-28-gfc9ea6c+4,16.0-29-ge8801f9,16.0-3-ge00e371+34,16.0-4-g18f3627+13,16.0-4-g5f3a788+20,16.0-4-ga3eb747+10,16.0-4-gabf74b7+29,16.0-4-gb13d127+6,16.0-49-g42e581f7+6,16.0-5-g27fb78a+7,16.0-5-g6a53317+34,16.0-5-gb3f8a4b+87,16.0-6-g9321be7+4,16.0-6-gcbc7b31+42,16.0-6-gf49912c+29,16.0-7-gd2eeba5+51,16.0-71-ge89f8615e,16.0-8-g21fd5fe+29,16.0-8-g3a9f023+20,16.0-8-g4734f7a+1,16.0-8-g5858431+3,16.0-9-gf5c1f43+8,master-gd73dc1d098+1,w.2019.01
LSSTDataManagementBasePackage
|
Classes | |
class | lsst.sconsUtils.dependencies.Configuration |
Base class for defining how to configure an LSST sconsUtils package. More... | |
class | lsst.sconsUtils.dependencies.ExternalConfiguration |
A Configuration subclass for external (third-party) packages. More... | |
class | lsst.sconsUtils.dependencies.PackageTree |
A class for loading and managing the dependency tree of a package, as defined by its configuration module (.cfg) file. More... | |
Functions | |
def | lsst.sconsUtils.dependencies.configure (packageName, versionString=None, eupsProduct=None, eupsProductPath=None, noCfgFile=False) |
Recursively configure a package using ups/.cfg files. More... | |
def | lsst.sconsUtils.dependencies.CustomCFlagCheck (context, flag, append=True) |
A configuration test that checks whether a C compiler supports a particular flag. More... | |
def | lsst.sconsUtils.dependencies.CustomCppFlagCheck (context, flag, append=True) |
A configuration test that checks whether a C++ compiler supports a particular flag. More... | |
def | lsst.sconsUtils.dependencies.CustomCompileCheck (context, message, source, extension=".cc") |
A configuration test that checks whether the given source code compiles. More... | |
def | lsst.sconsUtils.dependencies.CustomLinkCheck (context, message, source, extension=".cc") |
A configuration test that checks whether the given source code compiles and links. More... | |
def | lsst.sconsUtils.dependencies.getLibs (env, categories="main") |
Get the libraries the package should be linked with. More... | |
def lsst.sconsUtils.dependencies.configure | ( | packageName, | |
versionString = None , |
|||
eupsProduct = None , |
|||
eupsProductPath = None , |
|||
noCfgFile = False |
|||
) |
Recursively configure a package using ups/.cfg files.
Aliased as lsst.sconsUtils.configure().
Usually, LSST packages will call this function through scripts.BasicSConstruct.
packageName | Name of the package being built; must correspond to a .cfg file in ups/. |
versionString | Version-control system string to be parsed for version information ($HeadURL$ for SVN). |
eupsProduct | Name of the EUPS product being built. Defaults to and is almost always the name of the package. |
eupsProductPath | An alternate directory where the package should be installed. |
noCfgFile | If True, this package has no .cfg file |
Definition at line 38 of file dependencies.py.
def lsst.sconsUtils.dependencies.CustomCFlagCheck | ( | context, | |
flag, | |||
append = True |
|||
) |
A configuration test that checks whether a C compiler supports a particular flag.
context | Configuration context. |
flag | Flag to test, e.g. "-fvisibility-inlines-hidden". |
append | Automatically append the flag to context.env["CCFLAGS"] if the compiler supports it? |
Definition at line 321 of file dependencies.py.
def lsst.sconsUtils.dependencies.CustomCompileCheck | ( | context, | |
message, | |||
source, | |||
extension = ".cc" |
|||
) |
A configuration test that checks whether the given source code compiles.
context | Configuration context. |
message | Message disaplyed on console prior to running the test. |
source | Source code to compile. param extension Identifies the language of the source code. Use ".c" for C, and ".cc" for C++ (the default). |
Definition at line 361 of file dependencies.py.
def lsst.sconsUtils.dependencies.CustomCppFlagCheck | ( | context, | |
flag, | |||
append = True |
|||
) |
A configuration test that checks whether a C++ compiler supports a particular flag.
context | Configuration context. |
flag | Flag to test, e.g. "-fvisibility-inlines-hidden". |
append | Automatically append the flag to context.env["CXXFLAGS"] if the compiler supports it? |
Definition at line 341 of file dependencies.py.
def lsst.sconsUtils.dependencies.CustomLinkCheck | ( | context, | |
message, | |||
source, | |||
extension = ".cc" |
|||
) |
A configuration test that checks whether the given source code compiles and links.
context | Configuration context. |
message | Message disaplyed on console prior to running the test. |
source | Source code to compile. param extension Identifies the language of the source code. Use ".c" for C, and ".cc" for C++ (the default). |
Definition at line 384 of file dependencies.py.
def lsst.sconsUtils.dependencies.getLibs | ( | env, | |
categories = "main" |
|||
) |
Get the libraries the package should be linked with.
categories | A string containing whitespace-delimited categories. Standard categories are "main", "python", and "test". Default is "main". A special virtual category "self" can be provided, returning the results of targets="main" with the env["packageName"] removed. |
Typically, main libraries will be linked with LIBS=getLibs("self"), Python modules will be linked with LIBS=getLibs("main python") and C++-coded test programs will be linked with LIBS=getLibs("main test"). """
Definition at line 569 of file dependencies.py.