File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 2323 steps :
2424 - uses : actions/checkout@v4
2525
26+ - name : Cache LLVM build
27+ uses : actions/cache@v3
28+ with :
29+ # Adjust these paths to match where LLVM is built and installed
30+ path : |
31+ Asa-LLVM-Compiled/build
32+ /usr/local/llvm
33+ key : llvm-build-${{ hashFiles('Asa-LLVM-Compiled/llvm/**', 'Asa-LLVM-Compiled/build/CMakeCache.txt') }}
34+ restore-keys : |
35+ llvm-build-
36+
2637
2738 - name : Set up Ninja
2839 uses : ashutoshvarma/setup-ninja@93f8b9763516f1fb9b4d9840b12d844bee17791f
@@ -39,13 +50,13 @@ jobs:
3950# uses: ZhongRuoyu/setup-llvm@v0.1.1
4051# with:
4152# llvm-version: 20
42-
53+
54+
4355
4456 - name : Setup LLVM
4557 run : |
4658 git clone --depth 1 https://github.com/sam-astro/Asa-LLVM-Compiled
4759 cd Asa-LLVM-Compiled
48- sudo rm -r build
4960 mkdir build
5061 cmake -S llvm -B build -G Ninja -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE=MinSizeRel
5162 cd build
You can’t perform that action at this time.
0 commit comments