Many thanks to Ralf W. for finding a subtle bug in these Makefile.am's
that can *sometimes* cause problems with "make -j [N>1] install". Ensure to make the target directory before we copy stuff into it -- read the thread starting here for more details: http://www.open-mpi.org/community/lists/devel/2008/06/4080.php This commit was SVN r18570.
Этот коммит содержится в:
родитель
8ce4b64b5a
Коммит
75a97ebbf0
@ -9,6 +9,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -16,23 +17,19 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
|
||||
|
||||
ompi_config_files = \
|
||||
openmpi-totalview.tcl
|
||||
|
||||
EXTRA_DIST = $(ompi_config_files)
|
||||
|
||||
# This has to be here, even though it's empty, so that AM thinks that
|
||||
# "something" will happen here (details fuzzy, but we remember that this
|
||||
# *needs* to be here -- you have been warned).
|
||||
|
||||
sysconf_DATA =
|
||||
|
||||
# Steal a little trickery from a generated Makefile to only install
|
||||
# files if they do not already exist at the target.
|
||||
# files if they do not already exist at the target. Be sure to read
|
||||
# thread starting here
|
||||
# (http://www.open-mpi.org/community/lists/devel/2008/06/4080.php) for
|
||||
# details why the mkdir is in install-data-local.
|
||||
|
||||
install-data-local:
|
||||
$(mkdir_p) $(DESTDIR)$(sysconfdir)
|
||||
@ p="$(ompi_config_files)"; \
|
||||
for file in $$p; do \
|
||||
if test -f $(DESTDIR)$(sysconfdir)/$$file; then \
|
||||
|
@ -9,6 +9,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -16,23 +17,19 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
|
||||
|
||||
opal_config_files = \
|
||||
openmpi-mca-params.conf
|
||||
|
||||
EXTRA_DIST = $(opal_config_files)
|
||||
|
||||
# This has to be here, even though it's empty, so that AM thinks that
|
||||
# "something" will happen here (details fuzzy, but we remember that this
|
||||
# *needs* to be here -- you have been warned).
|
||||
|
||||
sysconf_DATA =
|
||||
|
||||
# Steal a little trickery from a generated Makefile to only install
|
||||
# files if they do not already exist at the target.
|
||||
# files if they do not already exist at the target. Be sure to read
|
||||
# thread starting here
|
||||
# (http://www.open-mpi.org/community/lists/devel/2008/06/4080.php) for
|
||||
# details why the mkdir is in install-data-local.
|
||||
|
||||
install-data-local:
|
||||
$(mkdir_p) $(DESTDIR)$(sysconfdir)
|
||||
@ p="$(opal_config_files)"; \
|
||||
for file in $$p; do \
|
||||
if test -f $(DESTDIR)$(sysconfdir)/$$file; then \
|
||||
|
@ -9,6 +9,7 @@
|
||||
# University of Stuttgart. All rights reserved.
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -16,23 +17,19 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
|
||||
|
||||
orte_config_files = \
|
||||
openmpi-default-hostfile
|
||||
|
||||
EXTRA_DIST = $(orte_config_files)
|
||||
|
||||
# This has to be here, even though it's empty, so that AM thinks that
|
||||
# "something" will happen here (details fuzzy, but we remember that this
|
||||
# *needs* to be here -- you have been warned).
|
||||
|
||||
sysconf_DATA =
|
||||
|
||||
# Steal a little trickery from a generated Makefile to only install
|
||||
# files if they do not already exist at the target.
|
||||
# files if they do not already exist at the target. Be sure to read
|
||||
# thread starting here
|
||||
# (http://www.open-mpi.org/community/lists/devel/2008/06/4080.php) for
|
||||
# details why the mkdir is in install-data-local.
|
||||
|
||||
install-data-local:
|
||||
$(mkdir_p) $(DESTDIR)$(sysconfdir)
|
||||
@ p="$(orte_config_files)"; \
|
||||
for file in $$p; do \
|
||||
if test -f $(DESTDIR)$(sysconfdir)/$$file; then \
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user