Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.68 KB

Download_Vela_sources.md

File metadata and controls

54 lines (37 loc) · 1.68 KB

Download openvela Source Code

[ English | 简体中文 ]

The openvela source code is located in a Git repository hosted by GitHub or Gitee.

Initialize the Repo client

  1. Create and navigate to a working directory:

    mkdir vela-opensource
    cd vela-opensource
  2. Initialize the working directory for source code:

    • Github (Public key registration is required. Refer to Github documents:

      repo init --partial-clone -u [email protected]:open-vela/manifests.git -b dev -m openvela.xml --git-lfs
      
      # Install Git LFS (Large File Storage) for managing large files
      sudo apt install git-lfs
      cd .repo/manifests 
      git lfs install
      git lfs --version
      cd ../../
    • Gitee (Public key registration is required. Refer to Gitee document:

      repo init --partial-clone -u [email protected]:open-vela/manifests.git -b dev -m openvela.xml --git-lfs
      
      # Install Git LFS (Large File Storage) for managing large files
      sudo apt install git-lfs
      cd .repo/manifests 
      git lfs install
      git lfs --version
      cd ../../

Download source code

Run the following command to download the source code tree of openvela to your working directory:

repo sync -c -j$(nproc)

Next steps

Refer to Compile the openvela source code.