Skip to content

Commit 2d19dde

Browse files
Update apple-x86 CI and README
Signed-off-by: FedericoBruzzone <[email protected]>
1 parent a16ac2a commit 2d19dde

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/apple-x86.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Apple Silicon
1+
name: Apple x86
22

33
on:
44
push:
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: macos-14
13+
runs-on: macos-15-intel
1414
strategy:
1515
matrix:
1616
type: [Debug, Release]
@@ -33,9 +33,9 @@ jobs:
3333
run: |
3434
cd $GITHUB_WORKSPACE
3535
mkdir build && cd build
36-
cmake -DLLVM_INSTALL_DIR="/opt/homebrew/opt/llvm@21/" -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../
36+
cmake -DLLVM_INSTALL_DIR="/usr/local/opt/llvm@21/" -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../
3737
make -j2
3838
- name: Run tests for `llvm-pass-template`
3939
run: |
4040
cd $GITHUB_WORKSPACE/build
41-
lit -va ../test/
41+
lit -va ./test/

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1+
[ubuntu-x86]: https://github.com/FedericoBruzzone/llvm-pass-template/actions/workflows/ubuntu-x86.yml
2+
[ubuntu-x86-shield]: https://github.com/FedericoBruzzone/llvm-pass-template/actions/workflows/ubuntu-x86.yml/badge.svg
3+
[apple-silicon]: https://github.com/FedericoBruzzone/llvm-pass-template/actions/workflows/apple-silicon.yml
4+
[apple-silicon-shield]: https://github.com/FedericoBruzzone/llvm-pass-template/actions/workflows/apple-silicon.yml/badge.svg
5+
[apple-x86]: https://github.com/FedericoBruzzone/llvm-pass-template/actions/workflows/apple-x86.yml
6+
[apple-x86-shield]: https://github.com/FedericoBruzzone/llvm-pass-template/actions/workflows/apple-x86.yml/badge.svg
7+
18
# LLVM Pass Template
29

10+
[![Ubuntu x86][ubuntu-x86-shield]][ubuntu-x86]
11+
[![Apple Silicon][apple-silicon-shield]][apple-silicon]
12+
[![Apple x86][apple-x86-shield]][apple-x86]
13+
314
This repository provides a template to create your own LLVM passes using LLVM 21, drawing heavily on [llvm-tutor](https://github.com/banach-space/llvm-tutor) and [Writing an LLVM Pass](https://llvm.org/docs/WritingAnLLVMNewPMPass.html).
415

516
It allows you to quickly bootstrap new _out-of-tree_ LLVM passes with minimal effort — that is, without the need to build LLVM from sources.

0 commit comments

Comments
 (0)