--- /dev/null
+rm -rf doc README idl resources
+rm -rf src/INTERP_KERNELTest src/MEDCalculator src/MEDCouplingCorba src/MEDCouplingCorba_Swig src/MEDGUI src/MEDOP src/MEDPartitioner src/MEDPartitioner_Swig src/ParaMEDCouplingCorba src/ParaMEDMEM src/ParaMEDMEMComponent src/ParaMEDMEM_Swig src/ParaMEDMEMTest src/RENUMBER src/RENUMBER_Swig src/MEDCoupling/Test src/MEDLoader/Test
--- /dev/null
+rm -rf bin resources test examples
+rm -rf src/PVGUI src/PV_SWIG
+in src/CMakeLists.txt -> supp. PV_GUI in ADD_DIR
+rm -rf src/Plugins/ArrayRenamer src/Plugins/DifferenceTimesteps src/Plugins/EllipseBuilder src/Plugins/JSONReader src/Plugins/ParaGEOMCorba src/Plugins/ParaMEDCorba src/Plugins/ParaSMESHCorba src/Plugins/TableReader src/Plugins/View
+in src/Plugins/CMakeLists.txt -> supp. EllipseBuilder, DifferenceTimesteps, ArrayRenamer, JSONReader
+
stockées ici, et il appartiendra de les télécharger par ailleurs. Voici ces
archives :
-cmake-2.8.10.2.tar.gz [5.6M]
-hdf5-1.8.10.tar.gz [7.9M]
-med-3.0.8.tar.gz [54M]
-ParaView-v4.3.1-source.tar.gz [49M]
-Python-2.7.3.tgz [14M]
+cmake-2.8.11.tar.gz [5.7M]
+hdf5-1.8.14.tar.gz [12M]
+med-3.1.0.tar.gz [55M]
+ParaView-v4.4.0-source.tar.gz [50M]
+Python-2.7.10.tgz [17M]
qt-everywhere-opensource-src-4.8.4.tar.gz [226M]
swig-2.0.8.tar.gz [5.1M]
une version identifiée. Ces archives n'ayant pas d'existence en dehors du
contexte présent, on les laisse dans ce dossier.
-MED-760-simp.tgz [1.6M]
-ParaView-v4.3.1-patches.tgz [12K]
-PARAVIS-760-simp.tgz [152K]
+MED-770-simp.tgz [1.6M]
+paraviskw.tgz [228]
--- /dev/null
+rm -rf doc README idl resources
+rm -rf src/INTERP_KERNELTest src/MEDCalculator src/MEDCouplingCorba src/MEDCouplingCorba_Swig src/MEDGUI src/MEDOP src/MEDPartitioner src/MEDPartitioner_Swig src/ParaMEDCouplingCorba src/ParaMEDMEM src/ParaMEDMEMComponent src/ParaMEDMEM_Swig src/ParaMEDMEMTest src/RENUMBER src/RENUMBER_Swig src/MEDCoupling/Test src/MEDLoader/Test
--- /dev/null
+0 - rm -rf bin resources test examples
+
+1 - rm -rf src/PVGUI src/PV_SWIG
+
+2 - in src/CMakeLists.txt -> supp. PV_GUI in ADD_DIR
+
+3 - in CMakeLists.txt : Gros nettoyage manuel -> voir diff avec CMakeLists.txt.orig
+
+4 - rm -rf src/Plugins/ArrayRenamer src/Plugins/DifferenceTimesteps src/Plugins/EllipseBuilder src/Plugins/JSONReader src/Plugins/ParaGEOMCorba src/Plugins/ParaMEDCorba src/Plugins/ParaSMESHCorba src/Plugins/TableReader src/Plugins/View
+in src/Plugins/CMakeLists.txt -> supp. EllipseBuilder, DifferenceTimesteps, ArrayRenamer, JSONReader
+
+5 - cp MED-770-simp/adm_local_without_kernel/cmake_files/FindSalomeHDF5.cmake PARAVIS-770-simp/adm_local/cmake_files
+ cp MED-770-simp/adm_local_without_kernel/cmake_files/SalomeMacros.cmake PARAVIS-770-simp/adm_local/cmake_files
+
+
+6 - cp GUI-770/adm_local/cmake_files/FindSalomeParaView.cmake PARAVIS-770-simp/adm_local/cmake_files
echo "#------- MEDCoupling ------" >> ${execPath}/environment.sh
echo "export MED_ROOT_DIR=${install_dir}" >> ${execPath}/environment.sh
echo "export LD_LIBRARY_PATH=\${MED_ROOT_DIR}/lib/salome:\${LD_LIBRARY_PATH}" >> ${execPath}/environment.sh
-echo "export PYTHONPATH=\${MED_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH}"
+echo "export PYTHONPATH=\${MED_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH}" >> ${execPath}/environment.sh
#!/bin/bash
software_and_version=$1
-archive_file=$2
+repo_file=$2
# get the absolute path of the directory containing this script
execPath=$(readlink -f $(dirname $0))
-
-archive=${execPath}/../archives/${archive_file}
+repository=${execPath}/../archives/${repo_file}
src_dir=${execPath}/../src/${software_and_version}
build_dir=${execPath}/../build/${software_and_version}
install_dir=${execPath}/../install/${software_and_version}
(
if [ ! -d "${src_dir}" ]
then
- ${execPath}/extract.sh ${archive} ${src_dir}
+ ( cd ${execPath}/../src && git clone ${repository} ${software_and_version} )
fi
)
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
then
${execPath}/extract.sh ${archive} ${src_dir}
fi
- patches_archives=${execPath}/../archives/ParaView-v4.3.1-patches.tgz
- cd ${execPath}/../archives
- tar xfz ${patches_archives}
+ if [ "xx${no_patches}xx" != "xxno_patchesxx" ]
+ then
+ patches_archives=${execPath}/../archives/ParaView-v4.3.1-patches.tgz
+ cd ${execPath}/../archives
+ tar xfz ${patches_archives}
+ fi
) | tee ${build_dir}/pre_configure.log 2>&1
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
export PYTHON_INSTALL_DIR=${PYTHONHOME}
export HDF5_INSTALL_DIR=${HDF5HOME}
unset PYTHONHOME
- cmake -DCMAKE_INSTALL_PREFIX=${install_dir} -DPYTHON_ROOT_DIR="${PYTHON_INSTALL_DIR}" -DHDF5_ROOT_DIR="${HDF5_INSTALL_DIR}" -DPYTHON_EXECUTABLE=${PYTHON_INSTALL_DIR}/bin/python${PYTHON_VERSION} -DPYTHON_INCLUDE_DIR=${PYTHON_INSTALL_DIR}/include/python${PYTHON_VERSION} -DPYTHON_LIBRARY=${PYTHON_INSTALL_DIR}/lib/libpython${PYTHON_VERSION}.so -DHDF5_LIBRARIES=${HDF5_INSTALL_DIR}/lib -DHDF5_INCLUDE_DIRS=${HDF5_INSTALL_DIR}/include -DHDF5_CXX_COMPILER_EXECUTABLE=${HDF5_INSTALL_DIR}/bin/h5pcc -DHDF5_HL_INCLUDE_DIR=${HDF5_INSTALL_DIR}/include -DHDF5_hdf5_hl_LIBRARY=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DHDF5_hdf5_hl_LIBRARY_RELEASE=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DHDF5_hdf5_hl_LIBRARY_DEBUG=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DHDF5_HL_LIBRARY=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DVTK_USE_64BIT_IDS:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=ON -DVTK_QT_USE_WEBKIT:BOOL=ON -DQT_TESTING_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DVTK_USE_SYSTEM_HDF5:BOOL=ON -DVTK_USE_GL2PS:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=OFF -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DVTK_NO_PYTHON_THREADS=OFF -DPARAVIEW_ENABLE_CATALYST:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_CatalystScriptGeneratorPlugin:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_MobileRemoteControl:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_QuadView:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_PrismPlugin:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL= OFF -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL= ON -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL= ON -DPARAVIEW_ENABLE_MATPLOTLIB:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_ForceTime:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=ON -DCMAKE_BUILD_QT_GUI:BOOL=ON -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON -DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=OFF -DBUILD_DOCUMENTATION:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION:BOOL=ON ${src_dir}
+ cmake -DCMAKE_INSTALL_PREFIX=${install_dir} -DPYTHON_ROOT_DIR="${PYTHON_INSTALL_DIR}" -DHDF5_ROOT_DIR="${HDF5_INSTALL_DIR}" -DPYTHON_EXECUTABLE=${PYTHON_INSTALL_DIR}/bin/python${PYTHON_VERSION} -DPYTHON_INCLUDE_DIR=${PYTHON_INSTALL_DIR}/include/python${PYTHON_VERSION} -DPYTHON_LIBRARY=${PYTHON_INSTALL_DIR}/lib/libpython${PYTHON_VERSION}.so -DHDF5_LIBRARIES=${HDF5_INSTALL_DIR}/lib -DHDF5_INCLUDE_DIRS=${HDF5_INSTALL_DIR}/include -DHDF5_CXX_COMPILER_EXECUTABLE=${HDF5_INSTALL_DIR}/bin/h5pcc -DHDF5_HL_INCLUDE_DIR=${HDF5_INSTALL_DIR}/include -DHDF5_hdf5_hl_LIBRARY=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DHDF5_hdf5_hl_LIBRARY_RELEASE=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DHDF5_hdf5_hl_LIBRARY_DEBUG=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DHDF5_HL_LIBRARY=${HDF5_INSTALL_DIR}/lib/libhdf5_hl.so -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Release -DPARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DVTK_USE_64BIT_IDS:BOOL=OFF -DPARAVIEW_BUILD_QT_GUI:BOOL=ON -DVTK_QT_USE_WEBKIT:BOOL=ON -DQT_TESTING_INSTALL_DEVELOPMENT:BOOL=ON -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DVTK_USE_SYSTEM_HDF5:BOOL=ON -DVTK_USE_GL2PS:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=OFF -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DVTK_NO_PYTHON_THREADS=OFF -DPARAVIEW_ENABLE_CATALYST:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_ArrowGlyph:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_CatalystScriptGeneratorPlugin:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_GMVReader:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_MobileRemoteControl:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_QuadView:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_PrismPlugin:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_RGBZView:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_SciberQuestToolKit:BOOL=OFF -DPARAVIEW_BUILD_PLUGIN_StreamingParticles:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_UncertaintyRendering:BOOL=ON -DPARAVIEW_ENABLE_MATPLOTLIB:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_ForceTime:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=ON -DCMAKE_BUILD_QT_GUI:BOOL=ON -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON -DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=OFF -DBUILD_DOCUMENTATION:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION:BOOL=ON ${src_dir}
) | tee ${build_dir}/configure.log 2>&1
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
# post-install
-(
- cp ${src_dir}/VTK/CMake/TopologicalSort.cmake ${install_dir}/lib/cmake/paraview-4.3
- cp ${src_dir}/ParaViewCore/ServerImplementation/Core/vtkSIVectorPropertyTemplate.h ${install_dir}/include/paraview-4.3
-) | tee ${build_dir}/post_install.log 2>&1
-status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
# update environment
-if [ "xx${no_patches}xx" != "xxno_patchesxx" ] # assume environment is only defined when compiling with patches
+if [ "xx${no_patches}xx" == "xxno_patchesxx" ] # assume environment is only defined when compiling with patches
# Introduce PARAVIEW_WITH_PATCHES to switch on/off patches at runtime
then
echo "" >> ${execPath}/environment.sh
echo "#------ ParaView ------" >> ${execPath}/environment.sh
- echo "export PVHOME=${install_dir}\${PARAVIEW_WITH_PATCHES}" >> ${execPath}/environment.sh
+ echo "export PVHOME=${install_dir}" >> ${execPath}/environment.sh
echo "export PATH=\${PVHOME}/bin:\$PATH" >> ${execPath}/environment.sh
- echo "export PVVERSION=4.3" >> ${execPath}/environment.sh
+ echo "export PVVERSION=4.4" >> ${execPath}/environment.sh
echo "export PV_PLUGIN_PATH=\$(readlink -f \${PVHOME}/lib/paraview-\${PVVERSION}:\${PV_PLUGIN_PATH})" >> ${execPath}/environment.sh
echo "export LD_LIBRARY_PATH=\${PVHOME}/lib/paraview-\${PVVERSION}:\$LD_LIBRARY_PATH" >> ${execPath}/environment.sh
echo "PYTHONPATH=\${PVHOME}/lib/paraview-\${PVVERSION}:\${PYTHONPATH}" >> ${execPath}/environment.sh
> ${execPath}/environment.sh
# build sofwares
-${execPath}/build_python.sh Python-273 Python-2.7.3.tgz
+${execPath}/build_python.sh Python-2710 Python-2.7.10.tgz
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
-${execPath}/build_cmake.sh cmake-28102 cmake-2.8.10.2.tar.gz
+${execPath}/build_cmake.sh cmake-2811 cmake-2.8.11.tar.gz
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
-${execPath}/build_hdf5.sh hdf5-1810 hdf5-1.8.10.tar.gz
+${execPath}/build_hdf5.sh hdf5-1814 hdf5-1.8.14.tar.gz
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
${execPath}/build_swig.sh swig-208 swig-2.0.8.tar.gz
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
# Paraview: Build with patches
-${execPath}/build_paraview.sh ParaView-v431 ParaView-v4.3.1-source.tar.gz
-status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
+#${execPath}/build_paraview.sh ParaView-v431 ParaView-v4.3.1-source.tar.gz
+#status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
# Paraview: Build without patches
-${execPath}/build_paraview.sh ParaView-v431 ParaView-v4.3.1-source.tar.gz no_patches
+# SHA1=ec9642303012a3344f9be7a0acea45cc2b329720
+${execPath}/build_paraview.sh ParaView-v440 ParaView-v4.4.0-source.tar.gz no_patches
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
-${execPath}/build_medfichier.sh med-308 med-3.0.8.tar.gz
+${execPath}/build_medfichier.sh med-310 med-3.1.0.tar.gz
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
-${execPath}/build_medcoupling.sh MED-760-simp MED-760-simp.tgz
+${execPath}/build_medcoupling.sh MED-770-simp MED-770-simp.tgz
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
-${execPath}/build_medreader.sh PARAVIS-760-simp PARAVIS-760-simp.tgz
+${execPath}/build_medreader.sh PARAVIS-770-simp paraviskw
status=$?; if [ ${status} -ne 0 ]; then exit ${status}; fi
echo "Build successful"