File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
ompi/mpi/bindings/ompi_bindings Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,19 @@ def output_constant(const, use_enum):
100100output .append ("\n " )
101101output .append ("/* MPI API */\n " )
102102for proc in std .all_iso_c_procedures ():
103- output .append (f"{ proc .express .iso_c } \n " )
103+ output .append (f"{ proc .express .iso_c } ;\n " )
104+ if proc .has_embiggenment ():
105+ output .append (f"{ proc .express .embiggen .iso_c } ;\n " )
104106
105107output .append ("\n " )
106108output .append ("/* Profiling MPI API */\n " )
107109for proc in std .all_iso_c_procedures ():
108- output .append (f"{ proc .express .profile .iso_c } \n " )
110+ output .append (f"{ proc .express .profile .iso_c } ;\n " )
111+ # TODO: this is a hack and we need to add/fix/figure out the pympistandard
112+ # module to natively print out an embiggened version
113+ if proc .has_embiggenment ():
114+ binding = proc .express .embiggen .iso_c .__str__ ().split ()
115+ output .append (f"{ binding [0 ]} P{ ' ' .join (binding [1 :])} ;\n " )
109116
110117# ================================ Final Output ================================
111118with open (consts .DIR / "abi.h" , 'tw' ) as header_out :
You can’t perform that action at this time.
0 commit comments