-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Major][Version] Update to LLVM 19.1 and merge MLIR dialect (#203)
- Loading branch information
Showing
122 changed files
with
16,009 additions
and
781 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright Allo authors. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: "Allo Test" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
# This job runs on Linux | ||
runs-on: ubuntu-latest | ||
container: | ||
image: chhzh123/allo:llvm-19.x-py3.12 | ||
|
||
steps: | ||
# https://github.com/actions/checkout/issues/363#issuecomment-1915075699 | ||
- name: Install git in container | ||
run: | | ||
apt-get install git | ||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
fetch-depth: 0 | ||
- name: Build Allo | ||
shell: bash | ||
run: | | ||
source activate allo | ||
export LLVM_BUILD_DIR=/root/llvm-project/build | ||
python3 -m pip install -v -e . | ||
- name: Formatting Check | ||
shell: bash | ||
run: | | ||
source activate allo | ||
bash scripts/lint/task_lint.sh | ||
- name: Testing | ||
shell: bash | ||
run: | | ||
source activate allo | ||
export PATH=/root/llvm-project/build/bin:${PATH} | ||
python3 -m pytest tests -v | ||
python3 -m pytest tutorials -v | ||
python3 -m pytest examples/polybench -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "externals/hcl_mlir"] | ||
path = externals/hcl_mlir | ||
url = https://github.com/cornell-zhang/hcl-dialect.git | ||
[submodule "externals/llvm-project"] | ||
path = externals/llvm-project | ||
url = https://github.com/llvm/llvm-project.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mlir/build/tools/allo/_mlir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.