#!/bin/bash

conda remove system
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
ln -s `python3.4-config --exec-prefix`/lib/libpython3.4m.so `python3.4-config --exec-prefix`/lib/libpython3.4.so
./configure --with-python-incdir=`python3.4-config --exec-prefix`/include/python3.4m --with-python-libdir=`python3.4-config --exec-prefix`/lib
cat config.log

echo making ROOT...

make

echo source ROOT environment...

source bin/thisroot.sh

cd ..

#!/bin/bash

conda remove system
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
ln -s `python3.4-config --exec-prefix`/lib/libpython3.4m.so `python3.4-config --exec-prefix`/lib/libpython3.4.so
./configure --with-python-incdir=`python3.4-config --exec-prefix`/include/python3.4m --with-python-libdir=`python3.4-config --exec-prefix`/lib
cat config.log

echo making ROOT...

make -j2

echo source ROOT environment...

source bin/thisroot.sh

cd ..

Add make -j2 to speed up build. Hopefully preventing 1,5h timeout
Add make -j2 to speed up build.
Hopefully preventing 1,5h timeout
