mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[Docs] Mention clone depth feature of git in LLVM getting started
The current size of the llvm-project repository exceeds 1 GB. A shallow clone can save a lot of space and time. Some developers might not aware of this feature. Reviewed By: awarzynski Differential Revision: https://reviews.llvm.org/D97118
This commit is contained in:
parent
7890411c6d
commit
4ad2cda5ee
@ -38,6 +38,10 @@ This is an example workflow and configuration to get and build the LLVM source:
|
||||
* ``git clone https://github.com/llvm/llvm-project.git``
|
||||
* Or, on windows, ``git clone --config core.autocrlf=false
|
||||
https://github.com/llvm/llvm-project.git``
|
||||
* To save storage and speed-up the checkout time, you may want to do a
|
||||
`shallow clone <https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt>`_.
|
||||
For example, to get the latest revision of the LLVM project, use
|
||||
``git clone --depth 1 https://github.com/llvm/llvm-project.git``
|
||||
|
||||
#. Configure and build LLVM and Clang:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user