Skip to content

Commit efe6b00

Browse files
committed
ABI library: don't include functions in 19.3.4/5
in the library as they are not part of the ABI. Signed-off-by: Howard Pritchard <[email protected]>
1 parent fedeb73 commit efe6b00

File tree

1 file changed

+35
-31
lines changed

1 file changed

+35
-31
lines changed

ompi/mpi/c/Makefile.am

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ prototype_sources = \
8989
cart_sub.c.in \
9090
close_port.c.in \
9191
comm_accept.c.in \
92-
comm_c2f.c.in \
9392
comm_call_errhandler.c.in \
9493
comm_compare.c.in \
9594
comm_connect.c.in \
@@ -102,7 +101,6 @@ prototype_sources = \
102101
comm_disconnect.c.in \
103102
comm_dup.c.in \
104103
comm_dup_with_info.c.in \
105-
comm_f2c.c.in \
106104
comm_free.c.in \
107105
comm_free_keyval.c.in \
108106
comm_get_attr.c.in \
@@ -133,20 +131,16 @@ prototype_sources = \
133131
dist_graph_create.c.in \
134132
dist_graph_neighbors.c.in \
135133
dist_graph_neighbors_count.c.in \
136-
errhandler_c2f.c.in \
137-
errhandler_f2c.c.in \
138134
errhandler_free.c.in \
139135
error_class.c.in \
140136
error_string.c.in \
141137
exscan.c.in \
142138
exscan_init.c.in \
143139
fetch_and_op.c.in \
144-
file_c2f.c.in \
145140
file_call_errhandler.c.in \
146141
file_close.c.in \
147142
file_create_errhandler.c.in \
148143
file_delete.c.in \
149-
file_f2c.c.in \
150144
file_get_amode.c.in \
151145
file_get_atomicity.c.in \
152146
file_get_byte_offset.c.in \
@@ -226,11 +220,9 @@ prototype_sources = \
226220
graph_neighbors_count.c.in \
227221
grequest_complete.c.in \
228222
grequest_start.c.in \
229-
group_c2f.c.in \
230223
group_compare.c.in \
231224
group_difference.c.in \
232225
group_excl.c.in \
233-
group_f2c.c.in \
234226
group_free.c.in \
235227
group_from_session_pset.c.in \
236228
group_incl.c.in \
@@ -259,12 +251,10 @@ prototype_sources = \
259251
ineighbor_alltoall.c.in \
260252
ineighbor_alltoallv.c.in \
261253
ineighbor_alltoallw.c.in \
262-
info_c2f.c.in \
263254
info_create.c.in \
264255
info_create_env.c.in \
265256
info_delete.c.in \
266257
info_dup.c.in \
267-
info_f2c.c.in \
268258
info_free.c.in \
269259
info_get.c.in \
270260
info_get_nkeys.c.in \
@@ -294,8 +284,6 @@ prototype_sources = \
294284
issend.c.in \
295285
is_thread_main.c.in \
296286
lookup_name.c.in \
297-
message_c2f.c.in \
298-
message_f2c.c.in \
299287
mprobe.c.in \
300288
mrecv.c.in \
301289
neighbor_allgather.c.in \
@@ -309,11 +297,9 @@ prototype_sources = \
309297
neighbor_alltoallw.c.in \
310298
neighbor_alltoallw_init.c.in \
311299
open_port.c.in \
312-
op_c2f.c.in \
313300
op_commutative.c.in \
314301
op_create.c.in \
315302
op_free.c.in \
316-
op_f2c.c.in \
317303
pack.c.in \
318304
pack_external.c.in \
319305
pack_external_size.c.in \
@@ -339,8 +325,6 @@ prototype_sources = \
339325
reduce_scatter.c.in \
340326
reduce_scatter_init.c.in \
341327
register_datarep.c.in \
342-
request_c2f.c.in \
343-
request_f2c.c.in \
344328
request_free.c.in \
345329
request_get_status.c.in \
346330
rget_accumulate.c.in \
@@ -358,10 +342,8 @@ prototype_sources = \
358342
send_init.c.in \
359343
sendrecv.c.in \
360344
sendrecv_replace.c.in \
361-
session_c2f.c.in \
362345
session_call_errhandler.c.in \
363346
session_create_errhandler.c.in \
364-
session_f2c.c.in \
365347
session_finalize.c.in \
366348
session_get_errhandler.c.in \
367349
session_get_info.c.in \
@@ -370,17 +352,10 @@ prototype_sources = \
370352
session_get_pset_info.c.in \
371353
session_init.c.in \
372354
session_set_errhandler.c.in \
373-
session_set_info.c.in \
374355
ssend.c.in \
375356
ssend_init.c.in \
376357
startall.c.in \
377358
start.c.in \
378-
status_c2f08.c.in \
379-
status_c2f.c.in \
380-
status_f082c.c.in \
381-
status_f082f.c.in \
382-
status_f2c.c.in \
383-
status_f2f08.c.in \
384359
status_get_error.c.in \
385360
status_get_source.c.in \
386361
status_get_tag.c.in \
@@ -396,7 +371,6 @@ prototype_sources = \
396371
test_cancelled.c.in \
397372
testsome.c.in \
398373
topo_test.c.in \
399-
type_c2f.c.in \
400374
type_commit.c.in \
401375
type_contiguous.c.in \
402376
type_create_darray.c.in \
@@ -413,7 +387,6 @@ prototype_sources = \
413387
type_create_subarray.c.in \
414388
type_delete_attr.c.in \
415389
type_dup.c.in \
416-
type_f2c.c.in \
417390
type_free.c.in \
418391
type_free_keyval.c.in \
419392
type_get_attr.c.in \
@@ -439,7 +412,6 @@ prototype_sources = \
439412
win_allocate.c.in \
440413
win_allocate_shared.c.in \
441414
win_attach.c.in \
442-
win_c2f.c.in \
443415
win_call_errhandler.c.in \
444416
win_complete.c.in \
445417
win_create.c.in \
@@ -455,7 +427,6 @@ prototype_sources = \
455427
win_flush_local.c.in \
456428
win_free.c.in \
457429
win_free_keyval.c.in \
458-
win_f2c.c.in \
459430
win_get_attr.c.in \
460431
win_get_errhandler.c.in \
461432
win_get_group.c.in \
@@ -477,7 +448,39 @@ prototype_sources = \
477448
win_wait.c.in \
478449
wtime.c.in
479450

