Rate This Document
Findability
Accuracy
Completeness
Readability

Verified Environments

To use the HMPP smoothly and securely, ensure that your environment is one of the verified environments.

Table 1 lists the environments in which the HMPP has been verified. The compilers of different OSs are of the default versions.

Table 1 Verified environments

OS

CPU Type

openEuler 22.03 LTS SP3

Huawei Kunpeng 920

openEuler 22.03 LTS SP2

Huawei Kunpeng 920

openEuler 20.03 LTS SP1

Huawei Kunpeng 920

CentOS Linux release 7.6.1810 (AltArch)

Huawei Kunpeng 920

NeoKylin Server V7.0 U6 for ARM

Huawei Kunpeng 920

Uniontech OS (UOS) 20

Huawei Kunpeng 920

Ubuntu 18.04

Huawei Kunpeng 920

Kylin release V10

Huawei Kunpeng 920

  • The HMPP supports only Kunpeng 920 processors and will exit abnormally for any other processors.
  • HMPP is a bottom-layer primitive library. The computing process involves memory read/write and allocation. You must install the OS by yourself and perform OS security hardening. Install only necessary applications or uninstall unnecessary applications that have been installed.
  • To prevent buffer overflow attacks, you are advised to use the address space layout randomization (ASLR) technology to randomize the layout of linear areas such as the heap, stack, and shared library mapping to make it more difficult for attackers to predict target addresses and locate code. This technology can be applied to heaps, stacks, and memory mapping areas (mmap base addresses, shared libraries, and vDSO pages).

    Enabling method: echo 2 >/proc/sys/kernel/randomize_va_space

Note the following when using the HMPP:

  • HMPP version

    You are advised to use the latest version of the HMPP.

  • OS compatibility

    Check whether the OS and CPU type are listed in Table 1.

  • If the system is UOS 20, install awk and XmlLint in advance.
    1. Install the AWK.

      Most released Linux OSs come with AWK by default. Do as follows to install AWK if it is not preconfigured:

      yum install gawk
    2. Install the XmlLint.
      1. Obtain the XmlLint source package libxml2-2.8.0.tar.gz from the official website.
      2. Decompress the source package.
        tar -zxvf libxml2-2.8.0.tar.gz
      3. Configure compilation environment variables.
        ./configure --prefix=/usr/local/libxml2 --build=arm-linux
      4. Compile the source code and install the tool.
        make && make install
      5. Copy the xmllint file to the /usr/bin directory.
        cp libxml2-2.8.0/.libs/xmllint /usr/bin/