@@ -380,6 +380,51 @@ nanobind_add_module(eudslpy_ext
380380 NB_STATIC
381381 NB_DOMAIN eudsl
382382 src/eudslpy_ext.cpp
383+ src/EUDSLGenacc.inc.cpp
384+ src/EUDSLGenaffine.inc.cpp
385+ src/EUDSLGenamdgpu.inc.cpp
386+ src/EUDSLGenamx.inc.cpp
387+ src/EUDSLGenarith.inc.cpp
388+ src/EUDSLGenarm_neon.inc.cpp
389+ src/EUDSLGenarm_sme.inc.cpp
390+ src/EUDSLGenarm_sve.inc.cpp
391+ src/EUDSLGenasync.inc.cpp
392+ src/EUDSLGenbufferization.inc.cpp
393+ src/EUDSLGencf.inc.cpp
394+ src/EUDSLGencomplex.inc.cpp
395+ src/EUDSLGenDLTIDialect.inc.cpp
396+ # src/EUDSLGenemitc.inc.cpp
397+ src/EUDSLGenfunc.inc.cpp
398+ src/EUDSLGengpu.inc.cpp
399+ src/EUDSLGenindex.inc.cpp
400+ # src/EUDSLGenirdl.inc.cpp
401+ # src/EUDSLGenlinalg.inc.cpp
402+ # src/EUDSLGenLLVM.inc.cpp
403+ src/EUDSLGenmath.inc.cpp
404+ src/EUDSLGenmemref.inc.cpp
405+ src/EUDSLGenmesh.inc.cpp
406+ src/EUDSLGenml_program.inc.cpp
407+ src/EUDSLGenmpi.inc.cpp
408+ src/EUDSLGennvgpu.inc.cpp
409+ src/EUDSLGenNVVM.inc.cpp
410+ # src/EUDSLGenomp.inc.cpp
411+ src/EUDSLGenpdl.inc.cpp
412+ src/EUDSLGenpdl_interp.inc.cpp
413+ src/EUDSLGenpolynomial.inc.cpp
414+ src/EUDSLGenptr.inc.cpp
415+ src/EUDSLGenquant.inc.cpp
416+ src/EUDSLGenROCDL.inc.cpp
417+ # src/EUDSLGenscf.inc.cpp
418+ # src/EUDSLGenshape.inc.cpp
419+ src/EUDSLGensparse_tensor.inc.cpp
420+ # src/EUDSLGenspirv.inc.cpp
421+ src/EUDSLGentensor.inc.cpp
422+ src/EUDSLGentosa.inc.cpp
423+ src/EUDSLGentransform.inc.cpp
424+ src/EUDSLGenub.inc.cpp
425+ # src/EUDSLGenvector.inc.cpp
426+ src/EUDSLGenx86vector.inc.cpp
427+ # src/EUDSLGenxegpu.inc.cpp
383428)
384429add_dependencies (eudslpy_ext
385430 EUDSLGenacc
@@ -400,7 +445,7 @@ add_dependencies(eudslpy_ext
400445 EUDSLGengpu
401446 EUDSLGenindex
402447# EUDSLGenirdl
403- EUDSLGenlinalg
448+ # EUDSLGenlinalg
404449# EUDSLGenLLVM
405450 EUDSLGenmath
406451 EUDSLGenmemref
@@ -416,10 +461,10 @@ add_dependencies(eudslpy_ext
416461 EUDSLGenptr
417462 EUDSLGenquant
418463 EUDSLGenROCDL
419- EUDSLGenscf
420- EUDSLGenshape
464+ # EUDSLGenscf
465+ # EUDSLGenshape
421466 EUDSLGensparse_tensor
422- EUDSLGenspirv
467+ # EUDSLGenspirv
423468 EUDSLGentensor
424469 EUDSLGentosa
425470 EUDSLGentransform
@@ -433,6 +478,10 @@ set_target_properties(eudslpy_ext
433478 LIBRARY_OUTPUT_DIRECTORY "${EUDSLPY_SRC_DIR} /eudsl"
434479)
435480target_link_libraries (eudslpy_ext PRIVATE MLIR)
481+ # hack - on GHA, linux, the build OOMs
482+ if ("$ENV{DISABLE_COMPILE_OPT} " MATCHES "true" )
483+ target_compile_options (eudslpy_ext PRIVATE -O0)
484+ endif ()
436485
437486# hack so we can move libMLIR and libLLVM into the wheel
438487# see AddLLVM.cmake#llvm_setup_rpath
0 commit comments