Rate This Document
Findability
Accuracy
Completeness
Readability

Deploying the BiSheng Compiler

The BiSheng Compiler is available after you deploy it on the server. The BiSheng Compiler is a high-performance compiler developed based on the open source LLVM and optimized for the Kunpeng platform. It uses Flang as the default frontend compiler for the Fortran language.

Environment Requirements

  • Supported compiler version: BiSheng Compiler 5.0.0
  • Supported OSs:
    • CentOS Linux release 7.6.1810 (AltArch)
    • Ubuntu 18.04.2 LTS
    • Ubuntu 20.04 LTS
    • openEuler 20.03 LTS SP1
    • openEuler 22.03 LTS
    • openEuler 24.03 LTS
    • UOS 20 SP1
    • Kylin Linux Advanced Server V10 (Tercel)

Prerequisites

You have logged in to the Kunpeng DevKit.

Procedure

  1. In the upper right corner of the page, choose > Tool Configuration > Compiler and Debugger.

    In the Figure 1 window that is displayed, choose a remote server, choose BiSheng Compiler from the Compiler Type drop-down list, and click Check Connection.

    Figure 1 Deploying the BiSheng Compiler
    Table 1 Parameters

    Parameter

    Description

    Configured Remote Server

    Choose the server where the BiSheng Compiler needs to be deployed.

    Linux Password

    Password of the Linux user.

    Remember password

    If this option is selected, the Linux user password of the current remote server will be remembered.

    Compiler Type

    Select the compiler to be deployed. The options are:

    • GCC for openEuler
    • BiSheng Compiler
    • BiSheng JDK

    During compiler deployment, the compiler dictionary is read based on the network status. Ensure that the VS Code network proxy is correctly configured and the network can be connected before the deployment.

    • If the network connection is successful, the compiler version dictionary is downloaded from Gitee and written to the server.
    • If the network connection fails, the dictionary in the tool is read and written to the server.
  2. After the connection is successful, click Start Deployment. In the dialog box that is displayed, click OK.
    Figure 2 Information dialog box

    Switch to the terminal to perform the deployment operation. After the deployment is complete, a message is displayed stating "Compiler deployed successfully."

    Figure 3 Compiler deployed successfully

    If the deployment fails, view the error information on the terminal or rectify the fault by following instructions in Compiler Deployment Failure.