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
7 lines
108 B
Python
7 lines
108 B
Python
# RUN: %PYTHON %s | FileCheck %s
|
|
|
|
import mlir
|
|
|
|
# CHECK: From the native module
|
|
print(mlir.get_test_value())
|