|
| __init__ (self, *args, **kwargs) |
|
| OutputPath (self, libpath=os.getcwd()) |
|
| Build (self, cmdstring, **kwargs) |
|
| parse (cls, **kwargs) |
|
| create (self) |
|
| __posix__ (self, **kwargs) |
|
| AddIncludePath (self, includes) |
|
| AddDependencyPath (self, dependencies) |
|
| UseLibraries (self, libs) |
|
| SourcePath (self, path) |
|
| Environment (self, path, script="ifortvars.bat") |
|
| Preprocessing (self, cmdstring='', inend='', outend='', copyfiles=[], replace={'!DEC$ IF':'#IF','!DEC$ ELSE':'#ELSE','!DEC$ ENDIF':'#ENDIF'}) |
|
| 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) |
|
| __create__ (self, **kwargs) |
|
|
str | MakeObjectKind = 'CCxx' |
| String identifier of current instance.
|
|
str | exe = "gcc" |
| The executable command used in the main build event.
|
|
bool | isStatic = True if kwargs.get('lib', 'static') not in ['shared', 'SHARED', 'Shared'] else False |
| Static or dynamic link library flag.
|
|
| incremental = kwargs.get('incremental', False) |
| Define if the input should be compiled exactly as provided.
|
|
str | incremental = ' -c %s' % (' '.join(self.srcs)) |
|
| libname = self.buildid + self.architecture |
| Name of library, assembled using BuildID.
|
|
| buildname = self.libname |
| Temporary build name.
|
|
list | linkedIn = [] |
| List of libraries which should be statically linked in.
|
|
tuple | temps = () |
| Blank version of tuple to store temporary file names scheduled for removal.
|
|
list | libdirs = [] |
| Blank version of list containing library directories without initially specifying MKL.
|
|
| hasFoss |
|
| outlibs = libpath |
| Output path for library files.
|
|
# pragma no cover | isStatic = 'link -dll -fixed:no -defaultlib:libcmt.lib -nodefaultlib:msvcrt.lib ' |
|
| compargs = cmdstring |
| Used defined command line options.
|
|
str | makecmd = self.iniCompiler+" " |
| Intel Compiler command.
|
|
str | linkcmd = librarian +'*.obj -nologo -machine:'+self.architecture+' -out:'+os.path.join(self.outlibs,self.libname+ext) |
| Intel Linker command.
|
|
| scrtdir |
|
| precmd = '': |
|
| verbose |
|
| postcmd = '': |
|
| 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 |
|
str | SystemObjectKind = "NT" |
| String identifier of current instance.
|
|
str | SystemObjectKind = "Base" |
| String identifier of current instance.
|
|
str | SystemObjectKind = "POSIX" |
| String identifier of current instance.
|
|
| scrtdir |
| Overwrite create method in all subclasses to use a predefined MakeFile for all builds.
|
|
| temps = self.temps + ("Makefile",) |
| Overwrite create method in all subclasses to use a predefined MakeFile for all builds.
|
|
| environ = copy.deepcopy(getattr(os.environ,"_data",{})) |
|
| precmd = GetPreprocessingCommand(1).split() + self.precmd.split()[4:]; self.precmd.insert(-1,"-o") |
|
str | precmd = "" |
|
| verbose |
|
| intermediate_wrapper |
|
| wrapper_module = self.scrtdir) |
|
| libdirs |
|
| outdir |
| Accept both OutLibs and OutDir variable.
|
|
| outlibs = self.outmodule: |
|
| outmodule = True) |
|
Base class for all C/C++ build events inherited from Make.
Inherited class to build projects using Intel C/C++.