From: Afeef Date: Tue, 14 Jun 2022 15:02:24 +0000 (+0200) Subject: add med file support X-Git-Tag: V9_11_0~292 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e76040e521f37f18ccd37c59e58b59f12a8741b;p=tools%2Fsat_salome.git add med file support --- diff --git a/products/compil_scripts/gmsh-4.10.3.sh b/products/compil_scripts/gmsh-4.10.3.sh index 0bed6cb..3e9e822 100755 --- a/products/compil_scripts/gmsh-4.10.3.sh +++ b/products/compil_scripts/gmsh-4.10.3.sh @@ -17,14 +17,14 @@ CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_BUILD_SHARED=ON" echo "*** GMSH version $VERSION >= 4." CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_ACIS=OFF" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_FLTK=OFF" -CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_MED=OFF" +CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_MED=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_ONELAB_METAMODEL=OFF" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_PARSER=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_PETSC=OFF" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_PRIVATE_API=ON" CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_CGNS=OFF" # default value is set to ON in release 4.1.4 CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_INSTALL_LIBDIR=${PRODUCT_INSTALL}/lib" # strangely on Ubuntu GMSH installs the .so in lib instead of lib/lib64 - so force to lib64 -CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_PREFIX_PATH=${LAPACK_ROOT_DIR}" # set path of third libraries to our associated internal products +CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_PREFIX_PATH=${LAPACK_ROOT_DIR};${HDF5_ROOT_DIR};${MEDFILE_ROOT_DIR};" # set path of third libraries to our associated internal products CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_OPENMP=ON" # get OpenMP based parallelism working CMAKE_OPTIONS="${CMAKE_OPTIONS} -DENABLE_PLUGINS=OFF" # needed for correct GmshFinalize() after version 4.3.0 if [[ $DIST_NAME == "FD" && $DIST_VERSION == "32" ]] diff --git a/products/gmsh.pyconf b/products/gmsh.pyconf index 94edc97..7ea4405 100644 --- a/products/gmsh.pyconf +++ b/products/gmsh.pyconf @@ -8,7 +8,7 @@ default : { env_script : $name + ".py" } - depend : ["CAS","lapack"] + depend : ["CAS","lapack","hdf5","medfile"] build_depend : ["cmake"] patches : [] source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name @@ -22,7 +22,7 @@ default : default_win: { - depend : ["CAS", "pthreads"] + depend : ["CAS", "pthreads","hdf5","medfile"] properties : { incremental : "yes"