Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling KVecTurbo

Obtain the KVecTurbo open source code from GitCode, install the required dependencies, and then compile KVecTurbo.

  1. Obtain the KVecTurbo open source code. The tag is v1.1.0. Assume that the code is stored in /path/to/kvecturbo.
    git clone https://gitcode.com/boostkit/kvecturbo.git
  2. Install GCC 10.3, OpenMP, CMake, and Make.
    yum install gcc g++ cmake libgomp make
  3. Download the Huawei_Secure_C library package from openEuler because KVecTurbo depends on it. Extract the package to a directory. Assume that the directory is /path/to/binarylibs.
    cd /path/to/binarylibs
    wget https://opengauss.obs.cn-south-1.myhuaweicloud.com/latest/binarylibs/gcc10.3/openGauss-third_party_binarylibs_openEuler_2203_arm.tar.gz --no-check-certificate
    tar -zxvf openGauss-third_party_binarylibs_openEuler_2203_arm.tar.gz
  4. Compile KVecTurbo.
    export BINARYLIBS=/path/to/binarylibs/openGauss-third_party_binarylibs_openEuler_2203_arm
    export CPLUS_INCLUDE_PATH=${BINARYLIBS}/kernel/platform/Huawei_Secure_C/comm/include/:$CPLUS_INCLUDE_PATH
    cd /path/to/kvecturbo
    sh build.sh

    The resulting dynamic library file libkvecturbo.so.xxxx is stored in the out/lib folder, and the header file is stored in the out/include folder. xxxx indicates the version.