Skip to main content

LLVM Project Git Mirror Usage Guide

info

Some content in this document may have been translated by AI.

LLVM Project Introduction

LLVM is an open-source project, a compiler framework, and a collection of modular and reusable compiler and toolchain technologies.

It includes a series of subprojects: clang, lldb, libc++, libc++abi, klee, lld, etc.

Mirror Repository Introduction

This mirror site mirrors the LLVM Project's GitHub repository.

Release Versions

If you need release version source code for various subprojects, this mirror site does not currently provide mirrors. Please download from GitHub Release.

LLVM Project Git Mirror Usage Guide

To clone the code, use:

操作方法:执行命令

执行命令:

git clone https://mirrors.hust.edu.cn/llvm-project.git

Due to the large repository size, executing git clone may take a considerable amount of time.

To add the mirror to an existing repository, run in the existing repository:

git remote add mirror https://mirrors.hust.edu.cn/llvm-project.git

Or run:

操作方法:执行命令

执行命令:

git remote set-url origin https://mirrors.hust.edu.cn/llvm-project.git

Set the default upstream to the mirror site

Choose your prefered domain
mirrors.hust.edu.cn
This domain is Dual Stack
Enable HTTPS