Set the toolchain for EZHV
To set the toolchain for EZHV, perform the following steps:
Download and install the RISCV LLVM toolchain.
Add a system environment variable
RISCVLLVM_DIR
, and set the value to the RISCV LLVM install path.For Linux or Mac, run the command:
export RISCVLLVM_DIR=<your_risc_llvm_install_path>
For Windows, as shown in Set the toolchain for EZHV, perform the following steps:
Click Windows Start -> Settings.
Search and open Edit environment variable for your account
Create a new variable.
Download Ninja from this link. Add the path ninja executable to system environmental variable PATH. When it finishes, run the ninja – version in command line to verify the installation. The result looks like:
$ ninja --version 1.10.1
Download and install CMake.
Parent topic:Build and run the ezhv_examples