Salome HOME
SMESH depends upon SHAPERSTUDY - otherwise SHAPERSTUDY_ROOT_DIR is not exposed
[tools/sat_salome.git] / products / openturns.pyconf
index 66746d822c3f2498c3c40923c41c4277e27df557..5721d7e94bb4a98a8b498204c08614b4ab8ad070 100644 (file)
@@ -1,14 +1,14 @@
 default :
 {
     name : "openturns"
-    build_source : "cmake"
-    cmake_options : " -DPYTHON_EXECUTABLE=${PYTHON_ROOT_DIR}/bin/python -DUSE_TBB=OFF"
+    build_source : "script"
+    compil_script :  $name + $VARS.scriptExtension
     get_source : "archive"
     environ :
     {
        env_script : $name + ".py"
     }
-    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt']
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen']
     build_depend : ["cmake", "swig"]
     patches : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
@@ -20,3 +20,25 @@ default :
       incremental : "yes"
     }
 }
+
+default_win :
+{
+    compil_script :  'pip_install' + $VARS.scriptExtension
+    properties :
+    {
+      single_install_dir : "yes"
+      incremental : "yes"
+      pip : "yes"
+    }
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'pthreads']
+}
+
+version_1_16 :
+{
+    patches : ['openturns-1.16.0001.patch']
+}
+
+version_1_16_win :
+{
+    patches : []
+}