meshio: '5.3.5'
metis : 'native'
mpi4py: 'native'
+ mmg : '5.6.0'
+ mmgplugin: 'main'
netgen : '5.3.1_with_CAS_7.8'
# comment out line above and uncomment the line below to use Netgen 6.
#netgen : '6.2.2101'
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "mmg " $VERSION
+echo "##########################################################################"
+
+echo "Installing binary version"
+if [ ! -d $PRODUCT_INSTALL ]; then
+ mkdir -p $PRODUCT_INSTALL
+fi
+ls $SOURCE_DIR -ltr
+mkdir -p $PRODUCT_INSTALL/bin
+cp -r $SOURCE_DIR/* $PRODUCT_INSTALL/bin
+
+for f in $(ls $PRODUCT_INSTALL/bin); do
+ chmod 755 $PRODUCT_INSTALL/bin/$f
+done
+
+echo
+echo "########## END"
+
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ env.set('MMG_ROOT_DIR', prereq_dir)
+
+ if platform.system() != "Windows" :
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+
+def set_env(env, prereq_dir, version):
+ env.set('MMGPLUGIN_ROOT_DIR', prereq_dir)
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'plugins'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+default :
+{
+ name : "mmg"
+ build_source : "script"
+ compil_script : "mmg" + $VARS.scriptExtension
+ get_source : "archive"
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ["Python", "gmsh"]
+ build_depend : ["cmake"]
+ patches : []
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : "base"
+ properties:
+ {
+ incremental : "yes"
+ }
+ post_script: "fix_permissions.sh"
+}
+
+default_win:
+{
+ depend : ["Python", "gmsh"]
+ properties :
+ {
+ incremental : "yes"
+ single_install_dir : "yes" # aimed to solve sat #18914
+ }
+}
+
+version_5_6_0 :
+{
+ compil_script : "mmg-5.6.0.sh"
+ archive_info : {archive_name : "mmg-5.6.0-Linux-4.4.0-170-generic-appli.tar.gz"}
+}
+
+
+version_5_6_0_win :
+{
+ compil_script : "mmg-5.6.0.bat"
+ archive_info : {archive_name : "mmg-5.6.0-Windows-10.0.19042-appli.tar.gz"}
+}
--- /dev/null
+default :
+{
+ name : "mmgplugin"
+ build_source : "cmake"
+ cmake_options : ""
+ get_source : "git"
+ git_info:
+ {
+ repositories :
+ {
+ github : $PROJECTS.projects.salome.git_info.git_server.github.url + "mmgplugin.git"
+ }
+ }
+ patches : []
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : []
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ["SMESH",
+ "mmg",
+ "PyQt",
+ "Python",
+ "numpy"
+ ]
+ build_depend : ["cmake", "cppunit"]
+ opt_depend : []
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties :
+ {
+ incremental : "yes"
+ single_install_dir : "no"
+ }
+}