|
| __init__ (self, *args, **kwargs) |
|
| Preprocessing (self, cmdstring='') |
|
| parse (cls, **kwargs) |
|
| create (self, **kwargs) |
|
| Build (self, cmdstring, **kwargs) |
|
| __posix__ (self, **kwargs) |
|
| AddIncludePath (self, includes) |
|
| AddDependencyPath (self, dependencies) |
|
| UseLibraries (self, libs) |
|
| SourcePath (self, path) |
|
| OutputPath (self, path, files="") |
|
| Environment (self, path, script="ifortvars.bat") |
|
| Postprocessing (self, cmdstring='') |
|
| run (cls, **kwargs) |
|
| __new__ (cls, *args, **kwargs) |
|
| recover (cls, *args) |
|
| classify (cls, *args, **kwargs) |
|
| jsonify (self) |
|
| update (self, **kwargs) |
|
| __repr__ (self) |
|
| __str__ (self) |
|
| __getstate__ (self) |
|
| __setstate__ (self, _dict) |
|
|
str | MakeObjectKind = "PyReq" |
| String identifier of current instance.
|
|
list | libs = [] |
|
list | libdirs = [] |
|
list | incdirs = [] |
|
str | precmd = "" |
| Command executed during pre-build event.
|
|
str | compargs = "--no-pin" |
|
| scrtdir |
|
| verbose |
|
| outdir = Utility.GetRequirements(self.srcdir, getattr(self,"compargs","--no-pin").split(delimn), **kwargs) |
|
str | MakeObjectKind = "Custom" |
| String identifier of current instance.
|
|
str | exe = "cmd.exe /c &&" |
| The executable command used in all build events.
|
|
# pragma no cover | hasFoss |
|
| buildname = self.buildid + self.architecture |
| Immutable settings for Custom object.
|
|
list | mkl_dependency = ["mkl_vsl.f90"] |
|
str | compargs = "" |
| Command line arguments passed in by the user.
|
|
| temps = self.temps + (os.getenv("ABQ_ENV_FILE"), ) |
| Command line arguments passed in by the user.
|
|
command+ | hasFoss = " -DCMAKE_VERBOSE_MAKEFILE=On" |
|
| precmd = delimn.join([batch,'%s' % command]) |
|
str | makecmd = delimn.join([batch,'%s' % "%s --build build" % self.exe]) |
| Command line arguments passed in by the user.
|
|
| postcmd = delimn.join([batch,'%s' % "%s --install build" % self.exe]) |
|
| buildid = BuildID |
| Base string of build object.
|
|
list | srcs = [] |
| Source file or folders.
|
|
list | bare = not BuildID and not self.srcs |
|
| stype = kwargs.get("stype",'Fortran') |
| Source file type.
|
|
| verbose = verbose |
| Level of verbosity of the current build object.
|
|
| hasFoss = kwargs.get("foss", Utility.GetExecutable("choco") or Utility.GetPlatform() in ["linux"] or kwargs.get("bash",False)) |
| Toggle between free open source software and commercial 3rd party libraries.
|
|
| scrtdir = os.getcwd() |
| Current scratch directory
|
|
| srcdir = os.getcwd() |
| Default search directory for source files.
|
|
| outdir = os.getcwd() |
| Default search directory for output.
|
|
_, self.intelpath, self.iniCompiler | intelpath = content |
| Path to Intel Fortran Compiler (read from Paths.log or empty).
|
|
tuple | temps = () |
| Tuple of data to be removed after job completion.
|
|
list | incdirs = [] |
| List of include directories.
|
|
list | libdirs = [] |
| List of library directories.
|
|
list | libs = [] |
| List of actual libraries (by name) used during linking.
|
|
list | copyfiles = [] |
| List of files to be copied to the output directory after finish.
|
|
str | iniCompiler = "" |
| Default initialization of compiler script.
|
|
bool | setarch = True if kwargs.get('arch', None) in ['x86', 'x64'] else False |
| Define the architecture for the build directly by using the keyword argument "arch".
|
|
| msvsc = kwargs.get("msvsc",'vs2015') |
| Default version of Microsoft visual studio used by the Intel Fortran Compiler.
|
|
str | architecture = 'x86' |
| Processor architecture.
|
|
str | postcmd = "" |
| Post build command.
|
|
| buildname = self.temps + (inputfile, ) |
|
str | precmd = self.iniCompiler+" "+cmdstring |
| Command executed during pre-build event.
|
|
| compargs = cmdstring |
| Command line arguments passed in by the user.
|
|
str | makecmd = self.iniCompiler+" "+os.path.join(self.path2exe,self.exe)+" "+ cmd + cmdstring |
| Command executed during build event.
|
|
| mkl_dependency |
|
Base class for all PyReq build events.
Inherited class to build projects using PyReq.
Inherited from Custom.