Skip to content

Commit

Permalink
Add Peano wheel
Browse files Browse the repository at this point in the history
Peano is open source.  Use it.
  • Loading branch information
stephenneuendorffer committed Jun 7, 2024
1 parent 60a6198 commit 6909a7e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/buildAndTestRyzenAI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,21 @@ jobs:
# forever when configuring. Set the time to some arbitrary stamp in the past just to be safe.
find mlir -exec touch -a -m -t 201108231405.14 {} \;
pip -q download llvm-aie \
-f https://github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly
unzip -q llvm-aie*.whl
mkdir build
pushd build
export PATH=/opt/Xilinx/Vitis/2023.2/bin:/opt/Xilinx/Vitis/2023.2/aietools/bin:$PATH
export PATH=$VITIS/bin:$VITIS/aietools/bin:$PATH
cmake .. -G Ninja \
-DPython3_EXECUTABLE=$(which python) \
-DLLVM_EXTERNAL_LIT=$(which lit) \
-DCMAKE_INSTALL_PREFIX=$PWD/../mlir_aie \
-DCMAKE_MODULE_PATH=$PWD/../cmake/modulesXilinx \
-DMLIR_DIR=$PWD/../mlir/lib/cmake/mlir \
-DPEANO_INSTALL_DIR=$PWD/../llvm-aie \
$CMAKE_ARGS
ninja install
Expand Down Expand Up @@ -150,6 +155,10 @@ jobs:
# forever when configuring. Set the time to some arbitrary stamp in the past just to be safe.
find mlir -exec touch -a -m -t 201108231405.14 {} \;
pip -q download llvm-aie \
-f https://github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly
unzip -q llvm-aie*.whl
mkdir build
pushd build
Expand All @@ -160,6 +169,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=$PWD/../mlir_aie \
-DCMAKE_MODULE_PATH=$PWD/../cmake/modulesXilinx \
-DMLIR_DIR=$PWD/../mlir/lib/cmake/mlir \
-DPEANO_INSTALL_DIR=$PWD/../llvm-aie \
$CMAKE_ARGS
ninja install
Expand Down

0 comments on commit 6909a7e

Please sign in to comment.