Skip to content

Commit

Permalink
Install and document FileCheck usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Aug 26, 2024
1 parent 3c70410 commit 512f8fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ jobs:
run: |
sudo apt install llvm-18
llvm-mc-18 --version
FileCheck-18 --version
sudo ln -s $(whereis -b llvm-mc-18 | grep -Eo "/.*") /usr/local/bin/llvm-mc
sudo ln -s $(whereis -b FileCheck-18 | grep -Eo "/.*") /usr/local/bin/FileCheck
llvm-mc --version
FileCheck-18
- name: Clone llvm-capstone
run: |
Expand All @@ -65,6 +68,7 @@ jobs:
run: |
sudo apt remove llvm-18
sudo rm /usr/local/bin/llvm-mc
sudo rm /usr/local/bin/FileCheck
- name: Differ - Test save file is up-to-date
run: |
Expand Down
6 changes: 3 additions & 3 deletions suite/auto-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ cmake --build . --target llvm-tblgen --config Debug
cd ../../
```

#### Install `llvm-mc`
#### Install `llvm-mc` and `FileCheck`

Additionally, we need `llvm-mc` for generating our regression tests.
Additionally, we need `llvm-mc` and `FileCheck` to generate our regression tests.
You can build it, but it will take a lot of space on your hard drive.
You can also get the binaries [here](https://releases.llvm.org/download.html) or
install it with your package manager (usually something like `llvm-18-dev`).
Just ensure it is in your `PATH` as `llvm-mc`.
Just ensure it is in your `PATH` as `llvm-mc` and `FileCheck` (not as `llvm-mc-18` or similar though!).

## Architecture

Expand Down

0 comments on commit 512f8fe

Please sign in to comment.