Use the exact commit id specified in clang-ykt/llvm-project.

This commit is contained in:
Tian Jin 2020-03-03 00:18:59 +08:00
parent 04dd904ca7
commit 47831749ce
3 changed files with 4 additions and 4 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: V8-LLVM-PROJECT-{{ arch }} key: V9-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: V8-LLVM-PROJECT-{{ arch }} key: V9-LLVM-PROJECT-{{ arch }}
paths: paths:
- llvm-project - llvm-project
- run: - run:

View File

@ -19,7 +19,7 @@ Firstly, install MLIR (as a part of LLVM-Project):
``` bash ``` bash
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. # Check out a specific branch that is known to work with ONNF.
cd llvm-project && git checkout 476ca094c846a0b6d4d9f37710aba21a6b0b265a && cd .. cd llvm-project && git checkout 076475713c236081a3247a53e9dbab9043c3eac2 && 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 \

View File

@ -1,6 +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. # Check out a specific branch that is known to work with ONNF.
cd llvm-project && git checkout 476ca094c846a0b6d4d9f37710aba21a6b0b265a && cd .. cd llvm-project && git checkout 076475713c236081a3247a53e9dbab9043c3eac2 && 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 \