From 67570ce476f334fdafc01a89796808264ab8e6c4 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 11 Jan 2016 11:16:38 -0500 Subject: [svn-r28853] HDFFV-9649: cmakehdf5 needs a proper implementation to verify the installation images created for Mac OSX. The current implementation for Mac OSX platform is a kludge that sometimes left behind mounted volumes. Temporary screen out the checking of installtion_check step (so that daily test may pass). Tested: by hand running cmakehdf5 in platypus and osx1010test. --- bin/cmakehdf5 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/bin/cmakehdf5 b/bin/cmakehdf5 index 6e22e17..7d9caa8 100755 --- a/bin/cmakehdf5 +++ b/bin/cmakehdf5 @@ -148,6 +148,10 @@ INSTALL_HDF5() $install_file --skip-license $* ;; Darwin) # Mac OSX DMG file + # These steps were a kludge. Need proper support from Cmake engineering. + echo Darwin install step needs proper implementation. Quit. + return 1 + # install_file=HDF5-${version}-Darwin.dmg test -d hdf5 || mkdir hdf5 basename=`basename $install_file .dmg` @@ -313,8 +317,8 @@ fi # setup output of all the log files if verbose is on upon exit trap \ -"if [ $vflag -ne 0 ]; then DUMP_LOGFILE \$configlog \$makelog \$testlog \$packlog \$installlog; fi" \ -0 + "if [ $vflag -ne 0 ]; then DUMP_LOGFILE \$configlog \$makelog \$testlog \$packlog \$installlog; fi" \ + 0 echo Running Cmake for HDF5-${version} ... # 4. Configure the C library, tools and tests with this command: @@ -343,8 +347,13 @@ STEP "Test the library and tools..." "ctest . -C Release $njobs" $testlog # 7. Create an install image with this command: STEP "Create an install image..." "cpack -C Release CPackConfig.cmake" $packlog +# The implementation of installation is imcomplete (only works for linux). +# Screen it out for now till it is completed. +if false; then # 8. Install with this command: STEP "Install..." "INSTALL_HDF5" $installlog +fi + # save the last exit code exit_code=$? -- cgit v0.12