2020-04-11 03:57:18 +08:00
|
|
|
# Enable errors for any global constructors.
|
|
|
|
add_flag_if_supported("-Werror=global-constructors" WERROR_GLOBAL_CONSTRUCTOR)
|
|
|
|
|
2019-03-30 13:10:12 +08:00
|
|
|
add_subdirectory(Analysis)
|
Initial boiler-plate for python bindings.
Summary:
* Native '_mlir' extension module.
* Python mlir/__init__.py trampoline module.
* Lit test that checks a message.
* Uses some cmake configurations that have worked for me in the past but likely needs further elaboration.
Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes
Tags: #mlir
Differential Revision: https://reviews.llvm.org/D83279
2020-07-07 14:05:46 +08:00
|
|
|
add_subdirectory(Bindings)
|
2019-06-14 16:56:19 +08:00
|
|
|
add_subdirectory(Conversion)
|
2019-03-30 13:10:12 +08:00
|
|
|
add_subdirectory(Dialect)
|
|
|
|
add_subdirectory(EDSC)
|
|
|
|
add_subdirectory(ExecutionEngine)
|
|
|
|
add_subdirectory(IR)
|
2020-03-11 03:20:24 +08:00
|
|
|
add_subdirectory(Interfaces)
|
2019-03-30 13:10:12 +08:00
|
|
|
add_subdirectory(Parser)
|
|
|
|
add_subdirectory(Pass)
|
2020-07-08 07:42:40 +08:00
|
|
|
add_subdirectory(Reducer)
|
2020-10-27 08:24:17 +08:00
|
|
|
add_subdirectory(Rewrite)
|
2019-03-30 13:10:12 +08:00
|
|
|
add_subdirectory(Support)
|
|
|
|
add_subdirectory(TableGen)
|
|
|
|
add_subdirectory(Target)
|
|
|
|
add_subdirectory(Transforms)
|
Initial boiler-plate for python bindings.
Summary:
* Native '_mlir' extension module.
* Python mlir/__init__.py trampoline module.
* Lit test that checks a message.
* Uses some cmake configurations that have worked for me in the past but likely needs further elaboration.
Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes
Tags: #mlir
Differential Revision: https://reviews.llvm.org/D83279
2020-07-07 14:05:46 +08:00
|
|
|
add_subdirectory(Translation)
|