|
LSSTApplications
11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
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 |
| Recursively configure a package using ups/.cfg files. More... | |
| def | lsst.sconsUtils.dependencies.CustomCFlagCheck |
| A configuration test that checks whether a C compiler supports a particular flag. More... | |
| def | lsst.sconsUtils.dependencies.CustomCppFlagCheck |
| A configuration test that checks whether a C++ compiler supports a particular flag. More... | |
| def | lsst.sconsUtils.dependencies.CustomCompileCheck |
| A configuration test that checks whether the given source code compiles. More... | |
| def | lsst.sconsUtils.dependencies.CustomLinkCheck |
| A configuration test that checks whether the given source code compiles and links. More... | |
| def | lsst.sconsUtils.dependencies.getLibs |
| 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 39 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 322 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 362 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 342 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 385 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 570 of file dependencies.py.
1.8.5