<commit_before>USR_LOCAL="/usr/local"
USR="/usr"
TIFF_HOME=$USR_LOCAL
LASZIP_HOME=$USR_LOCAL
LIBXML2_HOME=$USR
GEOTIFF_HOME=$USR_LOCAL
P2G_HOME=$USR_LOCAL
HEXER_HOME="/Users/hobu/dev/git/hexer"
SQLITE_HOME="/usr/local/opt/sqlite"
SO_EXT=dylib
EMBED=ON
# CC=/usr/local/bin/gcc-4.8
# CXX=/usr/local/bin/g++-4.8

ORACLE_HOME=$HOME/oracle
export ORACLE_HOME
CONFIG="Unix Makefiles"
#CONFIG="Ninja"

if ! [ -z "$1" ]; then
    CONFIG="$1"
fi

CC=$CC CXX=$CXX cmake   -G "$CONFIG"  \
        -DCMAKE_BUILD_TYPE=Debug \
        -DCMAKE_INSTALL_PREFIX=/Users/hobu \
        -DWITH_ORACLE=ON \
        -DWITH_GEOTIFF=ON \
        -DWITH_SQLITE=ON \
        -DWITH_P2G=ON \
        -DWITH_HEXER=ON \
        -DWITH_NITRO=ON \
        -DWITH_MRSID=ON \
        -DWITH_PCL=ON \
        -DPCL_DIR=/Users/hobu/dev/git/pcl/installed/share/pcl-1.7/ \
        -DMRSID_INCLUDE_DIR=/Users/hobu/dev/release/mrsid/Lidar_DSDK/include \
        -DMRSID_LIBRARY=/Users/hobu/dev/release/mrsid/Lidar_DSDK/lib/liblti_lidar_dsdk.dylib \
        -DHEXER_INCLUDE_DIR=${HEXER_HOME}/include \
        -DHEXER_LIBRARY=${HEXER_HOME}/bin/libhexer.${SO_EXT} \
        -DGEOTIFF_INCLUDE_DIR=${GEOTIFF_HOME}/include/ \
        -DGEOTIFF_LIBRARY=${GEOTIFF_HOME}/lib/libgeotiff.${SO_EXT} \
        -DICONV_INCLUDE_DIR=/usr/include \
        -DP2G_INCLUDE_DIR=${P2G_HOME}/include \
        -DP2G_LIBRARY=${P2G_HOME}/lib/libpts2grd.${SO_EXT} \
        -DLASZIP_INCLUDE_DIR=${LASZIP_HOME}/include \
        -DLASZIP_LIBRARY=${LASZIP_HOME}/lib/liblaszip.${SO_EXT} \
        -DLIBXML2_INCLUDE_DIR=${LIBXML2_HOME}/include/libxml2 \
        -DLIBXML2_LIBRARIES=${LIBXML2_HOME}/lib/libxml2.${SO_EXT} \<commit_msg>add hdf5 to my config<commit_after>USR_LOCAL="/usr/local"
USR="/usr"
TIFF_HOME=$USR_LOCAL
LASZIP_HOME=$USR_LOCAL
LIBXML2_HOME=$USR
GEOTIFF_HOME=$USR_LOCAL
P2G_HOME=$USR_LOCAL
HEXER_HOME="/Users/hobu/dev/git/hexer"
SQLITE_HOME="/usr/local/opt/sqlite"
SO_EXT=dylib
EMBED=ON
# CC=/usr/local/bin/gcc-4.8
# CXX=/usr/local/bin/g++-4.8

ORACLE_HOME=$HOME/oracle
export ORACLE_HOME
CONFIG="Unix Makefiles"
#CONFIG="Ninja"

if ! [ -z "$1" ]; then
    CONFIG="$1"
fi

CC=$CC CXX=$CXX cmake   -G "$CONFIG"  \
        -DCMAKE_BUILD_TYPE=Debug \
        -DCMAKE_INSTALL_PREFIX=/Users/hobu \
        -DWITH_ORACLE=ON \
        -DWITH_GEOTIFF=ON \
        -DWITH_SQLITE=ON \
        -DWITH_P2G=ON \
        -DWITH_HEXER=ON \
        -DWITH_NITRO=ON \
        -DWITH_MRSID=ON \
        -DWITH_HDF5=ON \
        -DWITH_PCL=ON \
        -DPCL_DIR=/Users/hobu/dev/git/pcl/installed/share/pcl-1.7/ \
        -DMRSID_INCLUDE_DIR=/Users/hobu/dev/release/mrsid/Lidar_DSDK/include \
        -DMRSID_LIBRARY=/Users/hobu/dev/release/mrsid/Lidar_DSDK/lib/liblti_lidar_dsdk.dylib \
        -DHEXER_INCLUDE_DIR=${HEXER_HOME}/include \
        -DHEXER_LIBRARY=${HEXER_HOME}/bin/libhexer.${SO_EXT} \
        -DGEOTIFF_INCLUDE_DIR=${GEOTIFF_HOME}/include/ \
        -DGEOTIFF_LIBRARY=${GEOTIFF_HOME}/lib/libgeotiff.${SO_EXT} \
        -DICONV_INCLUDE_DIR=/usr/include \
        -DP2G_INCLUDE_DIR=${P2G_HOME}/include \
        -DP2G_LIBRARY=${P2G_HOME}/lib/libpts2grd.${SO_EXT} \
        -DLASZIP_INCLUDE_DIR=${LASZIP_HOME}/include \
        -DLASZIP_LIBRARY=${LASZIP_HOME}/lib/liblaszip.${SO_EXT} \
        -DLIBXML2_INCLUDE_DIR=${LIBXML2_HOME}/include/libxml2 \
        -DLIBXML2_LIBRARIES=${LIBXML2_HOME}/lib/libxml2.${SO_EXT} \
{'fraction_non_alphanumeric': 0.1543264942016057, 'fraction_numerical': 0.01367826345524829, 'mean_word_length': 2.9810650887573966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3490413', 'n_tokens_mistral': 1577, 'n_tokens_neox': 1483, 'n_words': 113}