<commit_before>#!/bin/bash


if [ -z "$ROOT" ]; then
    echo "ROOT version not set.  Making guess"
    export ROOT=6.03.04
fi  

if [ "${TRAVIS_OS_NAME}" == "linux" ]
then
  conda remove system 
fi
 
time wget -nv --no-check-certificate http://root.cern.ch/download/root_v${ROOT}.source.tar.gz
tar xfz root_v${ROOT}.source.tar.gz
cd root*
python3.4-config --configdir --includes --cflags --ldflags --exec-prefix

if [ -e `python3.4-config --exec-prefix`/lib/libpython3.4m.so ]
then
 echo so
 ln -s `python3.4-config --exec-prefix`/lib/libpython3.4m.so `python3.4-config --exec-prefix`/lib/libpython3.4.so
fi

if [ -e `python3.4-config --exec-prefix`/lib/libpython3.4m.dylib ]
then
 echo dylib
 ln -s `python3.4-config --exec-prefix`/lib/libpython3.4m.dylib `python3.4-config --exec-prefix`/lib/libpython3.4.dylib
fi

./configure --minimal --enable-python --with-python-incdir=`python3.4-config --exec-prefix`/include/python3.4m --with-python-libdir=`python3.4-config --exec-prefix`/lib --prefix=`python3.4-config --exec-prefix` #--enable-builtin-zlib --enable-builtin-lzma --enable-builtin-pcre --disable-shared

cat config.log

echo making ROOT...

make install

echo source ROOT environment...

source `python3.4-config --exec-prefix`/bin/thisroot.sh

cd ..

if [ "${TRAVIS_OS_NAME}" == "linux" ]
then
  conda install system
fi<commit_msg>Update install-ROOT.sh<commit_after>#!/bin/bash


if [ -z "$ROOT" ]; then
    echo "ROOT version not set.  Making guess"
    export ROOT=6.03.04
fi  

if [ "${TRAVIS_OS_NAME}" == "linux" ]
then
  conda remove system 
fi
 
time wget -nv --no-check-certificate http://root.cern.ch/download/root_v${ROOT}.source.tar.gz
tar xfz root_v${ROOT}.source.tar.gz
cd root*
python3.4-config --configdir --includes --cflags --ldflags --exec-prefix

if [ -e `python3.4-config --exec-prefix`/lib/libpython3.4m.so ]
then
 echo so
 ln -s `python3.4-config --exec-prefix`/lib/libpython3.4m.so `python3.4-config --exec-prefix`/lib/libpython3.4.so
fi

if [ -e `python3.4-config --exec-prefix`/lib/libpython3.4m.dylib ]
then
 echo dylib
 ln -s `python3.4-config --exec-prefix`/lib/libpython3.4m.dylib `python3.4-config --exec-prefix`/lib/libpython3.4.dylib
fi

./configure --minimal --enable-python --with-python-incdir=`python3.4-config --exec-prefix`/include/python3.4m --with-python-libdir=`python3.4-config --exec-prefix`/lib --prefix=`python3.4-config --exec-prefix` #--enable-builtin-zlib --enable-builtin-lzma --enable-builtin-pcre --disable-shared

cat config.log

echo making ROOT...

make install

echo source ROOT environment...

source `python3.4-config --exec-prefix`/bin/thisroot.sh

export LD_LIBRARY_PATH=`python3.4-config --exec-prefix`/lib:`python3.4-config --exec-prefix`/lib/root
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
export PYTHONPATH=$LD_LIBRARY_PATH

cd ..

if [ "${TRAVIS_OS_NAME}" == "linux" ]
then
  conda install system
fi
{'fraction_non_alphanumeric': 0.17159763313609466, 'fraction_numerical': 0.029933867037939436, 'mean_word_length': 3.4215384615384616, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5770083', 'n_tokens_mistral': 1138, 'n_tokens_neox': 1111, 'n_words': 214}