• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • Compute Graph Framework SDK Reference  5.22
    All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Build Time

    At build time the following resources must exist as an input:

    • A .app.json file describing the application
    • All JSON files recursively referenced by the application, e.g. .graphlet.json
    • The C++ code of the nodes

    ‍There is no need to generate any C++ code at build time.

    The build system performs the following steps:

    Compile C++ Nodes

    The C++ code is compiled into a shared object (.so).

    ‍Commonly multiple nodes are aggregated into a single library, since some platforms have limits regarding the maximum number of shared libraries to load.

    Generate .node.json Files

    See the development workflow.

    Validate JSON

    The validation script is invoked to check that the JSON files comply with their JSON schemas as well as additional constraints like cross references are satisfied.

    STM Schedule Generation

    The STM compiler requires the information to be structured in a YAML file. The apps/roadrunner-2.0/graphs/utils/descriptionScheduleYamlGenerator.py script converts the information available in the JSON files into that format. based on that the STM compiler generates the .stm file containing the schedule.

    人人超碰97caoporen国产