mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Add news and help for LLVM repos
Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
parent
fdb8a51cf1
commit
aab3c46fa5
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
category: help
|
||||
layout: help
|
||||
mirrorid: llvm
|
||||
---
|
||||
|
||||
## LLVM Git Repos 镜像使用帮助
|
||||
|
||||
本镜像镜像了官方的以下仓库:
|
||||
|
||||
```
|
||||
http://llvm.org/git/{llvm,clang,libcxx,lldb,clang-tools-extra,polly,zorg,compiler-rt,libcxxabi,lld,lnt}
|
||||
```
|
||||
若需要其他的仓库,可从 [LLVM 官方](http://llvm.org) 或者 [GitHub 镜像](https://github.com/llvm-mirror) 获取。
|
||||
使用方法:
|
||||
|
||||
```
|
||||
git clone https://mirrors.tuna.tsinghua.edu.cn/git/llvm/{reponame}.git
|
||||
```
|
||||
|
||||
其中`{reponame}`为上述的仓库名称之一。请注意:由于仓库体积均较大,执行`git clone`可能需要较长时间,并且没有进度提示,请耐心等候。
|
||||
|
||||
若要将 TUNA mirror 加入已有代码库,可在已有仓库中运行
|
||||
|
||||
```
|
||||
git remote add tuna https://mirrors.tuna.tsinghua.edu.cn/git/llvm/{reponame}.git
|
||||
```
|
||||
|
||||
或运行
|
||||
|
||||
```
|
||||
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/llvm/{reponame}.git
|
||||
```
|
||||
|
||||
将默认上游设置为 TUNA 镜像
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
category: news
|
||||
layout: news
|
||||
title: "新增 LLVM 编译器套件 Git 仓库镜像"
|
||||
author: Harry Chen
|
||||
---
|
||||
|
||||
TUNA 镜像站新增来自 LLVM 编译器套件的多个 Git 仓库镜像。
|
||||
|
||||
[LLVM](http://llvm.org) 是著名的开源编译器基础设施,由编译器后端(llvm)、编译器前端(clang)、调试器(lldb)、C++运行库(libcxx)等多个套件组成。
|
||||
为方便用户获取其源码,我们对官方的大部分仓库进行了镜像。详细说明以及使用方法请参见 [LLVM Git Repos 镜像使用帮助](help/llvm/)
|
||||
|
|
@ -61,6 +61,9 @@ var mir_tmpl = $("#template").text(),
|
|||
'CocoaPods': {
|
||||
'url': "/help/CocoaPods/"
|
||||
},
|
||||
'llvm': {
|
||||
'url': "/help/llvm/"
|
||||
}
|
||||
},
|
||||
descriptions = {
|
||||
{% for mir in site.data.mirror_desc %} '{{mir.name}}': '{{mir.desc}}' {% if forloop.index < forloop.length %},{% endif %}{% endfor %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue