Skip to content

Commit 38f4c24

Browse files
authored
Merge pull request #10051 from jsquyres/pr/remove-libompitrace
ompi/contrib: remove libompitrace
2 parents aeafbde + 0f51406 commit 38f4c24

28 files changed

+4
-1293
lines changed

autogen.pl

Lines changed: 3 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl
22
#
3-
# Copyright (c) 2009-2021 Cisco Systems, Inc. All rights reserved
3+
# Copyright (c) 2009-2022 Cisco Systems, Inc. All rights reserved
44
# Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
55
# Copyright (c) 2013 Mellanox Technologies, Inc.
66
# All rights reserved.
@@ -43,7 +43,6 @@
4343
# Data structures to fill up with all the stuff we find
4444
my $mca_found;
4545
my $mpiext_found;
46-
my $mpicontrib_found;
4746
my @subdirs;
4847

4948
# Command line parameters
@@ -243,7 +242,7 @@ sub process_autogen_subdirs {
243242
# Note: there's no real technical reason to defer
244243
# processing the subdirs. It's more of an aesthetic
245244
# reason -- don't interrupt the current flow of
246-
# finding mca / ext / contribs (which is a nice, fast
245+
# finding mca / ext (which is a nice, fast
247246
# process). Then process the subdirs (which is a slow
248247
# process) all at once.
249248
push(@subdirs, "$dir/$_");
@@ -715,93 +714,6 @@ sub mpiext_run_global {
715714
}
716715
}
717716

718-
##############################################################################
719-
720-
sub mpicontrib_process {
721-
my ($topdir, $contrib_prefix, $contribdir) = @_;
722-
723-
my $cdir = "$topdir/$contrib_prefix/$contribdir";
724-
return
725-
if (! -d $cdir);
726-
727-
# Process this directory (pretty much the same treatment as for
728-
# MCA components, so it's in a sub).
729-
my $found_contrib;
730-
731-
$found_contrib->{"name"} = $contribdir;
732-
733-
# Push the results onto the hash array
734-
push(@{$mpicontrib_found}, $found_contrib);
735-
736-
# Is there an autogen.subdirs in here?
737-
process_autogen_subdirs($cdir);
738-
}
739-
740-
##############################################################################
741-
742-
sub mpicontrib_run_global {
743-
my ($contrib_prefix) = @_;
744-
745-
my $topdir = Cwd::cwd();
746-
747-
my $dir = "$topdir/$contrib_prefix";
748-
opendir(DIR, $dir) ||
749-
my_die "Can't open $dir directory";
750-
foreach my $d (sort(readdir(DIR))) {
751-
# Skip any non-directory, "base", or any dir that begins with "."
752-
next
753-
if (! -d "$dir/$d" || $d eq "base" || substr($d, 0, 1) eq ".");
754-
755-
# If this directory has a configure.m4, then it's an
756-
# contrib.
757-
if (-f "$dir/$d/configure.m4") {
758-
verbose "=== Found $d MPI contrib";
759-
760-
# Check ignore status
761-
if (ignored("$dir/$d")) {
762-
verbose " (ignored)\n";
763-
} else {
764-
verbose "\n";
765-
mpicontrib_process($topdir, $contrib_prefix, $d);
766-
}
767-
}
768-
}
769-
closedir(DIR);
770-
debug_dump($mpicontrib_found);
771-
772-
#-----------------------------------------------------------------------
773-
774-
$m4 .= "\n$dnl_line
775-
$dnl_line
776-
$dnl_line
777-
778-
dnl Open MPI contrib information
779-
$dnl_line\n\n";
780-
781-
# Array for all the m4_includes that we'll need to pick up the
782-
# configure.m4's.
783-
my @includes;
784-
my $m4_config_contrib_list;
785-
786-
# Troll through each of the found contribs
787-
foreach my $contrib (@{$mpicontrib_found}) {
788-
my $c = $contrib->{name};
789-
push(@includes, "$contrib_prefix/$c/configure.m4");
790-
$m4_config_contrib_list .= ", $c";
791-
}
792-
793-
$m4_config_contrib_list =~ s/^, //;
794-
795-
# List the M4 and no configure contribs
796-
$m4 .= "dnl List of all MPI contribs
797-
m4_define([ompi_mpicontrib_list], [$m4_config_contrib_list])\n";
798-
# List out all the m4_include
799-
$m4 .= "\ndnl List of configure.m4 files to include\n";
800-
foreach my $i (@includes) {
801-
$m4 .= "m4_include([$i])\n";
802-
}
803-
}
804-
805717
##############################################################################
806718
# Find and remove stale files
807719

@@ -1690,15 +1602,11 @@ sub replace_config_sub_guess {
16901602

16911603
#---------------------------------------------------------------------------
16921604

1693-
# Find MPI extensions and contribs
1605+
# Find MPI extensions
16941606
if (!$no_ompi_arg) {
16951607
++$step;
16961608
verbose "\n$step. Searching for Open MPI extensions\n\n";
16971609
mpiext_run_global("ompi/mpiext");
1698-
1699-
++$step;
1700-
verbose "\n$step. Searching for Open MPI contribs\n\n";
1701-
mpicontrib_run_global("ompi/contrib");
17021610
}
17031611

17041612
#---------------------------------------------------------------------------

config/ompi_contrib.m4

Lines changed: 0 additions & 140 deletions
This file was deleted.

config/ompi_setup_contrib.m4

Lines changed: 0 additions & 29 deletions
This file was deleted.

configure.ac

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,15 +1251,6 @@ m4_ifdef([project_ompi], [OMPI_SETUP_MPI_EXT])
12511251
# checkpoint results
12521252
AC_CACHE_SAVE
12531253

1254-
##################################
1255-
# Contributed software
1256-
##################################
1257-
1258-
m4_ifdef([project_ompi], [OMPI_SETUP_CONTRIB])
1259-
1260-
# checkpoint results
1261-
AC_CACHE_SAVE
1262-
12631254
##################################
12641255
# Visibility
12651256
##################################

ompi/Makefile.am

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# University of Stuttgart. All rights reserved.
1010
# Copyright (c) 2004-2005 The Regents of the University of California.
1111
# All rights reserved.
12-
# Copyright (c) 2008-2019 Cisco Systems, Inc. All rights reserved
12+
# Copyright (c) 2008-2022 Cisco Systems, Inc. All rights reserved
1313
# Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
1414
# Copyright (c) 2010-2011 Sandia National Laboratories. All rights reserved.
1515
# Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights
@@ -92,7 +92,6 @@ SUBDIRS = \
9292
mpi/fortran/use-mpi-f08 \
9393
mpi/fortran/mpiext-use-mpi-f08 \
9494
$(MCA_ompi_FRAMEWORK_COMPONENT_DSO_SUBDIRS) \
95-
$(OMPI_CONTRIB_SUBDIRS) \
9695
mpi/man/man3 \
9796
mpi/man/man5
9897

@@ -128,7 +127,6 @@ DIST_SUBDIRS = \
128127
$(OMPI_MPIEXT_ALL_SUBDIRS) \
129128
$(MCA_ompi_FRAMEWORKS_SUBDIRS) \
130129
$(MCA_ompi_FRAMEWORK_COMPONENT_ALL_SUBDIRS) \
131-
$(OMPI_CONTRIB_DIST_SUBDIRS) \
132130
mpi/man/man3 \
133131
mpi/man/man5
134132

ompi/contrib/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)