File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/eudsl)
4343set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin)
4444
4545add_compile_options (-Wno-cast-qual -Wno-deprecated-literal-operator)
46- nanobind_add_module(eudsl_ext NB_STATIC STABLE_ABI
46+ nanobind_add_module(eudsl_ext
47+ NB_STATIC STABLE_ABI
48+ NB_DOMAIN eudsl
4749 eudsl_ext.cpp
4850 ir.cpp
4951 arith.cpp
@@ -60,9 +62,10 @@ target_link_libraries(eudsl_ext PRIVATE
6062 MLIRSCFDialect
6163 MLIRAffineDialect
6264)
63- target_compile_options (eudsl_ext
65+ target_compile_options (nanobind- static -abi3
6466 PRIVATE
6567 -Wno-cast-qual
68+ -Wno-covered-switch-default
6669 $<$<PLATFORM_ID:Linux>:-fexceptions -frtti>
6770 $<$<PLATFORM_ID:Darwin>:-fexceptions -frtti>
6871 $<$<PLATFORM_ID:Windows>:/EHsc /GR>)
You can’t perform that action at this time.
0 commit comments