451+
# See MPI-5 standard Chapter 20 section 4
452+
prototype_sources_not_in_abi = \
453+
comm_c2f.c.in \
454+
errhandler_c2f.c.in \
455+
file_c2f.c.in \
456+
group_c2f.c.in \
457+
info_c2f.c.in \
458+
message_c2f.c.in \
459+
op_c2f.c.in \
460+
request_c2f.c.in \
461+
session_c2f.c.in \
462+
status_c2f08.c.in \
463+
status_c2f.c.in \
464+
status_f082c.c.in \
465+
status_f082f.c.in \
466+
status_f2f08.c.in \
467+
type_c2f.c.in \
468+
win_c2f.c.in \
469+
comm_f2c.c.in \
470+
errhandler_f2c.c.in \
471+
file_f2c.c.in \
472+
group_f2c.c.in \
473+
info_f2c.c.in \
474+
message_f2c.c.in \
475+
op_f2c.c.in \
476+
request_f2c.c.in \
477+
session_f2c.c.in \
478+
status_f2c.c.in \
479+
type_f2c.c.in \
480+
win_f2c.c.in
481+
480482
EXTRA_DIST = $(prototype_sources) \
483+
$(prototype_sources_not_in_abi) \
481484
abi_converters.h \
482485
abi_get_info.c.in
483486

@@ -503,7 +506,8 @@ nobase_include_HEADERS = abi.h standard_abi/mpi.h
503506
# generated from prototype_sources above).
504507
#
505508
#
506-
interface_profile_sources = $(prototype_sources:.c.in=_ompi_generated.c)
509+
interface_profile_sources = $(prototype_sources:.c.in=_ompi_generated.c) \
510+
$(prototype_sources_not_in_abi:.c.in=_ompi_generated.c)
507511

508512

509513
# Conditionally install the header files
@@ -587,7 +591,7 @@ abi.h: $(top_srcdir)/docs/mpi-standard-apis.json $(top_srcdir)/ompi/mpi/bindings
587591
$<
588592
endif
589593

590-
MAINTAINERCLEANFILES = *_generated.c $(nobase_include_HEADERS)
594+
MAINTAINERCLEANFILES = *_generated.c abi_get_info.c abi_get_version.c $(nobase_include_HEADERS)
591595
if OMPI_STANDARD_ABI
592596
include Makefile_abi.include
593597
endif

0 commit comments

Comments
 (0)