Skip to content

Commit

Permalink
Add vitis components to ryzenai cmake args
Browse files Browse the repository at this point in the history
  • Loading branch information
fifield committed Oct 22, 2024
1 parent 4e627cc commit d63855b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/buildAndTestRyzenAI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ env:
-DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
-DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
-DXRT_ROOT=/opt/xilinx/xrt \
-DAIE_VITIS_COMPONENTS=AIE2;AIE2P \
-DAIE_ENABLE_PYTHON_PASSES=OFF \
-DAIE_ENABLE_XRT_PYTHON_BINDINGS=ON \
-DAIE_INCLUDE_INTEGRATION_TESTS=OFF
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildAndTestRyzenAISw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
-DAIE_ENABLE_PYTHON_PASSES=OFF \
-DAIE_ENABLE_XRT_PYTHON_BINDINGS=ON \
-DAIE_INCLUDE_INTEGRATION_TESTS=OFF \
-DAIE_VITIS_COMPOONENTS=AIE2 \
-DAIE_VITIS_COMPOONENTS=AIE2;AIE2P \
-DPython3_EXECUTABLE=$(which python) \
-DLLVM_EXTERNAL_LIT=$(which lit) \
-DCMAKE_INSTALL_PREFIX=/workspace/install \
Expand Down
1 change: 1 addition & 0 deletions utils/build-mlir-aie-from-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ CMAKE_CONFIGS="\
-DLLVM_ENABLE_ASSERTIONS=ON \
-DAIE_ENABLE_BINDINGS_PYTHON=ON \
-DLLVM_ENABLE_RTTI=$LLVM_ENABLE_RTTI \
-DAIE_VITIS_COMPONENTS=AIE2;AIE2P \
-DAIE_RUNTIME_TARGETS=x86_64 \
-DAIE_RUNTIME_TEST_TARGET=x86_64 "

Expand Down
1 change: 1 addition & 0 deletions utils/mlir_aie_wheels/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
"-DCMAKE_PLATFORM_NO_VERSIONED_SONAME=ON",
"-DLLVM_CCACHE_BUILD=ON",
f"-DLLVM_ENABLE_RTTI={os.getenv('ENABLE_RTTI', 'ON')}",
"-DAIE_VITIS_COMPONENTS=AIE2;AIE2P",
"-DAIE_ENABLE_BINDINGS_PYTHON=ON",
"-DAIE_ENABLE_PYTHON_PASSES=OFF",
"-DMLIR_DETECT_PYTHON_ENV_PRIME_SEARCH=ON",
Expand Down

0 comments on commit d63855b

Please sign in to comment.