From: Nabil Ghodbane Date: Tue, 15 Jun 2021 07:38:36 +0000 (+0200) Subject: spns #18828: PMML X-Git-Tag: V9_8_0~150 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5d862aa889a39d0ee5dea6a7f0378918d6bc0aeb;p=tools%2Fsat_salome.git spns #18828: PMML --- diff --git a/products/YACS.pyconf b/products/YACS.pyconf index cc228aa..fdea20b 100644 --- a/products/YACS.pyconf +++ b/products/YACS.pyconf @@ -28,8 +28,9 @@ default : "Pygments", "six", "pytz", - "markupsafe" + "markupsafe" ] + opt_depend : ['pmml'] build_depend : ["cmake", "swig", "doxygen", "cppunit"] patches : [ diff --git a/products/env_scripts/pmml.py b/products/env_scripts/pmml.py new file mode 100644 index 0000000..a324ebf --- /dev/null +++ b/products/env_scripts/pmml.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python +#-*- coding:utf-8 -*- + +import os.path, platform + +def set_env(env, prereq_dir, version): + env.set("PMML_ROOT_DIR",prereq_dir) + env.set('PMML_INCLUDE_DIR',os.path.join(prereq_dir,'include')) + env.prepend('PATH', os.path.join(prereq_dir, 'bin')) + + +def set_nativ_env(env): + pass diff --git a/products/pmml.pyconf b/products/pmml.pyconf new file mode 100644 index 0000000..6acfbb1 --- /dev/null +++ b/products/pmml.pyconf @@ -0,0 +1,21 @@ +default : +{ + name : "pmml" + build_source : "cmake" + get_source : "git" + git_info : + { + repo : "https://codev-tuleap.cea.fr/plugins/git/salome/" $name + ".git" + repo_dev : $repo + } + environ : + { + env_script : $name + ".py" + } + build_depend : ["cmake", "Python", "libxml2"] + depend : [] + opt_depend : ["swig", "doxygen"] + source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name + build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name + install_dir : 'base' +}