• HDF Group's avatar
    hdf5-1.8.13-r25462-reduced · 8d8063fa
    HDF Group authored
    Use the following script to extract a reduced hdf5 from the svn repo.
    
    url=https://svn.hdfgroup.uiuc.edu/hdf5/branches/hdf5_1_8_13
    v=1.8.13
    r=25462
    paths="
              ACKNOWLEDGMENTS
              CTestConfig.cmake
              README.txt
              CMakeLists.txt
              COPYING
              src
              c++/CMakeLists.txt
              c++/COPYING
              c++/src
              hl/CMakeLists.txt
              hl/COPYING
              hl/src
              hl/c++/CMakeLists.txt
              hl/c++/COPYING
              hl/c++/src
              config/cmake
              config/lt_vers.am
              CMakeInstallation.cmake
              CMakeFilters.cmake
              CTestConfig.cmake
              UserMacros.cmake
            "
    date=$(svn log -q -c$r $url | sed -n "/^r/ {s/[^|]*|[^|]*|//;p;}")
    svn export -r$r $url hdf5-$v-r$r &&
    mkdir hdf5-$v-r$r-reduced &&
    (cd hdf5-$v-r$r && tar c $paths) | (cd hdf5-$v-r$r-reduced && tar x)
    echo "r$r date: $date"
    
    Change-Id: Ia392ab80127522d34a14568c4db5deebd2fe7331
    8d8063fa
CTestConfig.cmake 1.48 KB