Skip to content

Commit 0f61b54

Browse files
committed
cmake
1 parent 731ec4c commit 0f61b54

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

lib/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
add_subdirectory(polygeist)
1+
add_subdirectory(Conversion)
2+
add_subdirectory(Dialect)

lib/Conversion/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add_subdirectory(PolygeistToLLVM)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
add_mlir_conversion_library(MLIRPolygeistToLLVM
2+
PolygeistToLLVM.cpp
3+
4+
ADDITIONAL_HEADER_DIRS
5+
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/PolygeistToLLVM
6+
7+
DEPENDS
8+
MLIRPolygeistConversionPassIncGen
9+
10+
LINK_COMPONENTS
11+
Core
12+
13+
LINK_LIBS PUBLIC
14+
MLIRAsyncDialect
15+
MLIRFuncTransforms
16+
MLIRMathToLLVM
17+
MLIROpenMPToLLVM
18+
MLIRPass
19+
MLIRPolygeistDialect
20+
MLIRPolygeistTransforms
21+
MLIRSCFToControlFlow
22+
MLIRSYCLToLLVM
23+
MLIRSYCLToMath
24+
MLIRVectorToLLVM
25+
)

0 commit comments

Comments
 (0)