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" ]]
{
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
default_win:
{
- depend : ["CAS", "pthreads"]
+ depend : ["CAS", "pthreads","hdf5","medfile"]
properties :
{
incremental : "yes"