correct the symbol dllexports for windows build
This commit was SVN r26827.
Этот коммит содержится в:
родитель
fe9857adaa
Коммит
8c4a3e1269
@ -18,7 +18,7 @@ FILE(READ ${OpenMPI_SOURCE_DIR}/ompi/include/mpi.h.in MPI_H_IN)
|
|||||||
STRING(REGEX REPLACE "#undef ([-_a-zA-Z0-9]+)[ ]*\n" "#cmakedefine \\1 \${\\1}\n" MPI_H_OUT "${MPI_H_IN}")
|
STRING(REGEX REPLACE "#undef ([-_a-zA-Z0-9]+)[ ]*\n" "#cmakedefine \\1 \${\\1}\n" MPI_H_OUT "${MPI_H_IN}")
|
||||||
STRING(REPLACE "#cmakedefine OMPI_HAVE_FORTRAN_" "#define OMPI_HAVE_FORTRAN_" MPI_H_OUT "${MPI_H_OUT}")
|
STRING(REPLACE "#cmakedefine OMPI_HAVE_FORTRAN_" "#define OMPI_HAVE_FORTRAN_" MPI_H_OUT "${MPI_H_OUT}")
|
||||||
STRING(REPLACE "{OMPI_PROVIDE_MPI_FILE_INTERFACE}"
|
STRING(REPLACE "{OMPI_PROVIDE_MPI_FILE_INTERFACE}"
|
||||||
"{OMPI_PROVIDE_MPI_FILE_INTERFACE_VAL}" MPI_H_OUT "${MPI_H_OUT}")
|
"{OMPI_PROVIDE_MPI_FILE_INTERFACE}" MPI_H_OUT "${MPI_H_OUT}")
|
||||||
STRING(REPLACE "\${OMPI_WANT_CXX_BINDINGS}" "1" MPI_H_OUT "${MPI_H_OUT}")
|
STRING(REPLACE "\${OMPI_WANT_CXX_BINDINGS}" "1" MPI_H_OUT "${MPI_H_OUT}")
|
||||||
STRING(REPLACE "\${OMPI_WANT_FORTRAN_BINDINGS}" "1" MPI_H_OUT "${MPI_H_OUT}")
|
STRING(REPLACE "\${OMPI_WANT_FORTRAN_BINDINGS}" "1" MPI_H_OUT "${MPI_H_OUT}")
|
||||||
STRING(REPLACE "\${OMPI_WANT_F90_BINDINGS}" "1" MPI_H_OUT "${MPI_H_OUT}")
|
STRING(REPLACE "\${OMPI_WANT_F90_BINDINGS}" "1" MPI_H_OUT "${MPI_H_OUT}")
|
||||||
|
@ -22,21 +22,21 @@
|
|||||||
|
|
||||||
BEGIN_C_DECLS
|
BEGIN_C_DECLS
|
||||||
|
|
||||||
extern const char *opal_info_path_prefix;
|
OPAL_DECLSPEC extern const char *opal_info_path_prefix;
|
||||||
|
|
||||||
extern const char *opal_info_type_all;
|
OPAL_DECLSPEC extern const char *opal_info_type_all;
|
||||||
extern const char *opal_info_type_opal;
|
OPAL_DECLSPEC extern const char *opal_info_type_opal;
|
||||||
extern const char *opal_info_component_all;
|
OPAL_DECLSPEC extern const char *opal_info_component_all;
|
||||||
extern const char *opal_info_param_all;
|
extern const char *opal_info_param_all;
|
||||||
|
|
||||||
extern const char *opal_info_ver_full;
|
OPAL_DECLSPEC extern const char *opal_info_ver_full;
|
||||||
extern const char *opal_info_ver_major;
|
extern const char *opal_info_ver_major;
|
||||||
extern const char *opal_info_ver_minor;
|
extern const char *opal_info_ver_minor;
|
||||||
extern const char *opal_info_ver_release;
|
extern const char *opal_info_ver_release;
|
||||||
extern const char *opal_info_ver_greek;
|
extern const char *opal_info_ver_greek;
|
||||||
extern const char *opal_info_ver_repo;
|
extern const char *opal_info_ver_repo;
|
||||||
|
|
||||||
extern const char *opal_info_ver_all;
|
OPAL_DECLSPEC extern const char *opal_info_ver_all;
|
||||||
extern const char *opal_info_ver_mca;
|
extern const char *opal_info_ver_mca;
|
||||||
extern const char *opal_info_ver_type;
|
extern const char *opal_info_ver_type;
|
||||||
extern const char *opal_info_ver_component;
|
extern const char *opal_info_ver_component;
|
||||||
|
@ -27,7 +27,9 @@
|
|||||||
|
|
||||||
#include "opal/class/opal_pointer_array.h"
|
#include "opal/class/opal_pointer_array.h"
|
||||||
|
|
||||||
extern const char *orte_info_type_orte;
|
BEGIN_C_DECLS
|
||||||
|
|
||||||
|
OPAL_DECLSPEC extern const char *orte_info_type_orte;
|
||||||
|
|
||||||
ORTE_DECLSPEC void orte_info_register_types(opal_pointer_array_t *mca_types);
|
ORTE_DECLSPEC void orte_info_register_types(opal_pointer_array_t *mca_types);
|
||||||
|
|
||||||
@ -38,4 +40,6 @@ ORTE_DECLSPEC void orte_info_close_components(void);
|
|||||||
|
|
||||||
ORTE_DECLSPEC void orte_info_show_orte_version(const char *scope);
|
ORTE_DECLSPEC void orte_info_show_orte_version(const char *scope);
|
||||||
|
|
||||||
|
END_C_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user