-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
snapshot.zip filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
llvm-cmake/ | ||
llvm-gn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Snapshot tests | ||
|
||
This directory contains real-world outputs from tools that generate Ninja files. | ||
|
||
Because these outputs are large, they aren't checked in to the Ninja tree. | ||
Instead there is a `snapshot.zip` stored with Git LFS. Unpack it with | ||
|
||
``` | ||
$ unzip snapshot.zip | ||
``` | ||
|
||
## Test data | ||
|
||
### llvm-cmake | ||
|
||
`llvm-cmake/` contains LLVM build files generated by CMake. | ||
|
||
https://llvm.org/docs/GettingStarted.html (note they have a CMake-specific page | ||
that has instructions that don't work(?!)) | ||
|
||
``` | ||
$ cmake -G Ninja -B build -S llvm -DCMAKE_BUILD_TYPE=Release | ||
``` | ||
|
||
### llvm-gn | ||
|
||
`llvm-gn/` contains LLVM build files generated by the GN build system. | ||
|
||
Read llvm/utils/gn/README.rst in LLVM checkout for more, but in brief. | ||
|
||
``` | ||
$ llvm/utils/gn/get.py | ||
$ llvm/utils/gn/gn.py gen out/gn | ||
``` |
Git LFS file not shown