]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
update
authorBernard Sécherà <bernard.secher@cea.fr>
Fri, 2 Oct 2020 13:36:18 +0000 (15:36 +0200)
committercrouzet <nicolas.crouzet@cea.fr>
Wed, 7 Oct 2020 13:00:21 +0000 (15:00 +0200)
products/compil_scripts/SOLVERLAB.sh
products/env_scripts/SOLVERLAB.py

index 2d4d9805e5aec6247ec56f74af83d32fee6555a3..cd71b33f677537b52be83f29bb3fbaf49307dcbc 100755 (executable)
@@ -5,6 +5,8 @@ echo "SOLVERLAB" $VERSION
 echo "##########################################################################"
 
 
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_ROOT_DIR=${PYTHON_ROOT_DIR}"
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DMATPLOTLIB_ROOT_DIR=${MATPLOTLIB_ROOT_DIR}"
 CMAKE_OPTIONS=$CMAKE_OPTIONS" -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig"
 CMAKE_OPTIONS=$CMAKE_OPTIONS" -DDOXYGEN_EXECUTABLE=${DOXYGEN_ROOT_DIR}/bin/doxygen"
 CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCPPUNIT_ROOT_USER=${CPPUNIT_ROOT_DIR}"
index caf817a396d158bfb88c07cfb49baa2d1d47414a..54d2840f4575bcc8808849b3b78520c2b0e361ea 100644 (file)
@@ -15,8 +15,8 @@ def set_env(env, product_dir, version):
     env.set('CoreFlows_PYTHON', 'ON')
     env.set('CoreFlows_DOC', 'ON')
     env.set('CoreFlows_GUI', 'ON')
-    env.set('CoreFlows', os.path.join(install_rep,'bin','Executable','CoreFlowsMainExe'))
-    env.set('CoreFlowsGUI', os.path.join(install_rep,'bin','salome','CoreFlows_Standalone.py'))
+    env.set('CoreFlows', os.path.join(install_rep,'bin','CoreFlowsMainExe'))
+    env.set('CoreFlowsGUI', os.path.join(install_rep,'bin','CoreFlows_Standalone.py'))
     env.set('COREFLOWS_ROOT_DIR', root_module_rep)
 
     root = env.get('CoreFlows_ROOT_DIR')
@@ -24,9 +24,11 @@ def set_env(env, product_dir, version):
     env.prepend('PATH', os.path.join(root, 'include'))
     env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
     env.prepend('PYTHONPATH', os.path.join(root, 'lib'))
-    env.prepend('PYTHONPATH', os.path.join(root, 'lib', 'CoreFlows_Python'))
-    env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'CoreFlows_Python'))
-    env.prepend('PYTHONPATH', os.path.join(root, 'lib','python2.7','site-packages','salome'))
+    env.prepend('PYTHONPATH', os.path.join(root, 'lib', 'coreflows'))
+    env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'coreflows'))
+    env.prepend('PYTHONPATH', os.path.join(root, 'lib', 'cdmath'))
+    env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'cdmath'))
+    env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'cdmath','postprocessing'))
  
 def set_nativ_env(env):
     pass