Skip to content

Commit 5764277

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 24cbbca commit 5764277

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
request_get_status_all.c.in \
@@ -361,10 +345,8 @@ prototype_sources = \
361345
send_init.c.in \
362346
sendrecv.c.in \
363347
sendrecv_replace.c.in \
364-
session_c2f.c.in \
365348
session_call_errhandler.c.in \
366349
session_create_errhandler.c.in \
367-
session_f2c.c.in \
368350
session_finalize.c.in \
369351
session_get_errhandler.c.in \
370352
session_get_info.c.in \
@@ -373,17 +355,10 @@ prototype_sources = \
373355
session_get_pset_info.c.in \
374356
session_init.c.in \
375357
session_set_errhandler.c.in \
376-
session_set_info.c.in \
377358
ssend.c.in \
378359
ssend_init.c.in \
379360
startall.c.in \
380361
start.c.in \
381-
status_c2f08.c.in \
382-
status_c2f.c.in \
383-
status_f082c.c.in \
384-
status_f082f.c.in \
385-
status_f2c.c.in \
386-
status_f2f08.c.in \
387362
status_get_error.c.in \
388363
status_get_source.c.in \
389364
status_get_tag.c.in \
@@ -399,7 +374,6 @@ prototype_sources = \
399374
test_cancelled.c.in \
400375
testsome.c.in \
401376
topo_test.c.in \
402-
type_c2f.c.in \
403377
type_commit.c.in \
404378
type_contiguous.c.in \
405379
type_create_darray.c.in \
@@ -416,7 +390,6 @@ prototype_sources = \
416390
type_create_subarray.c.in \
417391
type_delete_attr.c.in \
418392
type_dup.c.in \
419-
type_f2c.c.in \
420393
type_free.c.in \
421394
type_free_keyval.c.in \
422395
type_get_attr.c.in \
@@ -442,7 +415,6 @@ prototype_sources = \
442415
win_allocate.c.in \
443416
win_allocate_shared.c.in \
444417
win_attach.c.in \
445-
win_c2f.c.in \
446418
win_call_errhandler.c.in \
447419
win_complete.c.in \
448420
win_create.c.in \
@@ -458,7 +430,6 @@ prototype_sources = \
458430
win_flush_local.c.in \
459431
win_free.c.in \
460432
win_free_keyval.c.in \
461-
win_f2c.c.in \
462433
win_get_attr.c.in \
463434
win_get_errhandler.c.in \
464435
win_get_group.c.in \
@@ -480,7 +451,39 @@ prototype_sources = \
480451
win_wait.c.in \
481452
wtime.c.in
482453

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

@@ -506,7 +509,8 @@ nobase_include_HEADERS = abi.h standard_abi/mpi.h
506509
# generated from prototype_sources above).
507510
#
508511
#
509-
interface_profile_sources = $(prototype_sources:.c.in=_ompi_generated.c)
512+
interface_profile_sources = $(prototype_sources:.c.in=_ompi_generated.c) \
513+
$(prototype_sources_not_in_abi:.c.in=_ompi_generated.c)
510514

511515

512516
# Conditionally install the header files
@@ -590,7 +594,7 @@ abi.h: $(top_srcdir)/docs/mpi-standard-apis.json $(top_srcdir)/ompi/mpi/bindings
590594
$<
591595
endif
592596

593-
MAINTAINERCLEANFILES = *_generated.c $(nobase_include_HEADERS)
597+
MAINTAINERCLEANFILES = *_generated.c abi_get_info.c abi_get_version.c $(nobase_include_HEADERS)
594598
if OMPI_STANDARD_ABI
595599
include Makefile_abi.include
596600
endif

0 commit comments

Comments
 (0)