[Mlir-commits] [mlir] [mlir][python] C++ API demo (PR #71133)
Mehdi Amini
llvmlistbot at llvm.org
Fri Nov 3 17:06:41 PDT 2023
================
@@ -607,11 +607,13 @@ if(MLIR_INCLUDE_TESTS)
ROOT_DIR "${MLIR_SOURCE_DIR}/test/python/lib"
SOURCES
PythonTestModule.cpp
+ PythonTestPass.cpp
PRIVATE_LINK_LIBS
LLVMSupport
EMBED_CAPI_LINK_LIBS
MLIRCAPIPythonTestDialect
)
+ set_source_files_properties(${MLIR_SOURCE_DIR}/test/python/lib/PythonTestPass.cpp PROPERTIES COMPILE_FLAGS -fno-rtti)
----------------
joker-eph wrote:
Why this?
https://github.com/llvm/llvm-project/pull/71133
More information about the Mlir-commits
mailing list