1
1

* Fix the "make dist" build (in part by disabling bootproxy's code)

This commit was SVN r1943.
Этот коммит содержится в:
Brian Barrett 2004-08-06 22:41:26 +00:00
родитель 1ed7c44d2a
Коммит 5e60936f54
2 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -4,7 +4,7 @@
include $(top_ompi_srcdir)/config/Makefile.options include $(top_ompi_srcdir)/config/Makefile.options
SUBDIRS = SUBDIRS = bootproxy
noinst_LTLIBRARIES = libmca_pcm_rsh.la noinst_LTLIBRARIES = libmca_pcm_rsh.la
libmca_pcm_rsh_la_SOURCES = \ libmca_pcm_rsh_la_SOURCES = \

Просмотреть файл

@ -7,7 +7,9 @@
#include "util/cmd_line.h" #include "util/cmd_line.h"
#include "mca/base/base.h" #include "mca/base/base.h"
#include "mca/pcm/rsh/src/pcm_rsh.h" #include "mca/pcm/rsh/src/pcm_rsh.h"
#if 0
#include "mca/pcm/base/pcm_base_pack_unpack.h" #include "mca/pcm/base/pcm_base_pack_unpack.h"
#endif
/* Timeout for socket listens */ /* Timeout for socket listens */
@ -25,12 +27,12 @@ FILE *debug;
/* Global static variables */ /* Global static variables */
#if 0
static int *vpid_success; static int *vpid_success;
static int cmd_argc; static int cmd_argc;
static char **cmd_argv; static char **cmd_argv;
static ompi_value_array_t *hostmap; static ompi_value_array_t *hostmap;
#endif
/** /**
* Bootproxy is a relay proxy for rsh PCM purposes. It will start on * Bootproxy is a relay proxy for rsh PCM purposes. It will start on
* each remot e node where processes needs to be launched before any * each remot e node where processes needs to be launched before any
@ -47,6 +49,8 @@ static ompi_value_array_t *hostmap;
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
return 0;
#if 0
int ret; int ret;
int sockfd, peer_port; int sockfd, peer_port;
char *peer_address; char *peer_address;
@ -358,4 +362,5 @@ int main(int argc, char *argv[])
fprintf(debug, "All done in bootproxy - over and out \n"); fprintf(debug, "All done in bootproxy - over and out \n");
fflush(debug); fflush(debug);
return 0; return 0;
#endif
} }