Skip to content

Commit

Permalink
external lit, build is no secret
Browse files Browse the repository at this point in the history
  • Loading branch information
rengolin committed Jan 30, 2024
1 parent e2b9aa8 commit eff7e8b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,21 @@ jobs:
run: |
echo "LLVM_DIR=${{ secrets.LLVM_ROOT }}/$(cat build_tools/llvm_version.txt)" >> $GITHUB_ENV
- name: Install Python Requirements
run: |
pip install --upgrade --user lit
echo "LLVM_LIT=~/.local/bin/lit" >> $GITHUB_ENV
- name: CMake
run: |
mkdir -p ${{ secrets.BUILD_DIR }}
mkdir -p build
cmake -G Ninja -B${{ secrets.BUILD_DIR }} . \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DMLIR_DIR=${{ env.LLVM_DIR }}/lib/cmake/mlir \
-DLLVM_EXTERNAL_LIT=${{ env.LLVM_DIR }}/bin/llvm-lit
-DLLVM_EXTERNAL_LIT=${{ env.LLVM_LIT }}
- name: Build
run: ninja -C ${{ secrets.BUILD_DIR }} all
run: ninja -C build all

- name: Test
run: ninja -C ${{ secrets.BUILD_DIR }} check-all
run: ninja -C build check-all

0 comments on commit eff7e8b

Please sign in to comment.