More escaping fixes in the build system. Anything in the Makefile needs to
have $ escaped to $$. Also, remove one more place for the shell to expand those $s in the format string. This commit was SVN r11809.
Этот коммит содержится в:
родитель
75db1a9ee2
Коммит
9111f74627
@ -956,10 +956,13 @@ AC_MSG_ERROR([Can not continue.])
|
||||
fi
|
||||
asm_format="${asm_format}-${OMPI_ASM_SUPPORT_64BIT}"
|
||||
ompi_cv_asm_format="${asm_format}-${ompi_cv_asm_gnu_stack}"
|
||||
OMPI_ASSEMBLY_FORMAT="$ompi_cv_asm_format"
|
||||
# For the Makefile, need to escape the $ as $$. Don't display
|
||||
# this version, but make sure the Makefile gives the right thing
|
||||
# when regenerating the files because the base has been touched.
|
||||
OMPI_ASSEMBLY_FORMAT=`echo "$ompi_cv_asm_format" | sed -e 's/\\\$/\\\$\\\$/'`
|
||||
|
||||
AC_MSG_CHECKING([for assembly format])
|
||||
AC_MSG_RESULT([$OMPI_ASSEMBLY_FORMAT])
|
||||
AC_MSG_RESULT([$ompi_cv_asm_format])
|
||||
AC_DEFINE_UNQUOTED([OMPI_ASSEMBLY_FORMAT], ["$OMPI_ASSEMBLY_FORMAT"],
|
||||
[Format of assembly file])
|
||||
AC_SUBST([OMPI_ASSEMBLY_FORMAT])
|
||||
|
@ -27,7 +27,7 @@
|
||||
#
|
||||
######################################################################
|
||||
generated/@OMPI_ASM_FILE@: base/@OMPI_ASSEMBLY_ARCH@.asm
|
||||
$(PERL) "$(top_srcdir)/opal/asm/generate-asm.pl" "@OMPI_ASSEMBLY_ARCH@" "@OMPI_ASSEMBLY_FORMAT@" "$(top_srcdir)/opal/asm/base" "$(top_builddir)/opal/asm/generated/@OMPI_ASM_FILE@"
|
||||
$(PERL) '$(top_srcdir)/opal/asm/generate-asm.pl' '@OMPI_ASSEMBLY_ARCH@' '@OMPI_ASSEMBLY_FORMAT@' '$(top_srcdir)/opal/asm/base' '$(top_builddir)/opal/asm/generated/@OMPI_ASM_FILE@'
|
||||
|
||||
atomic-asm.s: generated/@OMPI_ASM_FILE@
|
||||
rm -f atomic-asm.s
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user