Long-Term Supported Versions

    BiSheng Compiler Installation Guide

    BiSheng Compiler Overview

    BiSheng Compiler is a high-performance, high-reliability, and easy-to-expand compiler toolchain developed by the Huawei Compiler Laboratory for general-purpose processor architectures, such as Kunpeng. It introduces and enhances multiple compilation optimization technologies and supports different programming languages, such as C, C++, and Fortran.

    BiSheng Compiler has been integrated into openEuler. It can be installed using the Yum repository in the openEuler OS or using the software package in a non-openEuler OS.

    Go to the official website of BiSheng Compiler to obtain required resources, including the software and documentation.

    Installation Using the Yum Repository

    Perform the following operations as the root user.

    1. Run the following command to add the configuration file bisheng-compiler.repo to the /etc/yum.repos.d/ directory:

      cat > /etc/yum.repos.d/bisheng-compiler.repo << EOF
      [bisheng-compiler]
      name=bisheng-compiler
      baseurl=https://repo.oepkgs.net/bisheng/aarch64/
      enabled=1
      gpgcheck=0
      priority=100
      EOF
      
    2. Download the RPM package of BiSheng Compiler from the Yum repository and install it.

      yum update
      yum install bisheng-compiler
      
    3. (Optional) Clear the hash table in the current window.

      If an LLVM compiler of another version is available in the system, run the following command immediately after installing BiSheng Compiler:

      hash -r
      

      This prevents the Clang command from being captured by the hash table. If the Clang command is captured by the hash table, BiSheng Compiler or the open source LLVM compiler cannot be used.

    4. Check whether the installation is successful.

      After the installation is complete, run the following command to verify the BiSheng Compiler version:

      clang -v
      

      If the command output contains the BiSheng compiler version information, the installation is successful.

    Bug Catching

    Buggy Content

    Bug Description

    Submit As Issue

    It's a little complicated....

    I'd like to ask someone.

    PR

    Just a small problem.

    I can fix it online!

    Bug Type
    Specifications and Common Mistakes

    ● Misspellings or punctuation mistakes;

    ● Incorrect links, empty cells, or wrong formats;

    ● Chinese characters in English context;

    ● Minor inconsistencies between the UI and descriptions;

    ● Low writing fluency that does not affect understanding;

    ● Incorrect version numbers, including software package names and version numbers on the UI.

    Usability

    ● Incorrect or missing key steps;

    ● Missing prerequisites or precautions;

    ● Ambiguous figures, tables, or texts;

    ● Unclear logic, such as missing classifications, items, and steps.

    Correctness

    ● Technical principles, function descriptions, or specifications inconsistent with those of the software;

    ● Incorrect schematic or architecture diagrams;

    ● Incorrect commands or command parameters;

    ● Incorrect code;

    ● Commands inconsistent with the functions;

    ● Wrong screenshots.

    Risk Warnings

    ● Lack of risk warnings for operations that may damage the system or important data.

    Content Compliance

    ● Contents that may violate applicable laws and regulations or geo-cultural context-sensitive words and expressions;

    ● Copyright infringement.

    How satisfied are you with this document

    Not satisfied at all
    Very satisfied
    Submit
    Click to create an issue. An issue template will be automatically generated based on your feedback.
    Bug Catching
    编组 3备份