Migration Through the Open-Source Adaptation Layer
- Use the RPM package to install the KML.
rpm -ivh boostkit-kml-xxxx.aarch64.rpm
- Download the open-source adaptation layer of the Kunpeng math library.
- Perform the compilation in the kml_fft_adapter directory.
cd kml_fft_adapter sh build.sh
- The adapted dynamic libraries libfftw3f.so and libfftw3.so are generated in the build directory. You can use the dynamic libraries to replace the linked fftw library in the software.
- Add environment variables. /PATH_TO_FFT_ADAPTER/build indicates the installation path of the dynamic libraries at the open-source adaptation layer.
export LD_LIBRARY_PATH=/PATH_TO_FFT_ADAPTER/build:$LD_LIBRARY_PATH
Parent topic: Migrating the Library Using C Language