]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
add med file support
authorAfeef <afeef.badri@gmail.com>
Tue, 14 Jun 2022 15:02:24 +0000 (17:02 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 30 Sep 2022 06:53:30 +0000 (08:53 +0200)
products/compil_scripts/gmsh-4.10.3.sh
products/gmsh.pyconf

index 0bed6cb9d409002eac47430b06864a39bd393771..3e9e822f0c225c7e1aaa4aee5e4816e2321ead19 100755 (executable)
@@ -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" ]]
index 94edc9743b46aaab3ac204f35467c4dce3d72db4..7ea4405ae945886993eac6f7997a2e92d71537b3 100644 (file)
@@ -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"