Skip to content

Commit

Permalink
Quickfix: Using a certain older version of MLIR/LLVM.
Browse files Browse the repository at this point in the history
- This is a quick fix to issue daphne-eu#1, which should be addressed in a better way soon.
  • Loading branch information
pdamme committed Feb 11, 2021
1 parent 76d15bc commit aa2ee33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ llvmName=llvm-project
if [ ! -d $llvmName ]
then
git clone https://github.com/llvm/$llvmName.git
mkdir $llvmName/build
cd $llvmName/build
cd $llvmName
# We do not use the latest version of the MLIR/LLVM source code.
# See issue #1.
git checkout f1ff6d210a5fb45dc90d063d04b12b9da0ae4110
mkdir build
cd build
cmake -G Ninja ../llvm \
-DLLVM_ENABLE_PROJECTS=mlir \
-DLLVM_BUILD_EXAMPLES=ON \
Expand Down

0 comments on commit aa2ee33

Please sign in to comment.