Use llvm-project we know that works.

This commit is contained in:
Tian Jin 2020-03-02 14:28:36 +08:00
parent 5357fc1421
commit f856f84c55
2 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,7 @@ jobs:
git submodule update --init --recursive git submodule update --init --recursive
# Use cached mlir installation if possible. # Use cached mlir installation if possible.
- restore_cache: - restore_cache:
key: V6-LLVM-PROJECT-{{ arch }} key: V7-LLVM-PROJECT-{{ arch }}
- run: - run:
name: Install MLIR name: Install MLIR
command: | command: |
@ -29,7 +29,7 @@ jobs:
source ONNF/utils/install-mlir.sh source ONNF/utils/install-mlir.sh
fi fi
- save_cache: - save_cache:
key: V6-LLVM-PROJECT-{{ arch }} key: V7-LLVM-PROJECT-{{ arch }}
paths: paths:
- llvm-project - llvm-project
- run: - run:

View File

@ -1,4 +1,6 @@
git clone https://github.com/llvm/llvm-project.git git clone https://github.com/llvm/llvm-project.git
# Check out a specific branch that is known to work with ONNF.
cd llvm-project && git checkout 391cc4dd41db934081c37ee523cb2149bf0e3a41 && cd ..
mkdir llvm-project/build mkdir llvm-project/build
cd llvm-project/build cd llvm-project/build
cmake -G Ninja ../llvm \ cmake -G Ninja ../llvm \