-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
on-going draft to introduce initial circle-mlir project. Signed-off-by: SaeHie Park <[email protected]>
- Loading branch information
1 parent
9cedc06
commit be58ac2
Showing
48 changed files
with
4,365 additions
and
1 deletion.
There are no files selected for viewing
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,2 @@ | ||
Makefile | ||
build |
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,6 @@ | ||
include(UseMLIR) | ||
include(UseAbseil) | ||
|
||
add_subdirectory(lib) | ||
add_subdirectory(tools) | ||
add_subdirectory(tools-test) |
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,9 @@ | ||
add_subdirectory(tools) | ||
|
||
add_subdirectory(arser) | ||
add_subdirectory(schema) | ||
add_subdirectory(dialect) | ||
#add_subdirectory(utils) | ||
#add_subdirectory(pass) | ||
#add_subdirectory(import) | ||
#add_subdirectory(export) |
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,19 @@ | ||
add_library(arser INTERFACE) | ||
|
||
# It specifies INTERFACE so that future targets linked with arser library will inherit its include directory. | ||
# It means that a developer who want to link arser just need to add one line. | ||
# target_link_library(another-users-target arser) | ||
target_include_directories(arser INTERFACE include/) | ||
|
||
# NOTE test for arser are removed. | ||
# instead, add arser_validate to validate header compilation. | ||
add_library(arser_validate STATIC src/arser.cpp) | ||
target_link_libraries(arser_validate PUBLIC arser) | ||
|
||
if(NOT ENABLE_TEST) | ||
return() | ||
endif() | ||
|
||
GTest_AddTest(arser_test test/arser.test.cpp) | ||
target_link_libraries(arser_test arser) | ||
target_link_libraries(arser_test cirmlir_coverage) |
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,3 @@ | ||
# arser | ||
|
||
From https://github.com/Samsung/ONE/tree/d808a9973093bf8062a253d5c8f66072d7100551/compiler/arser |
Oops, something went wrong.