Building the module - Building the module - 2022.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2022.2 English

Before attempting to build the module ensure you have followed the contents of L3 Getting Started page - both the environment needs to be setup and the built library are required.

To generate the module run the Makefile - make from within your copy of the ../L3/python directory.

This will create a module.o file in the output sub-directory, along with xf_fintech_python.so. The python examples then import the required functions from this file, similarly to standard python modules.

Hints: whilst including some checks in the scripts be aware your local environmental settings may vary. pip3 list will show if pybind11 is installed, it’s directory path should be seen in the directories shown by running the command python3.6-config –includes . For CentOS that directory is /usr/include/python3.6m