Skip to content

Commit 0258ed5

Browse files
authored
Merge pull request #6252 from ggouaillardet/topic/v4.0.x/pmix-v3.1
pmix/ext3x: fix support for external PMIx v3.1
2 parents 66c8694 + 61108b6 commit 0258ed5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

opal/mca/pmix/pmix3x/pmix3x.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22
/*
33
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
4-
* Copyright (c) 2014-2017 Research Organization for Information Science
5-
* and Technology (RIST). All rights reserved.
4+
* Copyright (c) 2014-2019 Research Organization for Information Science
5+
* and Technology (RIST). All rights reserved.
66
* Copyright (c) 2014-2015 Mellanox Technologies, Inc.
77
* All rights reserved.
88
* Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
@@ -1106,10 +1106,12 @@ int pmix3x_value_unload(opal_value_t *kv,
11061106
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
11071107
rc = OPAL_ERR_NOT_SUPPORTED;
11081108
break;
1109+
#ifdef PMIX_MODEX
11091110
case PMIX_MODEX:
11101111
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
11111112
rc = OPAL_ERR_NOT_SUPPORTED;
11121113
break;
1114+
#endif /* PMIX_MODEX */
11131115
case PMIX_PERSIST:
11141116
kv->type = OPAL_PERSIST;
11151117
kv->data.uint8 = pmix3x_convert_persist(v->data.persist);
@@ -1218,10 +1220,12 @@ int pmix3x_value_unload(opal_value_t *kv,
12181220
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
12191221
rc = OPAL_ERR_NOT_SUPPORTED;
12201222
break;
1223+
#ifdef PMIX_INFO_ARRAY
12211224
case PMIX_INFO_ARRAY:
12221225
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
12231226
rc = OPAL_ERR_NOT_SUPPORTED;
12241227
break;
1228+
#endif /* PMIX_INFO_ARRAY */
12251229
case PMIX_IOF_CHANNEL:
12261230
OPAL_ERROR_LOG(OPAL_ERR_NOT_SUPPORTED);
12271231
rc = OPAL_ERR_NOT_SUPPORTED;

0 commit comments

Comments
 (0)