Fix ASM generation with BSD "make". Many thanks to Paul Hargrove for
identifying the issue and supplying the patch. This commit was SVN r25911.
Этот коммит содержится в:
родитель
1cab7579d4
Коммит
e0bcfb5921
@ -9,7 +9,7 @@
|
|||||||
# University of Stuttgart. All rights reserved.
|
# University of Stuttgart. All rights reserved.
|
||||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
# Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -28,7 +28,11 @@
|
|||||||
#
|
#
|
||||||
######################################################################
|
######################################################################
|
||||||
generated/@OMPI_ASM_FILE@: base/@OPAL_ASSEMBLY_ARCH@.asm
|
generated/@OMPI_ASM_FILE@: base/@OPAL_ASSEMBLY_ARCH@.asm
|
||||||
$(PERL) '$(top_srcdir)/opal/asm/generate-asm.pl' '@OPAL_ASSEMBLY_ARCH@' '@OPAL_ASSEMBLY_FORMAT@' '$(top_srcdir)/opal/asm/base' '$(top_builddir)/opal/asm/generated/@OMPI_ASM_FILE@'
|
@ if test ! -f "$(top_srcdir)/opal/asm/$@" ; then \
|
||||||
|
cmd="$(PERL) '$(top_srcdir)/opal/asm/generate-asm.pl' '@OPAL_ASSEMBLY_ARCH@' '@OPAL_ASSEMBLY_FORMAT@' '$(top_srcdir)/opal/asm/base' '$(top_builddir)/opal/asm/generated/@OMPI_ASM_FILE@'" ; \
|
||||||
|
echo "$$cmd" ; \
|
||||||
|
eval $$cmd ; \
|
||||||
|
fi
|
||||||
|
|
||||||
atomic-asm.S: generated/@OMPI_ASM_FILE@
|
atomic-asm.S: generated/@OMPI_ASM_FILE@
|
||||||
rm -f atomic-asm.S
|
rm -f atomic-asm.S
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user