|
| | main (BuildID, files=VTL.GetSourceCode(0), command=VTL.GetBuildCommand(2), libs=VTL.GetLinkDependency(0, 2, __arch), source=os.path.join(__mcd_core_path,"src"), include=[os.path.join(__mcd_core_path,"include", Utility.GetPlatform(), __arch, x) for x in VTL.GetIncludeDirectory(__mcd_core_path, 0, 4, __arch)], dependency=os.path.join(__mcd_core_path,"lib", Utility.GetPlatform(), __arch), make=[os.path.join(__mcd_core_path,"include", Utility.GetPlatform(), __arch), os.path.join(__mcd_core_path,"lib", Utility.GetPlatform(), __arch)], architecture=__arch, scratch=VTL.Scratch, verbosity=2, incremental=False, **kwargs) |
| |
|
| | parser = argparse.ArgumentParser(description="Build a static Fortran library remotely on the current machine") |
| |
| | _ = sys.argv[1] |
| |
| | args |
| |
| | make_opt = args.make[0] |
| |
| str | BuildID = "bbeam" |
| |
| | box_source = os.path.join(__mcd_core_path,"external","boxbeam") |
| |
| list | box_make |
| |
| | files |
| |
| | source = os.path.join(__mcd_core_path,"external","toms") |
| |
| | include |
| |
| | make |
| |
| | libs |
| |
| | beos_source = os.path.join(__mcd_core_path,"external",BuildID) |
| |
| list | beos_make = [None, os.path.join(__mcd_core_path,"lib",Utility.GetPlatform(),__arch)] |
| |
| | command |
| |
| | incremental |
| |
| list | dam_make |
| |
| list | disp_make |
| |
| list | BuildIDs = [os.path.splitext(x)[0].lower() for x in VTL.GetSourceCode(6)] |
| |
| list | srcfile = [x for x in VTL.GetSourceCode(6) if x.startswith(BuildID)] |
| |
| str | style = False |
| |
| bool | combine = True |
| |
| | pchip_replace = collections.OrderedDict([('rand',"pchip_rand"), ('RAND',"pchip_rand"), ('subroutine timestamp ( )','subroutine timestamp ( ) BIND(C, NAME="pchip_timestamp")')]) |
| | Name mangling without changing the original source code.
|
| |
| | replace |
| |
Triple-use minimum working example for PyXMake. This script can be
executed in three different ways in varying levels of accessibility
@note: Compile a static Fortran library using Intel Fortran.
Created on 20.03.2018
@version: 1.0
----------------------------------------------------------------------------------------------
@requires:
- PyXMake
@change:
- Added 3rd party dependencies to build process. Requires
PyCODAC in PYTHONPATH.
@author: garb_ma [DLR-FA,STM Braunschweig]
----------------------------------------------------------------------------------------------