Skip to content

Commit d66ac3a

Browse files
authored
Fixed issue with dynamically linking PyTorch module on Mac OSX (horovod#494)
* Fixed issue with dynamically linking PyTorch module on Mac OSX due to hidden symbol * Changed to kleene star matching for consistency
1 parent fa6f7db commit d66ac3a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

horovod.exp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*horovod*
22
# PyTorch binding
33
*PyInit*
4-
initmpi_lib_v2
4+
*initmpi_lib_v2*
55
# Legacy PyTorch binding
6-
init_mpi_lib
7-
init_mpi_lib_impl
6+
*init_mpi_lib*
7+
*init_mpi_lib_impl*

horovod.lds

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
*horovod*;
44
# PyTorch binding
55
*PyInit*;
6-
initmpi_lib_v2;
6+
*initmpi_lib_v2*;
77
# Legacy PyTorch binding
8-
init_mpi_lib;
9-
init_mpi_lib_impl;
8+
*init_mpi_lib*;
9+
*init_mpi_lib_impl*;
1010
local: *;
1111
};

0 commit comments

Comments
 (0)