[svn-r26857] Bugs:

The configure summary (libhdf5.settings) was missing from the configure output.

Solution:
Append the configure summary to the configure logfile if configure succeeds.

Tested:
hand ran cmakehdf5 in jam and inspected the logfile.
This commit is contained in:
Albert Cheng 2015-04-20 19:25:56 -05:00
parent 0b0d31e520
commit 34a1da1731

View File

@ -23,6 +23,7 @@ makelog="#${progname}_2build.log"
testlog="#${progname}_3test.log"
packlog="#${progname}_4pack.log"
installlog="#${progname}_5install.log"
config_summary=libhdf5.settings
exit_code=0
# This command should be in the source directory's bin/
@ -212,9 +213,9 @@ if [ $? != 0 ]; then
echo $vers failed. Aborted.
exit 1
fi
echo Running Cmake for HDF5-${version} ...
echo Running Cmake for HDF5-${version} ...
# 4. Configure the C library, tools and tests with this command:
# If successful, append the configure summary to the configure logfile.
STEP "Configure..." "cmake \
-C $cacheinit \
$build_cpp_lib \
@ -225,7 +226,8 @@ STEP "Configure..." "cmake \
$build_tools \
$with_zlib \
$with_szlib \
$srcdir" $configlog
$srcdir" $configlog &&\
cat $config_summary >> $configlog
# 5. Build the C library, tools and tests with this command:
STEP "Build the library, tools and tests, ..." "cmake --build . --config Release" $makelog