Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit a09b79b

Browse files
committed
Merge pull request #957 from jsquyres/pr/v2.0.0/rename-brks-to-brucks
brucks: rename the "brks" component to be "brucks"
2 parents d322953 + 305656b commit a09b79b

File tree

7 files changed

+79
-78
lines changed

7 files changed

+79
-78
lines changed

orte/mca/grpcomm/brucks/.opal_ignore

Whitespace-only changes.

orte/mca/grpcomm/brks/Makefile.am renamed to orte/mca/grpcomm/brucks/Makefile.am

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,30 @@
1010
# $HEADER$
1111
#
1212

13-
AM_CPPFLAGS = $(grpcomm_brks_CPPFLAGS)
13+
AM_CPPFLAGS = $(grpcomm_brucks_CPPFLAGS)
1414

1515
sources = \
16-
grpcomm_brks.h \
17-
grpcomm_brks.c \
18-
grpcomm_brks_component.c
16+
grpcomm_brucks.h \
17+
grpcomm_brucks_module.c \
18+
grpcomm_brucks_component.c
1919

20-
# Make the output library in this brksory, and name it either
20+
# Make the output library in this brucksory, and name it either
2121
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
2222
# (for static builds).
2323

24-
if MCA_BUILD_orte_grpcomm_brks_DSO
24+
if MCA_BUILD_orte_grpcomm_brucks_DSO
2525
component_noinst =
26-
component_install = mca_grpcomm_brks.la
26+
component_install = mca_grpcomm_brucks.la
2727
else
28-
component_noinst = libmca_grpcomm_brks.la
28+
component_noinst = libmca_grpcomm_brucks.la
2929
component_install =
3030
endif
3131

3232
mcacomponentdir = $(ortelibdir)
3333
mcacomponent_LTLIBRARIES = $(component_install)
34-
mca_grpcomm_brks_la_SOURCES = $(sources)
35-
mca_grpcomm_brks_la_LDFLAGS = -module -avoid-version
34+
mca_grpcomm_brucks_la_SOURCES = $(sources)
35+
mca_grpcomm_brucks_la_LDFLAGS = -module -avoid-version
3636

3737
noinst_LTLIBRARIES = $(component_noinst)
38-
libmca_grpcomm_brks_la_SOURCES =$(sources)
39-
libmca_grpcomm_brks_la_LDFLAGS = -module -avoid-version
38+
libmca_grpcomm_brucks_la_SOURCES =$(sources)
39+
libmca_grpcomm_brucks_la_LDFLAGS = -module -avoid-version

orte/mca/grpcomm/brks/grpcomm_brks.h renamed to orte/mca/grpcomm/brucks/grpcomm_brucks.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* $HEADER$
1010
*
1111
*/
12-
#ifndef GRPCOMM_BRKS_H
13-
#define GRPCOMM_BRKS_H
12+
#ifndef GRPCOMM_BRUCKS_H
13+
#define GRPCOMM_BRUCKS_H
1414

1515
#include "orte_config.h"
1616

@@ -23,8 +23,8 @@ BEGIN_C_DECLS
2323
* Grpcomm interfaces
2424
*/
2525

26-
ORTE_MODULE_DECLSPEC extern orte_grpcomm_base_component_t mca_grpcomm_brks_component;
27-
extern orte_grpcomm_base_module_t orte_grpcomm_brks_module;
26+
ORTE_MODULE_DECLSPEC extern orte_grpcomm_base_component_t mca_grpcomm_brucks_component;
27+
extern orte_grpcomm_base_module_t orte_grpcomm_brucks_module;
2828

2929
END_C_DECLS
3030

orte/mca/grpcomm/brks/grpcomm_brks_component.c renamed to orte/mca/grpcomm/brucks/grpcomm_brucks_component.c

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,45 +19,45 @@
1919

2020
#include "orte/util/proc_info.h"
2121

22-
#include "grpcomm_brks.h"
22+
#include "grpcomm_brucks.h"
2323

2424
static int my_priority=5;
25-
static int brks_open(void);
26-
static int brks_close(void);
27-
static int brks_query(mca_base_module_t **module, int *priority);
28-
static int brks_register(void);
25+
static int brucks_open(void);
26+
static int brucks_close(void);
27+
static int brucks_query(mca_base_module_t **module, int *priority);
28+
static int brucks_register(void);
2929

3030
/*
3131
* Struct of function pointers that need to be initialized
3232
*/
33-
orte_grpcomm_base_component_t mca_grpcomm_brks_component = {
33+
orte_grpcomm_base_component_t mca_grpcomm_brucks_component = {
3434
.base_version = {
3535
ORTE_GRPCOMM_BASE_VERSION_3_0_0,
3636

37-
.mca_component_name = "brks",
37+
.mca_component_name = "brucks",
3838
MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
3939
ORTE_RELEASE_VERSION),
40-
.mca_open_component = brks_open,
41-
.mca_close_component = brks_close,
42-
.mca_query_component = brks_query,
43-
.mca_register_component_params = brks_register,
40+
.mca_open_component = brucks_open,
41+
.mca_close_component = brucks_close,
42+
.mca_query_component = brucks_query,
43+
.mca_register_component_params = brucks_register,
4444
},
4545
.base_data = {
4646
/* The component is checkpoint ready */
4747
MCA_BASE_METADATA_PARAM_CHECKPOINT
4848
},
4949
};
5050

51-
static int brks_register(void)
51+
static int brucks_register(void)
5252
{
53-
mca_base_component_t *c = &mca_grpcomm_brks_component.base_version;
53+
mca_base_component_t *c = &mca_grpcomm_brucks_component.base_version;
5454

5555
/* make the priority adjustable so users can select
56-
* brks for use by apps without affecting daemons
56+
* brucks for use by apps without affecting daemons
5757
*/
5858
my_priority = 50;
5959
(void) mca_base_component_var_register(c, "priority",
60-
"Priority of the grpcomm brks component",
60+
"Priority of the grpcomm brucks component",
6161
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
6262
OPAL_INFO_LVL_9,
6363
MCA_BASE_VAR_SCOPE_READONLY,
@@ -66,19 +66,19 @@ static int brks_register(void)
6666
}
6767

6868
/* Open the component */
69-
static int brks_open(void)
69+
static int brucks_open(void)
7070
{
7171
return ORTE_SUCCESS;
7272
}
7373

74-
static int brks_close(void)
74+
static int brucks_close(void)
7575
{
7676
return ORTE_SUCCESS;
7777
}
7878

79-
static int brks_query(mca_base_module_t **module, int *priority)
79+
static int brucks_query(mca_base_module_t **module, int *priority)
8080
{
8181
*priority = my_priority;
82-
*module = (mca_base_module_t *)&orte_grpcomm_brks_module;
82+
*module = (mca_base_module_t *)&orte_grpcomm_brucks_module;
8383
return ORTE_SUCCESS;
8484
}

0 commit comments

Comments
 (0)