3 # get the absolute path of the directory containing this script
4 execPath=$(readlink -f $(dirname $0))
6 # initialize environment
7 export NB_PROC=`grep -c ^processor /proc/cpuinfo`
10 > ${execPath}/environment.sh
13 ${execPath}/build_python.sh Python-2710 Python-2.7.10.tgz
14 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
15 ${execPath}/build_cmake.sh cmake-2811 cmake-2.8.11.tar.gz
16 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
17 ${execPath}/build_hdf5.sh hdf5-1814 hdf5-1.8.14.tar.gz
18 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
19 ${execPath}/build_swig.sh swig-208 swig-2.0.8.tar.gz
20 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
21 ${execPath}/build_qt.sh qt-484 qt-everywhere-opensource-src-4.8.4.tar.gz
22 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
24 # Paraview: Build with patches
25 #${execPath}/build_paraview.sh ParaView-v431 ParaView-v4.3.1-source.tar.gz
26 #status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
27 # Paraview: Build without patches
28 # SHA1=ec9642303012a3344f9be7a0acea45cc2b329720
29 ${execPath}/build_paraview.sh ParaView-v440 ParaView-v4.4.0-source.tar.gz no_patches
30 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
32 ${execPath}/build_medfichier.sh med-310 med-3.1.0.tar.gz
33 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
34 ${execPath}/build_medcoupling.sh MED-770-simp MED-770-simp.tgz
35 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
36 ${execPath}/build_medreader.sh PARAVIS-770-simp paraviskw
37 status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
39 echo "Build successful"