Updated on 2025-07-21 GMT+08:00

Installing Workload Accelerator

  1. Confirm that the repository is configured correctly.

    Check whether the parameters in the /etc/yum.repos.d/hce.repo file are configured correctly. The correct configuration is as follows:

    [base]
    name=HCE $releasever base
    baseurl=https://repo.huaweicloud.com/hce/$releasever/os/$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=https://repo.huaweicloud.com/hce/$releasever/os/RPM-GPG-KEY-HCE-2
    
    [updates]
    name=HCE $releasever updates
    baseurl=https://repo.huaweicloud.com/hce/$releasever/updates/$basearch/
    ......
  2. Run yum -y install hce-wae to install Workload Accelerator.
  3. Check whether Workload Accelerator has been installed.

    If information similar to Figure 1 is displayed after you run the following command, Workload Accelerator is installed successfully:

    llvm-bolt --help | more
    Figure 1 Example output

    The output may vary depending on the tool version.